|
@@ -1,9 +1,9 @@
|
|
%bcond_with check
|
|
%bcond_with check
|
|
|
|
|
|
-%define pathfix %{_libdir}/python%{python3_version}/Tools/scripts/pathfix.py
|
|
|
|
|
|
+%define pathfix %{_bindir}/pathfix%{python3_version}.py
|
|
|
|
|
|
Name: pytz
|
|
Name: pytz
|
|
-Version: 2020.1
|
|
|
|
|
|
+Version: 2022.5
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: World Timezone Definitions for Python
|
|
Summary: World Timezone Definitions for Python
|
|
Summary(ja): Python 用の世界タイムゾーン定義
|
|
Summary(ja): Python 用の世界タイムゾーン定義
|
|
@@ -84,7 +84,7 @@ Amost all (over 540) of the Olson timezones are supported.
|
|
|
|
|
|
%build
|
|
%build
|
|
%py2_build
|
|
%py2_build
|
|
-%py3_build
|
|
|
|
|
|
+%pip3_build_wheel
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -93,7 +93,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
rm -r %{buildroot}%{python2_sitelib}/pytz/zoneinfo
|
|
rm -r %{buildroot}%{python2_sitelib}/pytz/zoneinfo
|
|
%{pathfix} -p -i %{__python2} %{buildroot}%{python2_sitelib}
|
|
%{pathfix} -p -i %{__python2} %{buildroot}%{python2_sitelib}
|
|
|
|
|
|
-%py3_install
|
|
|
|
|
|
+%pip3_install_wheel
|
|
rm -r %{buildroot}%{python3_sitelib}/pytz/zoneinfo
|
|
rm -r %{buildroot}%{python3_sitelib}/pytz/zoneinfo
|
|
%{pathfix} -p -i %{__python3} %{buildroot}%{python3_sitelib}
|
|
%{pathfix} -p -i %{__python3} %{buildroot}%{python3_sitelib}
|
|
|
|
|
|
@@ -120,10 +120,13 @@ rm -rf $RPM_BUILD_ROOT
|
|
%license LICENSE.txt
|
|
%license LICENSE.txt
|
|
%doc README.txt
|
|
%doc README.txt
|
|
%{python3_sitelib}/pytz/
|
|
%{python3_sitelib}/pytz/
|
|
-%{python3_sitelib}/*.egg-info
|
|
|
|
|
|
+%{python3_sitelib}/*-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Oct 30 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2022.5-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2020.1-1
|
|
* Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2020.1-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|