From 9dfb533586b7c4ec94618864b83608405a1a1d2f97db0f039c0d15f469400d97 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 11 Jun 2023 11:41:37 +0000 Subject: [PATCH 1/2] Accepting request 1092110 from home:ecsos:python - Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1092110 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow-enum?expand=0&rev=3 --- python-marshmallow-enum.changes | 5 +++++ python-marshmallow-enum.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-marshmallow-enum.changes b/python-marshmallow-enum.changes index 146cdea..af74cc1 100644 --- a/python-marshmallow-enum.changes +++ b/python-marshmallow-enum.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 9 11:09:35 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Tue Nov 17 08:15:29 AM UTC 2020 - John Vandenberg diff --git a/python-marshmallow-enum.spec b/python-marshmallow-enum.spec index 363f594..453098b 100644 --- a/python-marshmallow-enum.spec +++ b/python-marshmallow-enum.spec @@ -16,7 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} %define skip_python2 1 Name: python-marshmallow-enum Version: 1.5.1 From c3e595cabd82205ffd271b91593fffe258c977864289c3bf8d4fa97245a0c29b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 11 Jun 2023 11:41:51 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow-enum?expand=0&rev=4 --- python-marshmallow-enum.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python-marshmallow-enum.spec b/python-marshmallow-enum.spec index 453098b..4492ce7 100644 --- a/python-marshmallow-enum.spec +++ b/python-marshmallow-enum.spec @@ -1,7 +1,7 @@ # # spec file for package python-marshmallow-enum # -# Copyright (c) 2020 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 @@ -17,7 +17,6 @@ %{?sle15_python_module_pythons} -%define skip_python2 1 Name: python-marshmallow-enum Version: 1.5.1 Release: 0 @@ -26,8 +25,8 @@ License: MIT URL: https://github.com/justanr/marshmallow_enum Source: https://files.pythonhosted.org/packages/source/m/marshmallow-enum/marshmallow-enum-%{version}.tar.gz Source1: https://raw.githubusercontent.com/justanr/marshmallow_enum/master/tests/test_enum_field.py -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module marshmallow >= 2.0.0} BuildRequires: %{python_module pytest}