Accepting request 681716 from home:frispete:python

- Allow build with older distributions
  (%autopatch macro needs an appended empty line)
- Refresh patch persistent-4.2.4.2-switch-off-tests.patch

OBS-URL: https://build.opensuse.org/request/show/681716
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=18
This commit is contained in:
Tomáš Chvátal 2019-03-05 12:45:30 +00:00 committed by Git OBS Bridge
parent 686c98b2fa
commit 45a8170c2b
3 changed files with 12 additions and 3 deletions

View File

@ -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))

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 5 12:14:02 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
- 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 <tchvatal@suse.com>

View File

@ -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