public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-debtcollector] rawhide: Use python3_pkgversion macro
@ 2026-06-13 17:57 Steve Traylen
  0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-06-13 17:57 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-debtcollector
Branch : rawhide
Commit : f4b00936e1d6086796e7628638a4d176ac0740de
Author : Steve Traylen <steve.traylen@cern.ch>
Date   : 2026-06-13T19:57:07+02:00
Stats  : +4/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-debtcollector/c/f4b00936e1d6086796e7628638a4d176ac0740de?branch=rawhide

Log:
Use python3_pkgversion macro

---
diff --git a/python-debtcollector.spec b/python-debtcollector.spec
index 6da4bb2..b07eb03 100644
--- a/python-debtcollector.spec
+++ b/python-debtcollector.spec
@@ -26,7 +26,7 @@ Source101:   https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{version}
 Source102:   https://releases.openstack.org/_static/%{sources_gpg_sign}.txt
 %endif
 
-BuildRequires: python3-devel
+BuildRequires: python%{python3_pkgversion}-devel
 
 BuildArch:     noarch
 
@@ -42,11 +42,11 @@ BuildRequires: git-core
 %{common_desc}
 
 
-%package -n python3-%{pypi_name}
+%package -n python%{python3_pkgversion}-%{pypi_name}
 Summary:     A collection of Python deprecation patterns and strategies
 
 
-%description -n python3-%{pypi_name}
+%description -n python%{python3_pkgversion}-%{pypi_name}
 %{common_desc}
 
 
@@ -109,7 +109,7 @@ rm -fr doc/build/html/.{doctrees,buildinfo}
 %tox -e %{default_toxenv}
 
 
-%files -n python3-%{pypi_name} -f %{pyproject_files}
+%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files}
 %doc README.rst CONTRIBUTING.rst ChangeLog
 %exclude %{python3_sitelib}/%{pypi_name}/tests
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-13 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-13 17:57 [rpms/python-debtcollector] rawhide: Use python3_pkgversion macro Steve Traylen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox