Package: deltarpm / 3.6.5+dfsg-1

debian-path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Use the Debian install path for the Python module
Forwarded: not-needed
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2024-09-01

--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,7 @@
 	install -m 644 drpmsync.8 $(DESTDIR)$(mandir)/man8
 	for PY in $(PYTHONS) ; do \
 		if [ -x /usr/bin/$$PY ]; then \
-                        PYLIB=`$$PY -c 'import sysconfig ; print(sysconfig.get_path("platlib"))'` ; \
+                        PYLIB=`$$PY -c 'import sysconfig ; print(sysconfig.get_path("platlib", scheme="deb_system"))'` ; \
 			PYVER=`$$PY -c 'import sysconfig ; print(sysconfig.get_python_version())'` ; \
 			if [ -e python$$PYVER/_deltarpmmodule.so ]; then \
 				mkdir -p $(DESTDIR)$(pylibprefix)$$PYLIB ; \