From 662db553755e02d0f62ddda30b430b36c18ce191618128434ff22e6975577b69 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Mon, 14 Apr 2025 08:07:51 +0000 Subject: [PATCH] Enable sle15_python_module_pythons to only build for Python 3.11 on Leap (does not build with old pytest anymore) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-roman-numerals?expand=0&rev=3 --- python-roman-numerals.changes | 6 ++++++ python-roman-numerals.spec | 11 ++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-roman-numerals.changes b/python-roman-numerals.changes index e0274d1..f9998fd 100644 --- a/python-roman-numerals.changes +++ b/python-roman-numerals.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 10 14:15:00 UTC 2025 - Georg Pfuetzenreuter + +- Enable sle15_python_module_pythons to only build for Python 3.11 on Leap + (does not build with old pytest anymore) + ------------------------------------------------------------------- Wed Mar 12 14:15:24 UTC 2025 - Dirk Müller diff --git a/python-roman-numerals.spec b/python-roman-numerals.spec index d74d804..0f9cec2 100644 --- a/python-roman-numerals.spec +++ b/python-roman-numerals.spec @@ -16,6 +16,7 @@ # +%{?sle15_python_module_pythons} Name: python-roman-numerals Version: 3.1.0 Release: 0 @@ -25,15 +26,15 @@ URL: https://github.com/AA-Turner/roman-numerals/ Source: https://files.pythonhosted.org/packages/source/r/roman-numerals/roman_numerals-%{version}.tar.gz BuildRequires: %{python_module flit-core >= 3.7} BuildRequires: %{python_module pip} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Suggests: python-mypy = 1.15.0 +Suggests: python-pyright = 1.1.394 +Suggests: python-ruff = 0.9.7 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest >= 8} # /SECTION -BuildRequires: fdupes -Suggests: python-mypy == 1.15.0 -Suggests: python-ruff == 0.9.7 -Suggests: python-pyright == 1.1.394 -BuildArch: noarch %python_subpackages %description