diff --git a/python-setuptools-declarative-requirements.changes b/python-setuptools-declarative-requirements.changes index 0ec1a61..684518c 100644 --- a/python-setuptools-declarative-requirements.changes +++ b/python-setuptools-declarative-requirements.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 9 12:40:43 UTC 2023 - Johannes Kastl + +- add sle15_python_module_pythons + ------------------------------------------------------------------- Wed Mar 24 16:24:58 UTC 2021 - John Vandenberg diff --git a/python-setuptools-declarative-requirements.spec b/python-setuptools-declarative-requirements.spec index 8325141..522678b 100644 --- a/python-setuptools-declarative-requirements.spec +++ b/python-setuptools-declarative-requirements.spec @@ -1,7 +1,7 @@ # # spec file for package python-setuptools-declarative-requirements # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-setuptools-declarative-requirements Version: 1.2.0 Release: 0 @@ -25,9 +24,9 @@ Summary: File support for setuptools declarative setup.cfg License: Apache-2.0 URL: https://github.com/s0undt3ch/setuptools-declarative-requirements Source: https://files.pythonhosted.org/packages/source/s/setuptools-declarative-requirements/setuptools-declarative-requirements-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools_scm >= 3.4} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} BuildRequires: %{python_module pypiserver}