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