diff --git a/persistent-4.2.4.2-switch-off-tests.patch b/persistent-4.2.4.2-switch-off-tests.patch index 873f925..00d39d0 100644 --- a/persistent-4.2.4.2-switch-off-tests.patch +++ b/persistent-4.2.4.2-switch-off-tests.patch @@ -1,6 +1,8 @@ +Index: b/persistent/tests/test_timestamp.py +=================================================================== --- a/persistent/tests/test_timestamp.py +++ b/persistent/tests/test_timestamp.py -@@ -247,6 +247,7 @@ class PyAndCComparisonTests(unittest.Tes +@@ -246,6 +246,7 @@ class PyAndCComparisonTests(unittest.Tes c, py = self._make_C_and_Py(*args) self.assertEqual(repr(c), repr(py)) diff --git a/python-persistent.changes b/python-persistent.changes index 94a18af..9be857b 100644 --- a/python-persistent.changes +++ b/python-persistent.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 5 12:14:02 UTC 2019 - Hans-Peter Jansen + +- Allow build with older distributions + (%autopatch macro needs an appended empty line) +- Refresh patch persistent-4.2.4.2-switch-off-tests.patch + ------------------------------------------------------------------- Mon Mar 4 14:18:11 UTC 2019 - Tomáš Chvátal diff --git a/python-persistent.spec b/python-persistent.spec index 364fa63..9e4eaf3 100644 --- a/python-persistent.spec +++ b/python-persistent.spec @@ -2,7 +2,7 @@ # spec file for package python-persistent # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. -# Copyright (c) 2013 LISA GmbH, Bingen, Germany. +# Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -56,8 +56,8 @@ This package contains the files needed for binding the %{name} C module. %prep %setup -q -n persistent-%{version} -%autopatch -p1 rm -rf persistent.egg-info +%autopatch -p1 %build %python_build