aboutsummaryrefslogtreecommitdiff
path: root/python/paramiko/paramiko.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/paramiko/paramiko.SlackBuild')
-rw-r--r--python/paramiko/paramiko.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/paramiko/paramiko.SlackBuild b/python/paramiko/paramiko.SlackBuild
index e09ecf84d8a41..c7054beaf1692 100644
--- a/python/paramiko/paramiko.SlackBuild
+++ b/python/paramiko/paramiko.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=paramiko
-VERSION=1.7.7.1
+VERSION=${VERSION:-1.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,11 +49,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG