public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/gerrymander] rawhide: spec cleanup and modernization
Date: Thu, 25 Jun 2026 00:29:34 GMT	[thread overview]
Message-ID: <178234737499.1.4583693374192220365.rpms-gerrymander-0e848303d614@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gerrymander
            Branch : rawhide
            Commit : 0e848303d614fabaaf9dd693662336eb6d18c027
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-15T20:14:33-03:00
            Stats  : +14/-13 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gerrymander/c/0e848303d614fabaaf9dd693662336eb6d18c027?branch=rawhide

            Log:
            spec cleanup and modernization

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/gerrymander.spec b/gerrymander.spec
index 4836254..473e97f 100644
--- a/gerrymander.spec
+++ b/gerrymander.spec
@@ -1,8 +1,8 @@
-Summary:       The gerrit client tools
+Summary:       The Gerrit client tools
 Name:          gerrymander
 Version:       1.5
-Release:       41%{?dist}
-Source0:       https://pypi.python.org/packages/source/g/%{name}/%{name}-%{version}.tar.gz
+Release:       42%{?dist}
+Source0:       %{pypi_source}
 URL:           https://pypi.python.org/pypi/gerrymander
 License:       Apache-2.0
 
@@ -10,11 +10,10 @@ BuildArch:     noarch
 
 BuildRequires: python3-pytest
 BuildRequires: python3-devel
-Requires:      python3-gerrymander
+Requires:      python3-gerrymander = %{version}-%{release}
 
 %package -n python3-gerrymander
-Summary: The gerrit python3 client
-License: GPL-2.0-or-later
+Summary: The Gerrit python3 client
 
 
 %description
@@ -26,11 +25,9 @@ The python3-gerrymander package provides a set of python3
 modules for interacting with Gerrit.
 
 %prep
-%setup -q
-find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
-
-# Remove any egg info (as of submitting this review, there's no bundled
-# egg info)
+%autosetup -p1
+# Remove any bundled egg-info
+rm -rf *.egg-info
 
 %generate_buildrequires
 %pyproject_buildrequires
@@ -51,11 +48,15 @@ find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
 %{_bindir}/gerrymander
 
 %files -n python3-gerrymander -f %{pyproject_files}
-%doc README LICENSE
+%doc README
+%license LICENSE
 
 %changelog
+* Mon Jun 15 2026 Filipe Rosset <filiperosset@fedoraproject.org> - 1.5-42
+- spec cleanup and modernization
+
 * Mon Jun 15 2026 Filipe Rosset <filiperosset@fedoraproject.org> - 1.5-41
-- spec cleanup, stop using deprecated py3_build/py3_install macros rhbz#2377268
+- fixes stop using deprecated py3_build/py3_install macros rhbz#2377268
 
 * Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 1.5-40
 - Rebuilt for Python 3.15

                 reply	other threads:[~2026-06-25  0:29 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=178234737499.1.4583693374192220365.rpms-gerrymander-0e848303d614@fedoraproject.org \
    --to=filiperosset@fedoraproject.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