public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedpkg] 1.48-1: Add zsh auto completion
@ 2026-08-10 21:46
0 siblings, 0 replies; only message in thread
From: @ 2026-08-10 21:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/fedpkg
Branch : 1.48-1
Commit : 3f4ffc4c354558832b4509191c40da5cb97e9bc5
Author : Ondřej Nosek <onosek@redhat.com>
Date : 2026-02-10T21:40:03+00:00
Stats : +13/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedpkg/c/3f4ffc4c354558832b4509191c40da5cb97e9bc5?branch=1.48-1
Log:
Add zsh auto completion
Signed-off-by: Ondřej Nosek <onosek@redhat.com>
---
diff --git a/fedpkg.spec b/fedpkg.spec
index 477e724..bda7f9e 100644
--- a/fedpkg.spec
+++ b/fedpkg.spec
@@ -7,7 +7,7 @@
Name: fedpkg
Version: 1.47
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Fedora utility for working with dist-git
# Automatically converted from old format: GPLv2+ - review is highly recommended.
@@ -95,6 +95,9 @@ register-python-argcomplete --shell bash fedpkg > fedpkg.bash
%if 0%{?with_hatchling}
# argcomplete version in EPEL8 does not have support for fish
register-python-argcomplete --shell fish fedpkg > fedpkg.fish
+%if 0%{?rhel} != 9
+register-python-argcomplete --shell zsh fedpkg > fedpkg.zsh
+%endif
%endif
%install
@@ -109,6 +112,9 @@ register-python-argcomplete --shell fish fedpkg > fedpkg.fish
%{__install} -D -p -m 0644 fedpkg.bash -t %{buildroot}%{bash_completions_dir}
%if 0%{?with_hatchling}
%{__install} -D -p -m 0644 fedpkg.fish -t %{buildroot}%{fish_completions_dir}
+%if 0%{?rhel} != 9
+%{__install} -D -p -m 0644 fedpkg.zsh %{buildroot}%{zsh_completions_dir}/_fedpkg
+%endif
# config file /etc/rpkg/fedpkg.conf is extracted to %{buildroot}/usr/etc/... by pyproject_install
%{__install} -d %{buildroot}%{_sysconfdir}
mv %{buildroot}/usr/etc/* %{buildroot}%{_sysconfdir}
@@ -143,10 +149,16 @@ mv %{buildroot}/usr/etc/* %{buildroot}%{_sysconfdir}
%config(noreplace) %{bash_completions_dir}/fedpkg.bash
%if 0%{?with_hatchling}
%config(noreplace) %{fish_completions_dir}/fedpkg.fish
+%if 0%{?rhel} != 9
+%config(noreplace) %{zsh_completions_dir}/_fedpkg
+%endif
%endif
%changelog
+* Tue Feb 10 2026 Tom Hughes <tom@compton.nu> - 1.47-5
+- Add zsh auto completion
+
* Tue Feb 10 2026 Ondřej Nosek <onosek@redhat.com> - 1.47-4
- Patch: Check the correct sorting of imports from now on
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 21:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 21:46 [rpms/fedpkg] 1.48-1: Add zsh auto completion
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox