aboutsummaryrefslogtreecommitdiff
path: root/libraries/ZODB3/ZODB3.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:14:52 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:53 +0700
commit892f42fad8ac4b4d9ca41d8b8eb7ecd36e82a396 (patch)
treece7b07073b8d7948eff72639f6022c6114ef0d11 /libraries/ZODB3/ZODB3.SlackBuild
parent615470349f80ff7ccb27fd246c3aaa9d0020cfb6 (diff)
libraries/ZODB3: Fix REQUIRES for python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ZODB3/ZODB3.SlackBuild')
-rw-r--r--libraries/ZODB3/ZODB3.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/ZODB3/ZODB3.SlackBuild b/libraries/ZODB3/ZODB3.SlackBuild
index db519eb1716fa..5e9fcd727ef8e 100644
--- a/libraries/ZODB3/ZODB3.SlackBuild
+++ b/libraries/ZODB3/ZODB3.SlackBuild
@@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -55,7 +55,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true