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