public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Stephen Finucane <stephenfin@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/git-review] epel10: Update to 2.5.0
Date: Fri, 19 Jun 2026 21:05:19 GMT [thread overview]
Message-ID: <178190311938.1.2420816642932386356.rpms-git-review-8e7497e0f346@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/git-review
Branch : epel10
Commit : 8e7497e0f346ad6c738717a65b20a72ac91d60a5
Author : Stephen Finucane <stephenfin@redhat.com>
Date : 2026-06-18T15:57:04+01:00
Stats : +17/-23 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/git-review/c/8e7497e0f346ad6c738717a65b20a72ac91d60a5?branch=epel10
Log:
Update to 2.5.0
- Migrate to pyproject-rpm-macros; Fixes rhbz#2377272
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
---
diff --git a/.gitignore b/.gitignore
index f0e2fbb..ed315e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/git-review-1.28.0.tar.gz
/git-review-2.2.0.tar.gz
/git-review-2.3.1.tar.gz
+/git_review-2.5.0.tar.gz
diff --git a/git-review.spec b/git-review.spec
index 204e634..7152c6f 100644
--- a/git-review.spec
+++ b/git-review.spec
@@ -1,28 +1,24 @@
Name: git-review
-Version: 2.3.1
+Version: 2.5.0
Release: %autorelease
Summary: A Git helper for integration with Gerrit
-# Automatically converted from old format: ASL 2.0 - review is highly recommended.
License: Apache-2.0
URL: https://opendev.org/opendev/git-review
# Created by:
# $ git clone https://opendev.org/opendev/git-review.git
# $ cd git-review
-# $ git checkout 2.3.1
-# $ python setup.py sdist
-# $ cp dist/git-review-2.3.1.tar.gz ..
-Source0: git-review-%{version}.tar.gz
+# $ git checkout 2.5.0
+# $ python -m build --sdist .
+# $ cp dist/git_review-2.5.0.tar.gz ..
+Source0: git_review-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: python3-pbr
-BuildRequires: python3-setuptools
+BuildRequires: pyproject-rpm-macros
Requires: git-core
-Requires: python3-requests
-Requires: python3-setuptools
Requires: python3-pkg-resources
%description
@@ -31,29 +27,26 @@ review requests in the patch management system Gerrit. It replaces the
rfc.sh script.
%prep
-%setup -q
+%autosetup -n git_review-%{version}
+sed -i 's/\r//' LICENSE
+
+%generate_buildrequires
+%pyproject_buildrequires
%build
-%py3_build
-sed -i 's/\r//' LICENSE
+%pyproject_wheel
%install
-%py3_install
-mkdir -p %{buildroot}%{_sysconfdir}/%{name}/
-
-# We do not save ".gitreview" as dot.gitreview because the man page has it too.
-# cp .gitreview #{buildroot}/usr/share/doc/dot.gitreview
+%pyproject_install
+%pyproject_save_files git_review
install -p -m 0644 -D git-review.1 %{buildroot}%{_mandir}/man1/git-review.1
-%files
+%files -f %{pyproject_files}
%license LICENSE
%doc AUTHORS README.rst
%{_bindir}/git-review
%{_mandir}/man1/git-review.1.gz
-# Our package name is git-review, but setup.py installs with underscore.
-%{python3_sitelib}/git_review/
-%{python3_sitelib}/git_review-%{version}-py%{python3_version}*.egg-info/
%changelog
%autochangelog
diff --git a/sources b/sources
index 6d86553..10a95dd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (git-review-2.3.1.tar.gz) = 0679131767f891e149c2a6e1b849780a5c282b4d648529b2d936b23fcc27a982f06fbf250cd5048d37afd728a43acf69735521aeea54636100a28b12f0dfa94a
+SHA512 (git_review-2.5.0.tar.gz) = 31678d356e094ef92f40ca3ca571010fef22b4589f1cd90acfe11afdabb92caa40b69eb5961582f1b2ac7d27172ad5d2e47839eba37edce78bf4f0ac0d5bb572
reply other threads:[~2026-06-19 21:05 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=178190311938.1.2420816642932386356.rpms-git-review-8e7497e0f346@fedoraproject.org \
--to=stephenfin@redhat.com \
--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