aboutsummaryrefslogtreecommitdiff
path: root/python/python3-twisted/python3-twisted.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-twisted/python3-twisted.SlackBuild')
-rw-r--r--python/python3-twisted/python3-twisted.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python3-twisted/python3-twisted.SlackBuild b/python/python3-twisted/python3-twisted.SlackBuild
index a0b612d47c..ae16aff15b 100644
--- a/python/python3-twisted/python3-twisted.SlackBuild
+++ b/python/python3-twisted/python3-twisted.SlackBuild
@@ -90,7 +90,7 @@ python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
# Fix initialization bug with zope.interface 6+
-sed -i 's#zope-interface#zope.interface#' "$PKG/usr/lib${LIBDIRSUFFIX}/python3.9/site-packages/twisted-${VERSION}.dist-info/METADATA"
+sed -i 's#zope-interface#zope.interface#' $PKG/usr/lib*/python*/site-packages/twisted-${VERSION}.dist-info/METADATA
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