--- /dev/null
+--- 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',
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
%prep
%setup -q -n %{module}-%{version}
+%patch0 -p1
%build
%if %{with python2}