summaryrefslogtreecommitdiff
path: root/academic/pyfits/pyfits.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/pyfits/pyfits.SlackBuild')
-rw-r--r--academic/pyfits/pyfits.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/academic/pyfits/pyfits.SlackBuild b/academic/pyfits/pyfits.SlackBuild
index 1efb400684..6439f28cf4 100644
--- a/academic/pyfits/pyfits.SlackBuild
+++ b/academic/pyfits/pyfits.SlackBuild
@@ -6,7 +6,7 @@
# based on the NumPy SlackBuild by Aleksandar Samardzic.
PRGNAM=pyfits
-VERSION=${VERSION:-3.0.3}
+VERSION=${VERSION:-3.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -32,11 +32,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