public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/fedpkg] 1.48-1: Add zsh auto completion
Date: Mon, 10 Aug 2026 21:46:20 GMT [thread overview]
Message-ID: <178639838057.1.17812384384668875895.rpms-fedpkg-3f4ffc4c3545@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-10 21:46 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=178639838057.1.17812384384668875895.rpms-fedpkg-3f4ffc4c3545@fedoraproject.org \
--to=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