- update to 2022.2.1:

* matches tzdata 2022b
- avoid bashisms in rpm scripts (bsc#1195391)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz?expand=0&rev=103
This commit is contained in:
Dirk Mueller 2022-08-15 20:14:05 +00:00 committed by Git OBS Bridge
parent 63338a3657
commit 9506a8c7fc
6 changed files with 19 additions and 12 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 15 20:10:16 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2022.2.1:
* matches tzdata 2022b
- avoid bashisms in rpm scripts (bsc#1195391)
-------------------------------------------------------------------
Tue Mar 29 11:46:35 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -18,7 +18,7 @@
# Ensure you update the tzdata_version for any minor version increase
# otherwise the update python library has the incorrect timezone data.
%define tzdata_version 2022a
%define tzdata_version 2022b
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?!pyunittest:%define pyunittest(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-=) \\\
@ -29,7 +29,7 @@
} }
Name: python-pytz
Version: 2022.1
Version: 2022.2.1
Release: 0
Summary: World timezone definitions, modern and historical
License: MIT
@ -91,7 +91,7 @@ ln -s %{_datadir}/zoneinfo %{buildroot}%{$python_sitelib}/pytz/zoneinfo
%pre
if [ $1 -gt 1 ] ; then
[ "$(readlink -e %{python_sitelib}/pytz/zoneinfo)" == "%{python_sitelib}/pytz/zoneinfo" ] && rm -rf %{python_sitelib}/pytz/zoneinfo
[ "$(readlink -e %{python_sitelib}/pytz/zoneinfo)" = "%{python_sitelib}/pytz/zoneinfo" ] && rm -rf %{python_sitelib}/pytz/zoneinfo
fi || :
%files %{python_files}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1e760e2fe6a8163bc0b3d9a19c4f84342afa0a2affebfaa84b01b978a02ecaa7
size 320473

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQTH7MNlq28lXh65uhcB+pmPusY3SgUCYjZ3LQAKCRAB+pmPusY3
SgZsAJ9rdW61H2RimAjmN7IO11RjDj3AZwCgjiKQ1D4TjOjKzkh/XQ12bCGW5y8=
=x6Wn
-----END PGP SIGNATURE-----

3
pytz-2022.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cea221417204f2d1a2aa03ddae3e867921971d0d76f14d87abb4414415bbdcf5
size 316105

6
pytz-2022.2.1.tar.gz.asc Normal file
View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQTH7MNlq28lXh65uhcB+pmPusY3SgUCYvcHeAAKCRAB+pmPusY3
SnQhAJ9rGiw6Z8gswj+Va4+Q5ujyRjxYSACeL5KGLo4kuMSdgW2Dspj9ly041Eg=
=+tdp
-----END PGP SIGNATURE-----