public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Artur Frenszek-Iwicki <fedora@svgames.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/git-fame] rawhide: Update to v4.2.1
Date: Wed, 28 Oct 2026 13:35:44 GMT	[thread overview]
Message-ID: <179319454402.1.13595843343684906184.rpms-git-fame-6c9bed8c3b14@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/git-fame
Branch : rawhide
Commit : 6c9bed8c3b142f50a0c45577f0b5b04e394ec8a5
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-09-30T12:46:19+02:00
Stats  : +32/-21 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/git-fame/c/6c9bed8c3b142f50a0c45577f0b5b04e394ec8a5?branch=rawhide

Log:
Update to v4.2.1

---
diff --git a/.gitignore b/.gitignore
index d75cd6c..67aa521 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
 /git-fame-1.15.2.tar.gz
 /git-fame-2.0.0.tar.gz
 /git-fame-2.0.1.tar.gz
+/git_fame-4.2.1.tar.gz

diff --git a/git-fame.spec b/git-fame.spec
index 25fb246..146fdc2 100644
--- a/git-fame.spec
+++ b/git-fame.spec
@@ -1,53 +1,63 @@
 Name:           git-fame
-Version:        2.0.1
-Release:        16%{?dist}
+Version:        4.2.1
+Release:        1%{?dist}
 Summary:        Pretty-print git repository collaborators sorted by contributions
 
 License:        MPL-2.0
 URL:            https://pypi.python.org/pypi/git-fame
+
+%global pypi_name git_fame
 Source0:        %{pypi_source}
 
 BuildArch:      noarch
  
 BuildRequires:  python3-devel
-BuildRequires:  python3-pip
-BuildRequires:  python3-setuptools
-BuildRequires:  python3-setuptools_scm
-BuildRequires:  python3-wheel
 Requires:       git-core
-Requires:       python%{python3_version}dist(argopt) >= 0.3.5
-# Only for beautifulness
-Recommends:     python%{python3_version}dist(tqdm)
-Recommends:     python%{python3_version}dist(tabulate)
 
 %description
 Pretty-print git repository collaborators sorted by contributions.
 
 %prep
-%autosetup -n %{name}-%{version}
+%autosetup -n %{pypi_name}-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires
+
 
 %build
-%py3_build
+%pyproject_wheel
+
 
 %install
-%py3_install
-mkdir -p %{buildroot}%{_libexecdir}/git-core
-ln -s %{_bindir}/%{name} %{buildroot}%{_libexecdir}/git-core/%{name}
-install -Dpm0644 -t %{buildroot}%{_mandir}/man1 gitfame/git-fame.1
+%pyproject_install
+%pyproject_save_files gitfame
+
+install -m 755 -d %{buildroot}%{_libexecdir}/git-core
+ln -sr %{buildroot}%{_bindir}/%{name} %{buildroot}%{_libexecdir}/git-core/%{name}
+
+install -m 755 -d %{buildroot}%{bash_completions_dir}
+PYTHONPATH="%{buildroot}%{python3_sitelib}" \
+	%{buildroot}%{_bindir}/%{name} --print-completion bash \
+	> %{buildroot}%{bash_completions_dir}/%{name}
+
 
 %check
 # Tests depend on real git repo
 
-%files
+
+%files -f %{pyproject_files}
 %license LICENCE
 %doc README.rst
 %{_bindir}/%{name}
+%{bash_completions_dir}/%{name}
 %{_libexecdir}/git-core/%{name}
-%{_mandir}/man1/%{name}.1*
-%{python3_sitelib}/git_fame-*.egg-info/
-%{python3_sitelib}/gitfame/
+
 
 %changelog
+* Wed Sep 30 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 4.2.1-1
+- Update to v4.2.1
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index b7935a7..6c000ff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (git-fame-2.0.1.tar.gz) = 1ce525d95d9c23651bbd338bdcabfd61b021559966f85b1b63572cfb4a0836f3bad717c761f249a4fdf813de64210d93f1644c7c9e18f0c4d36e13adfaa2ae75
+SHA512 (git_fame-4.2.1.tar.gz) = 512d042d55fa0206fe11c4a99e56bf49df328a024ec8405f111da22cb76bad6863378fe4949e7a64dcb554a77f9e16d9a55c01e6eeaf78124e315f2d6dfe62c8

                 reply	other threads:[~2026-10-28 13:35 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=179319454402.1.13595843343684906184.rpms-git-fame-6c9bed8c3b14@fedoraproject.org \
    --to=fedora@svgames.pl \
    --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