forked from pool/python-pytz
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
This commit is contained in:
parent
e2bb570701
commit
ca3906af54
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user