summaryrefslogtreecommitdiffstats
path: root/debian/patches/python_single_version_externally_managed.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:09:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:09:31 +0000
commit945553e635f10784600cd8b7ef343c22d35d9890 (patch)
treee589c41711c97f9db81d4e1b437d2287f4fe0cf0 /debian/patches/python_single_version_externally_managed.patch
parentAdding upstream version 2.5.5. (diff)
downloadlibseccomp-debian.tar.xz
libseccomp-debian.zip
Adding debian version 2.5.5-1.debian/2.5.5-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/python_single_version_externally_managed.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/python_single_version_externally_managed.patch b/debian/patches/python_single_version_externally_managed.patch
new file mode 100644
index 0000000..5e8be5b
--- /dev/null
+++ b/debian/patches/python_single_version_externally_managed.patch
@@ -0,0 +1,14 @@
+Fix building with setuptools instead of distutils.
+
+--- libseccomp-2.5.4.orig/src/python/Makefile.am
++++ libseccomp-2.5.4/src/python/Makefile.am
+@@ -40,7 +40,8 @@ build: ../libseccomp.la libseccomp.pxd s
+
+ install-exec-local: build
+ ${PY_INSTALL} --install-lib=${DESTDIR}/${pyexecdir} \
+- --record=${DESTDIR}/${pyexecdir}/install_files.txt
++ --record=${DESTDIR}/${pyexecdir}/install_files.txt \
++ --single-version-externally-managed
+
+ uninstall-local:
+ cat ${DESTDIR}/${pyexecdir}/install_files.txt | xargs ${RM} -f