From f0013f8ace575af077310ea643f2d2ceda0734df40de30f43bfc2e39475277b4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 5 May 2023 12:13:56 +0000 Subject: [PATCH] Accepting request 1085063 from home:ojkastl_buildservice:Branch_devel_languages_python add sle15_python_module_pythons OBS-URL: https://build.opensuse.org/request/show/1085063 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-enrich?expand=0&rev=3 --- python-enrich.changes | 5 +++++ python-enrich.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-enrich.changes b/python-enrich.changes index 0757e53..def13e4 100644 --- a/python-enrich.changes +++ b/python-enrich.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 5 11:56:47 UTC 2023 - Johannes Kastl + +- add sle15_python_module_pythons + ------------------------------------------------------------------- Fri Jan 28 16:31:22 UTC 2022 - Sebastian Wagner diff --git a/python-enrich.spec b/python-enrich.spec index 5d83682..fe84fda 100644 --- a/python-enrich.spec +++ b/python-enrich.spec @@ -1,7 +1,7 @@ # # spec file for package python-enrich # -# Copyright (c) 2022 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 @@ -15,8 +15,8 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} + +%{?sle15_python_module_pythons} %{?python_enable_dependency_generator} Name: python-enrich Version: 1.2.7 @@ -26,10 +26,10 @@ License: MIT URL: https://github.com/pycontribs/enrich Source: https://files.pythonhosted.org/packages/source/e/enrich/enrich-%{version}.tar.gz Patch0: remove_setuptools_scm.patch -BuildRequires: python-rpm-macros BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages