public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedpkg] 1.48-1: Rename bash completion file in EPEL 7
@ 2026-08-10 21:45
0 siblings, 0 replies; only message in thread
From: @ 2026-08-10 21:45 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 21:45 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:45 [rpms/fedpkg] 1.48-1: Rename bash completion file in EPEL 7
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox