summaryrefslogtreecommitdiff
path: root/source/ap/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/rpm')
-rwxr-xr-xsource/ap/rpm/rpm.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/ap/rpm/rpm.SlackBuild b/source/ap/rpm/rpm.SlackBuild
index 50073f4a..9713ff4d 100755
--- a/source/ap/rpm/rpm.SlackBuild
+++ b/source/ap/rpm/rpm.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rpm
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -120,7 +120,8 @@ make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
cd python
- python setup.py install --root=$PKG || exit 1
+ # python2 dropped dropped as obsolete.
+ #python setup.py install --root=$PKG || exit 1
python3 setup.py install --root=$PKG || exit 1
cd -