From 5c4968de604d2637c085b991a5e1591d0034c61a Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Thu, 4 Jan 2024 18:29:54 +0100 Subject: [PATCH] python_single_version_externally_managed Fix building with setuptools instead of distutils. Gbp-Pq: Name python_single_version_externally_managed.patch --- src/python/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/python/Makefile.am b/src/python/Makefile.am index 5166412..f2cff4e 100644 --- a/src/python/Makefile.am +++ b/src/python/Makefile.am @@ -41,7 +41,8 @@ build: ../libseccomp.la libseccomp.pxd seccomp.pyx setup.py 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 -- 2.30.2