Fix ambiguous shebangs

This commit is contained in:
Miro Hrončok 2018-05-23 15:19:30 +02:00
parent c4971c79f6
commit 2689a3115b

View File

@ -6,7 +6,7 @@
Name: pytz
Version: 2017.2
Release: 7%{?dist}
Release: 8%{?dist}
Summary: World Timezone Definitions for Python
Group: Development/Languages
@ -79,10 +79,12 @@ Almost all (over 540) of the Olson timezones are supported.
%{__python2} setup.py install --skip-build --root %{buildroot}
chmod +x %{buildroot}%{python2_sitelib}/pytz/*.py
rm -r %{buildroot}%{python2_sitelib}/pytz/zoneinfo
pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitelib}
%if 0%{?with_python3}
%{__python3} setup.py install --skip-build --root %{buildroot}
rm -r %{buildroot}%{python3_sitelib}/pytz/zoneinfo
pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitelib}
%endif # with_python3
@ -109,6 +111,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
%changelog
* Wed May 23 2018 Miro Hrončok <mhroncok@redhat.com> - 2017.2-8
- Fix ambiguous shebangs
* Sat Mar 17 2018 Matěj Cepl <mcepl@redhat.com> - 2017.2-7
- Switch __python for __python2 macro.