python_single_version_externally_managed
authorKees Cook <kees@debian.org>
Sun, 29 Oct 2023 14:13:08 +0000 (15:13 +0100)
committerFelix Geyer <fgeyer@debian.org>
Sun, 29 Oct 2023 14:13:08 +0000 (15:13 +0100)
Fix building with setuptools instead of distutils.

Gbp-Pq: Name python_single_version_externally_managed.patch

src/python/Makefile.am

index f71ec24f801e6d0fbd63be446d5c6cd586551bac..665b31a02bc308881412c6c768887253e4c07054 100644 (file)
@@ -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