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