Add completion for rpm -q --licensefiles

Resolves: #1578811
This commit is contained in:
Siteshwar Vashisht 2019-01-10 10:17:52 +01:00
parent dc349ae2ae
commit b558aabb5c
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/completions/rpm b/completions/rpm
index 6b4e66f..c3eed54 100644
--- a/completions/rpm
+++ b/completions/rpm
@@ -151,7 +151,7 @@ _rpm()
--fileprovide --filerequire --filesbypkg --info --list
--obsoletes --pipe --provides --queryformat= --requires
--scripts --suggests --triggers --xml --recommends
- --supplements --filetriggers"
+ --supplements --filetriggers --licensefiles"
if [[ ${words[@]} == *\ -@(*([^ -])f|-file )* ]]; then
# -qf completion

View File

@ -5,7 +5,7 @@
Name: bash-completion
Version: 2.8
Release: 4%{?dist}
Release: 5%{?dist}
Epoch: 1
Summary: Programmable completion for Bash
@ -18,6 +18,9 @@ Patch0: %{name}-1.99-noblacklist.patch
# Remove while rebasing to bash-completion-2.9
Patch1: %{name}-2.9-override-completions.patch
# Remove while rebasing to bash-completion-2.9
Patch2: %{name}-rpm-license.patch
BuildArch: noarch
%if %{with tests}
BuildRequires: dejagnu
@ -93,6 +96,10 @@ make -C completions check
%changelog
* Thu Jan 10 2019 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.8-5
- Add completion for rpm -q --licensefiles
Resolves: #1578811
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.8-4
- Use C.UTF-8 locale
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot