public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/fedpkg] 1.48-1: Rename bash completion file in EPEL 7
Date: Mon, 10 Aug 2026 21:45:14 GMT [thread overview]
Message-ID: <178639831496.1.12664493696765596685.rpms-fedpkg-da303bd1532c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fedpkg
Branch : 1.48-1
Commit : da303bd1532c36bab11eaa23b7ce82a73ecda800
Author : Lubomír Sedlář <lsedlar@redhat.com>
Date : 2016-06-23T11:17:11+02:00
Stats : +8/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedpkg/c/da303bd1532c36bab11eaa23b7ce82a73ecda800?branch=1.48-1
Log:
Rename bash completion file in EPEL 7
In all Fedora versions, it should be installed into
/usr/share/bash-completion/completions/fedpkg.bash
In EPEL 7:
/usr/share/bash-completion/completions/fedpkg
(older bash-completion does not deal with the file extension)
In EPEL 6:
/etc/bash_completion.d/fedpkg.bash
---
diff --git a/fedpkg.spec b/fedpkg.spec
index 1b581f5..ad3684f 100644
--- a/fedpkg.spec
+++ b/fedpkg.spec
@@ -8,7 +8,7 @@
Name: fedpkg
Version: 1.23
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Fedora utility for working with dist-git
Group: Applications/System
@@ -56,6 +56,10 @@ Provides the fedpkg command for working with dist-git
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%{__install} -d $RPM_BUILD_ROOT%{_mandir}/man1
%{__install} -p -m 0644 fedpkg.1 $RPM_BUILD_ROOT%{_mandir}/man1
+%if 0%{?rhel} && 0%{?rhel} == 7
+# The completion file must be named similarly to the command.
+mv $RPM_BUILD_ROOT%{compdir}/fedpkg.bash $RPM_BUILD_ROOT%{compdir}/fedpkg
+%endif
%check
@@ -78,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Jun 08 2016 Lubomír Sedlář <lsedlar@redhat.com> - 1.23-3
+- Rename bash completion on EPEL
+
* Thu Jun 02 2016 Lubomír Sedlář <lsedlar@redhat.com> - 1.23-2
- Add build dep on bash-completion
reply other threads:[~2026-08-10 21:45 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=178639831496.1.12664493696765596685.rpms-fedpkg-da303bd1532c@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