diff options
-rw-r--r-- | python/rst-linker/rst-linker.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/python/rst-linker/rst-linker.SlackBuild b/python/rst-linker/rst-linker.SlackBuild index d8f904d9cb823..d19dd42063efb 100644 --- a/python/rst-linker/rst-linker.SlackBuild +++ b/python/rst-linker/rst-linker.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=rst-linker SRCPKG=${SRCPKG-rst.linker} VERSION=${VERSION:-2.0.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM="$(printf $SRCPKG | cut -d- -f2-)" @@ -59,11 +59,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG - -# Replacement of python-2.x Python3.x check presence and build if found. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION |