diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-flit_core/python3-flit_core.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python3-flit_core/python3-flit_core.SlackBuild b/python/python3-flit_core/python3-flit_core.SlackBuild index d1bb01f2ba..1d016f391e 100644 --- a/python/python3-flit_core/python3-flit_core.SlackBuild +++ b/python/python3-flit_core/python3-flit_core.SlackBuild @@ -84,7 +84,7 @@ python3 bootstrap_install.py --install-root "$PKG" dist/*.whl # installing tests to a subdir of your project might not conflict the toplevel, but # don't do it anyway... -rm -r "$PKG"/usr/lib${LIBDIRSUFFIX}/python*/site-packages/${SRCNAM}/tests/ +rm -r "$PKG"/usr/lib*/python*/site-packages/${SRCNAM}/tests/ 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 |