From 66ba1e96d5580c7d59903f3797673c86c2f9d4825d315a7ce2be553ca18c754a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 21 Apr 2023 14:12:42 +0000 Subject: [PATCH] Accepting request 1081529 from home:dirkmueller:acdc:as_python3_module SR for python stack proposal OBS-URL: https://build.opensuse.org/request/show/1081529 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prettytable?expand=0&rev=19 --- python-prettytable.changes | 10 ++++++++++ python-prettytable.spec | 7 ++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/python-prettytable.changes b/python-prettytable.changes index 8e81a07..692f51b 100644 --- a/python-prettytable.changes +++ b/python-prettytable.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Apr 21 12:29:44 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:43:11 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + ------------------------------------------------------------------- Sun Nov 6 10:05:26 UTC 2022 - John Vandenberg diff --git a/python-prettytable.spec b/python-prettytable.spec index 35e6586..2967e80 100644 --- a/python-prettytable.spec +++ b/python-prettytable.spec @@ -1,7 +1,7 @@ # # spec file for package python-prettytable # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2011 Christian Berendt. # # All modifications and additions to the file contributed by third parties @@ -18,6 +18,7 @@ %define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-prettytable Version: 3.5.0 Release: 0 @@ -26,9 +27,9 @@ License: BSD-2-Clause URL: https://github.com/jazzband/prettytable Source0: https://files.pythonhosted.org/packages/source/p/prettytable/prettytable-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} -BuildRequires: %{python_module hatchling} BuildRequires: %{python_module hatch_vcs} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-lazy-fixture} BuildRequires: %{python_module pytest}