From c7fd99f3fbea2973d07bebfd2e63c79e6a4bfcb181664a57fe1a1011e53c63d9 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 22 Jun 2023 15:31:40 +0000 Subject: [PATCH] - limit to newer python versions, older are no longer needed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz-deprecation-shim?expand=0&rev=12 --- python-pytz-deprecation-shim.changes | 5 +++++ python-pytz-deprecation-shim.spec | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/python-pytz-deprecation-shim.changes b/python-pytz-deprecation-shim.changes index 86564ee..830837e 100644 --- a/python-pytz-deprecation-shim.changes +++ b/python-pytz-deprecation-shim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 22 15:25:56 UTC 2023 - Dirk Müller + +- limit to newer python versions, older are no longer needed + ------------------------------------------------------------------- Fri Apr 21 12:32:26 UTC 2023 - Dirk Müller diff --git a/python-pytz-deprecation-shim.spec b/python-pytz-deprecation-shim.spec index 5e6b34c..46b39d9 100644 --- a/python-pytz-deprecation-shim.spec +++ b/python-pytz-deprecation-shim.spec @@ -17,7 +17,6 @@ # 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 %{?sle15_python_module_pythons} Name: python-%{modname} @@ -27,18 +26,13 @@ Summary: Shims to make deprecation of pytz easier License: Apache-2.0 URL: https://github.com/pganssle/pytz-deprecation-shim Source: https://files.pythonhosted.org/packages/source/p/pytz_deprecation_shim/pytz_deprecation_shim-%{version}.tar.gz -BuildRequires: %{python_module backports.zoneinfo if %python-base < 3.9} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} -BuildRequires: %{python_module setuptools} 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