|
|
|
@ -5,15 +5,13 @@
|
|
|
|
|
|
|
|
|
|
Name: bash-completion
|
|
|
|
|
Version: 2.11
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Summary: Programmable completion for Bash
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%if %{with tests}
|
|
|
|
@ -41,28 +39,19 @@ autoreconf -fi -v
|
|
|
|
|
%configure
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
cat <<EOF >redefine_filedir
|
|
|
|
|
# This is a copy of the _filedir function in bash_completion, included
|
|
|
|
|
# and (re)defined separately here because some versions of Adobe
|
|
|
|
|
# Reader, if installed, are known to override this function with an
|
|
|
|
|
# incompatible version, causing various problems.
|
|
|
|
|
#
|
|
|
|
|
# https://bugzilla.redhat.com/677446
|
|
|
|
|
# http://forums.adobe.com/thread/745833
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
sed -ne '/^_filedir\s*(/,/^}/p' bash_completion >>redefine_filedir
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
install -Dpm 644 redefine_filedir \
|
|
|
|
|
%{buildroot}%{_sysconfdir}/bash_completion.d/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
|
|
|
|
|
# Bug 1819867 - conflict over the makepkg name with pacman
|
|
|
|
|
rm %{buildroot}%{_datadir}/bash-completion/completions/makepkg
|
|
|
|
|
|
|
|
|
|
# Bug 2088307 - Remove completions for prelink
|
|
|
|
|
rm %{buildroot}%{_datadir}/bash-completion/completions/prelink
|
|
|
|
|
|
|
|
|
|
# Bug 2188865 - Remove bash completions for javaws as it's not shipped with Fedora
|
|
|
|
|
rm %{buildroot}%{_datadir}/bash-completion/completions/javaws
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -86,23 +75,56 @@ make -C completions check
|
|
|
|
|
%doc AUTHORS CHANGES CONTRIBUTING.md README.md
|
|
|
|
|
%doc doc/bash_completion.txt
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile.d/bash_completion.sh
|
|
|
|
|
%{_sysconfdir}/bash_completion.d/
|
|
|
|
|
%{_datadir}/bash-completion/
|
|
|
|
|
%{_datadir}/cmake/
|
|
|
|
|
%{_datadir}/pkgconfig/bash-completion.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Feb 12 2024 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.11-5
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1:2.11-15
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:2.11-15
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.11-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.11-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.11-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 16 2023 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.11-11
|
|
|
|
|
- Remove bash completions for javaws
|
|
|
|
|
Resolves: RHEL-5650
|
|
|
|
|
Resolves: #2188865
|
|
|
|
|
|
|
|
|
|
* Tue Apr 11 2023 Lukáš Zaoral <lzaoral@redhat.com> - 1:2.11-10
|
|
|
|
|
- migrate to SPDX license format
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.11-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.11-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 19 2022 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.11-7
|
|
|
|
|
- Remove completions for prelink
|
|
|
|
|
Resolves: #2088307
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.11-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Dec 21 2021 Ville Skyttä <ville.skytta@iki.fi> - 1:2.11-5
|
|
|
|
|
- Revert back to upstream _filedir override avoidance
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
* Mon Nov 08 2021 Siteshwar Vashisht <svashisht@redhat.com> - 1:2.11-4
|
|
|
|
|
- Avoid conflict with makepkg completions in pacman
|
|
|
|
|
Resolves: #1819867
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.11-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.11-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|