[packages/python3-propcache] Rel 4; keep cythonized .c files for debuginfo

arekm arekm at pld-linux.org
Wed Feb 19 17:47:25 CET 2025


commit 443a123461d0c57d4a9d5071ac76a7239e3fdabd
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Feb 19 17:18:57 2025 +0100

    Rel 4; keep cythonized .c files for debuginfo

 python3-propcache.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python3-propcache.spec b/python3-propcache.spec
index fc693c0..d515f10 100644
--- a/python3-propcache.spec
+++ b/python3-propcache.spec
@@ -6,7 +6,7 @@
 Summary:	Accelerated property cache
 Name:		python3-%{module}
 Version:	0.2.1
-Release:	3
+Release:	4
 License:	Apache
 Group:		Libraries/Python
 Source0:	https://pypi.debian.net/%{module}/%{module}-%{version}.tar.gz
@@ -51,6 +51,9 @@ Dokumentacja API modułu Pythona %{module}.
 %prep
 %setup -q -n %{module}-%{version}
 
+# keep *.c files so debuginfo will pick it up
+sed -i -e 's#build_inplace: bool = False,#build_inplace: bool = True,#g' -e 's#build_inplace=False#build_inplace=True#g' packaging/pep517_backend/_backend.py
+
 %build
 %py3_build_pyproject
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-propcache.git/commitdiff/443a123461d0c57d4a9d5071ac76a7239e3fdabd



More information about the pld-cvs-commit mailing list