public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gerrymander] rawhide: spec cleanup and modernization
@ 2026-06-25 0:29 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-25 0:29 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-25 0:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 0:29 [rpms/gerrymander] rawhide: spec cleanup and modernization Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox