|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
%global _python_bytecompile_errors_terminate_build 0
|
|
|
|
|
|
|
|
|
|
Name: bash-completion
|
|
|
|
|
Version: 2.7
|
|
|
|
|
Version: 2.11
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Summary: Programmable completion for Bash
|
|
|
|
@ -14,11 +14,6 @@ URL: https://github.com/scop/bash-completion
|
|
|
|
|
Source0: https://github.com/scop/bash-completion/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
# https://bugzilla.redhat.com/677446, see also redefine_filedir comments
|
|
|
|
|
Patch0: %{name}-1.99-noblacklist.patch
|
|
|
|
|
# It should be removed while rebasing to bash-completion-2.8
|
|
|
|
|
Patch1: %{name}-rfkill.patch
|
|
|
|
|
# It should be removed while rebasing to bash-completion-2.8
|
|
|
|
|
Patch2: %{name}-manpath.patch
|
|
|
|
|
Patch3: %{name}-2.9-override-completions.patch
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%if %{with tests}
|
|
|
|
@ -29,6 +24,7 @@ BuildRequires: tcllib
|
|
|
|
|
# Needed for rfkill patch as it modifies Makefile.am
|
|
|
|
|
# It should be removed while rebasing to bash-completion-2.8
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
Requires: bash >= 4.1
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -66,10 +62,12 @@ install -Dpm 644 redefine_filedir \
|
|
|
|
|
# Updated completion shipped in cowsay package:
|
|
|
|
|
rm %{buildroot}%{_datadir}/bash-completion/completions/{cowsay,cowthink}
|
|
|
|
|
|
|
|
|
|
# RHEL-5650 - Remove bash completions for javaws as it's not shipped with Fedora
|
|
|
|
|
rm %{buildroot}%{_datadir}/bash-completion/completions/javaws
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# For some tests involving non-ASCII filenames
|
|
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
|
export LANG=C.UTF-8
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
# This stuff borrowed from dejagnu-1.4.4-17 (tests need a terminal)
|
|
|
|
|
tmpfile=$(mktemp)
|
|
|
|
@ -95,12 +93,54 @@ make -C completions check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1:2.7-5
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
* Mon Feb 12 2024 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.11-5
|
|
|
|
|
- Remove bash completions for javaws
|
|
|
|
|
Resolves: RHEL-5650
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:2.11-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1:2.11-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.11-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 8 13:20:44 CET 2021 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.11-1
|
|
|
|
|
- Rebase to version 2.11
|
|
|
|
|
Resolves: #1782254
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Mon Aug 13 2018 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.8-3
|
|
|
|
|
- Document how to turn off default completions
|
|
|
|
|
Resolves: #1575571
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Aug 13 2018 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.7-5
|
|
|
|
|
- Document how to override default completions
|
|
|
|
|
Resolves: #1575573
|
|
|
|
|
* Tue Jun 12 2018 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.8-1
|
|
|
|
|
- Update to 2.8
|
|
|
|
|
Resolves: #1561241
|
|
|
|
|
|
|
|
|
|
* Wed Mar 14 2018 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.7-4
|
|
|
|
|
- Do not use $MANPATH directly
|
|
|
|
|