public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Colin B. Macdonald <cbm@m.fsf.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-django-tables2] rawhide: introduce another variables for the hyphenated pkg name
Date: Tue, 18 Aug 2026 07:17:33 GMT	[thread overview]
Message-ID: <178703745345.1.9160738528049015809.rpms-python-django-tables2-623b1bf9f081@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-18  7:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178703745345.1.9160738528049015809.rpms-python-django-tables2-623b1bf9f081@fedoraproject.org \
    --to=cbm@m.fsf.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox