public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-django-tables2] rawhide: introduce another variables for the hyphenated pkg name
@ 2026-08-18 7:17 Colin B. Macdonald
0 siblings, 0 replies; only message in thread
From: Colin B. Macdonald @ 2026-08-18 7:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-django-tables2
Branch : rawhide
Commit : 623b1bf9f0817c7cc5026da4a0365e6fb3a5e0aa
Author : Colin B. Macdonald <cbm@m.fsf.org>
Date : 2026-08-12T07:39:08-07:00
Stats : +9/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-django-tables2/c/623b1bf9f0817c7cc5026da4a0365e6fb3a5e0aa?branch=rawhide
Log:
introduce another variables for the hyphenated pkg name
---
diff --git a/python-django-tables2.spec b/python-django-tables2.spec
index 1a33ff8..b72e662 100644
--- a/python-django-tables2.spec
+++ b/python-django-tables2.spec
@@ -1,12 +1,13 @@
%global srcname django_tables2
+%global pkgname django-tables2
-Name: python-django-tables2
+Name: python-%{pkgname}
Version: 2.8.0
Release: %autorelease
Summary: Table framework for Django
License: BSD-2-Clause
-URL: https://github.com/jieter/django-tables2
+URL: https://github.com/jieter/{%pkgname}
Source: %{pypi_source}
BuildArch: noarch
@@ -18,14 +19,14 @@ what django.forms does for HTML forms.}
%description %{_description}
-%package -n python3-%{srcname}
+%package -n python3-%{pkgname}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
-Obsoletes: python-%{srcname} < 1.2.3-5
-Obsoletes: python2-%{srcname} < 1.2.3-5
+Obsoletes: python-%{pkgname} < 1.2.3-5
+Obsoletes: python2-%{pkgname} < 1.2.3-5
-%description -n python3-%{srcname} %{_description}
+%description -n python3-%{pkgname} %{_description}
%prep
%autosetup -p1 -n %{srcname}-%{version}
@@ -38,9 +39,9 @@ Obsoletes: python2-%{srcname} < 1.2.3-5
%install
%pyproject_install
-%pyproject_save_files -l django_tables2
+%pyproject_save_files -l %{srcname}
-%files -n python3-%{srcname} -f %{pyproject_files}
+%files -n python3-%{pkgname} -f %{pyproject_files}
%doc README.md CHANGELOG.md
%changelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-18 7:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 7:17 [rpms/python-django-tables2] rawhide: introduce another variables for the hyphenated pkg name Colin B. Macdonald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox