From: Kees Cook Date: Sun, 24 Nov 2024 20:54:16 +0000 (+0100) Subject: python_single_version_externally_managed X-Git-Tag: archive/raspbian/2.5.5-2+rpi1^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bd38d81c3896f466aa33a4e0be511294d20125b4;p=libseccomp.git python_single_version_externally_managed Fix building with setuptools instead of distutils. Gbp-Pq: Name python_single_version_externally_managed.patch --- 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