From 2689a3115b34a00e00dbe8ec02f968830f6f0bdb Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: May 23 2018 13:19:30 +0000 Subject: Fix ambiguous shebangs --- diff --git a/pytz.spec b/pytz.spec index 0476bb0..9abeb99 100644 --- a/pytz.spec +++ b/pytz.spec @@ -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 - 2017.2-8 +- Fix ambiguous shebangs + * Sat Mar 17 2018 Matěj Cepl - 2017.2-7 - Switch __python for __python2 macro.