Accepting request 281079 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/281079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytz?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2015-01-20 18:11:13 +00:00 committed by Git OBS Bridge
commit bd833bc1ea
2 changed files with 9 additions and 1 deletions

View File

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

View File

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