[packages/python-persistent] - install missing header, rel 3

baggins baggins at pld-linux.org
Sat Feb 26 10:12:56 CET 2022


commit 588d6e5bd4df65abc458417c5f191eb356b3f2fd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Feb 26 10:12:31 2022 +0100

    - install missing header, rel 3

 missing-header.patch   | 10 ++++++++++
 python-persistent.spec |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/python-persistent.spec b/python-persistent.spec
index 46c21b0..d922b17 100644
--- a/python-persistent.spec
+++ b/python-persistent.spec
@@ -10,12 +10,13 @@ Summary:	Automatic persistence for Python objects
 Summary(pl.UTF-8):	Automatyczne trwałe obiekty w Pythonie
 Name:		python-%{module}
 Version:	4.7.0
-Release:	2
+Release:	3
 License:	ZPL v2.1
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/persistent/
 Source0:	https://files.pythonhosted.org/packages/source/p/persistent/%{module}-%{version}.tar.gz
 # Source0-md5:	dedb296b74082edf246fe48333065f46
+Patch0:		missing-header.patch
 URL:		https://www.zope.dev/
 %if %{with python2}
 BuildRequires:	python-cffi
@@ -85,6 +86,7 @@ Dokumentacja API modułu Pythona persistent.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
diff --git a/missing-header.patch b/missing-header.patch
new file mode 100644
index 0000000..886eaf5
--- /dev/null
+++ b/missing-header.patch
@@ -0,0 +1,10 @@
+--- persistent-4.7.0/setup.py~	2021-04-13 12:55:40.000000000 +0200
++++ persistent-4.7.0/setup.py	2022-02-26 10:10:22.686802135 +0100
+@@ -83,6 +83,7 @@
+     headers = [
+         'persistent/cPersistence.h',
+         'persistent/ring.h',
++        'persistent/_compat.h',
+     ]
+ 
+ setup(name='persistent',
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-persistent.git/commitdiff/588d6e5bd4df65abc458417c5f191eb356b3f2fd



More information about the pld-cvs-commit mailing list