From ca3906af5443a4e31f676ddb2f3b4a4a3fb58d43bf3c667eb495fcbed59fa74a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 13 Jan 2015 13:04:16 +0000 Subject: [PATCH 1/2] Accepting request 281020 from home:bergmannf:branches:devel:languages:python Prevent removing the pytz-zoneinfo on systems, where we do not use the system's timezone db. OBS-URL: https://build.opensuse.org/request/show/281020 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz?expand=0&rev=32 --- python-pytz.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-pytz.spec b/python-pytz.spec index 1551e48..4ae3089 100644 --- a/python-pytz.spec +++ b/python-pytz.spec @@ -70,8 +70,10 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -# Remove the pytz zoneinfo +# Remove the pytz zoneinfo only if we use the system tz database +%if 0%{?suse_version} >= 1310 rm -fr %{buildroot}%{python_sitelib}/pytz/zoneinfo +%endif %fdupes %{buildroot}%{python_sitelib} %check From a14a559bd9b39aaf590ad0234066b5ab855c091aab01c81a467e6b215af5e526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 14 Jan 2015 07:56:12 +0000 Subject: [PATCH 2/2] Accepting request 281078 from home:Nijel:branches:devel:languages:python - Do not remove internal timezone database on older distributions where it is still required OBS-URL: https://build.opensuse.org/request/show/281078 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz?expand=0&rev=33 --- python-pytz.changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python-pytz.changes b/python-pytz.changes index 40f67e9..973a403 100644 --- a/python-pytz.changes +++ b/python-pytz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 14 07:55:05 UTC 2015 - mcihar@suse.cz + +- Do not remove internal timezone database on older distributions where + it is still required + ------------------------------------------------------------------- Wed Jan 7 09:06:56 UTC 2015 - dmueller@suse.com