Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytz-deprecation-shim for
openSUSE:Factory checked in at 2022-06-24 08:45:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytz-deprecation-shim (Old)
and /work/SRC/openSUSE:Factory/.python-pytz-deprecation-shim.new.1548
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytz-deprecation-shim"
Fri Jun 24 08:45:12 2022 rev:2 rq:984291 version:0.1.0.post0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytz-deprecation-shim/python-pytz-deprecation-shim.changes
2022-02-23 19:14:58.387289064 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytz-deprecation-shim.new.1548/python-pytz-deprecation-shim.changes
2022-06-24 08:45:26.231147688 +0200
@@ -1,0 +2,13 @@
+Tue Jun 21 21:35:54 UTC 2022 - Ben Greiner <[email protected]>
+
+- Remove tzdata from the dist metadata, as we neither have nor need
+ it.
+- Follow the rest of the metadata, assuming Py >= 3.6 in order to
+ avoid import errors on consuming libs.
+
+-------------------------------------------------------------------
+Sun Jun 19 07:49:07 UTC 2022 - Dirk M??ller <[email protected]>
+
+- skip python2 build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytz-deprecation-shim.spec ++++++
--- /var/tmp/diff_new_pack.sfsVOn/_old 2022-06-24 08:45:26.735148253 +0200
+++ /var/tmp/diff_new_pack.sfsVOn/_new 2022-06-24 08:45:26.739148257 +0200
@@ -16,7 +16,9 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
+# Upstream also supports shimming python2.7, but we assume Python >= 3.6 here
(if 15.3 were resolvable for the python3 flavor)
+%global skip_python2 1
%define modname pytz-deprecation-shim
Name: python-%{modname}
Version: 0.1.0.post0
@@ -36,6 +38,9 @@
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+%if 0%{?python_version_nodots} < 39
+Requires: python-backports.zoneinfo
+%endif
BuildArch: noarch
%python_subpackages
@@ -57,6 +62,8 @@
%prep
%setup -q -n pytz_deprecation_shim-%{version}
+# assume that we have tzdata from the system and never need the PyPI package
+sed -i '/tzdata/ d' setup.cfg
%build
%pyproject_wheel