From 8c9fb85ae2bb0e40d0331f685dfc84da6fb3be45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Tue, 2 Sep 2025 07:44:30 +0200 Subject: [PATCH] Convert from Fedora for the Python 3.14 stack in RHEL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fedora contributions by: Charalampos Stratakis Elliott Sales de Andrade Igor Gnatenko Jan Pokorný Kevin Fenzi Lukáš Zachar Lumír Balhar Miro Hrončok Orion Poplawski Parag Nemade Peter Robinson Phil Wyett Tomas Orsava Tomáš Hrnčiar Yaakov Selkowitz --- plan.fmf | 6 +++--- python3.14-setuptools_scm.spec | 14 ++++---------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/plan.fmf b/plan.fmf index f0a359c..bba7193 100644 --- a/plan.fmf +++ b/plan.fmf @@ -8,12 +8,12 @@ discover: tests: - name: pyproject_pytest path: /tests - test: ./mocktest.sh python-pytest + test: ./mocktest.sh python3.14-pytest - name: pyproject_pluggy path: /tests - test: ./mocktest.sh python-pluggy + test: ./mocktest.sh python3.14-pluggy - name: import_test - test: python3 -c "import setuptools_scm" + test: python3.14 -c "import setuptools_scm" prepare: - name: Install dependencies diff --git a/python3.14-setuptools_scm.spec b/python3.14-setuptools_scm.spec index fa7648d..bd9760a 100644 --- a/python3.14-setuptools_scm.spec +++ b/python3.14-setuptools_scm.spec @@ -1,6 +1,8 @@ -%bcond tests 1 +%global python3_pkgversion 3.14 -Name: python-setuptools_scm +%bcond tests 0 + +Name: python%{python3_pkgversion}-setuptools_scm Version: 8.3.1 Release: %autorelease Summary: Blessed package to manage your versions by SCM tags @@ -21,14 +23,6 @@ BuildRequires: mercurial %endif %endif -%description -Setuptools_scm handles managing your Python package versions in SCM metadata. -It also handles file finders for the supported SCMs. - - -%package -n python%{python3_pkgversion}-setuptools_scm -Summary: %{summary} - %description -n python%{python3_pkgversion}-setuptools_scm Setuptools_scm handles managing your Python package versions in SCM metadata. It also handles file finders for the supported SCMs.