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:
commit
bd833bc1ea
@ -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
|
Wed Jan 7 09:06:56 UTC 2015 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -70,8 +70,10 @@ python setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
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
|
rm -fr %{buildroot}%{python_sitelib}/pytz/zoneinfo
|
||||||
|
%endif
|
||||||
%fdupes %{buildroot}%{python_sitelib}
|
%fdupes %{buildroot}%{python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user