|
Ville Skyttä |
fff27f |
# Expected failures in mock, hangs in koji
|
|
Ville Skyttä |
fff27f |
%bcond_with tests
|
|
Ville Skyttä |
b03688 |
# The *.py files we ship are not python scripts, #813651
|
|
Ville Skyttä |
b03688 |
%global _python_bytecompile_errors_terminate_build 0
|
|
Ville Skyttä |
fff27f |
|
|
cvsextras |
05bf1d |
Name: bash-completion
|
|
Ville Skyttä |
653669 |
Version: 2.1
|
|
Dennis Gilmore |
1f70fa |
Release: 3%{?dist}
|
|
Ville Skyttä |
742eb9 |
Epoch: 1
|
|
cvsextras |
05bf1d |
Summary: Programmable completion for Bash
|
|
cvsextras |
05bf1d |
|
|
Ville Skyttä |
77b5bf |
License: GPLv2+
|
|
Ville Skyttä |
ea0d49 |
URL: http://bash-completion.alioth.debian.org/
|
|
Ville Skyttä |
a2a3bb |
Source0: http://bash-completion.alioth.debian.org/files/%{name}-%{version}.tar.bz2
|
|
Ville Skyttä |
4b23ee |
Source2: CHANGES.package.old
|
|
Ville Skyttä |
6c1548 |
# https://bugzilla.redhat.com/677446, see also noblacklist patch
|
|
Ville Skyttä |
b03688 |
Source3: %{name}-2.0-redefine_filedir.bash
|
|
Ville Skyttä |
b03688 |
# https://bugzilla.redhat.com/677446, see also redefine_filedir source
|
|
Ville Skyttä |
d1d1af |
Patch0: %{name}-1.99-noblacklist.patch
|
|
Ville Skyttä |
653669 |
# Commands included in util-linux >= 2.23-rc2
|
|
Ville Skyttä |
653669 |
Patch1: %{name}-2.1-util-linux-223.patch
|
|
cvsextras |
05bf1d |
|
|
cvsextras |
05bf1d |
BuildArch: noarch
|
|
Ville Skyttä |
fff27f |
%if %{with tests}
|
|
Ville Skyttä |
6a80f0 |
BuildRequires: dejagnu
|
|
Ville Skyttä |
6a80f0 |
BuildRequires: screen
|
|
Ville Skyttä |
6a80f0 |
BuildRequires: tcllib
|
|
Ville Skyttä |
fff27f |
%endif
|
|
Ville Skyttä |
6c1548 |
Requires: bash >= 4.1
|
|
cvsextras |
05bf1d |
|
|
cvsextras |
05bf1d |
%description
|
|
cvsextras |
05bf1d |
bash-completion is a collection of shell functions that take advantage
|
|
Ville Skyttä |
6a80f0 |
of the programmable completion feature of bash.
|
|
cvsextras |
05bf1d |
|
|
cvsextras |
05bf1d |
|
|
cvsextras |
05bf1d |
%prep
|
|
Ville Skyttä |
742eb9 |
%setup -q
|
|
Ville Skyttä |
7ef206 |
%patch0 -p1
|
|
Ville Skyttä |
653669 |
%if 0%{?fedora} >= 19
|
|
Ville Skyttä |
653669 |
%patch1 -p1
|
|
Ville Skyttä |
653669 |
%endif
|
|
Ville Skyttä |
4b23ee |
install -pm 644 %{SOURCE2} .
|
|
Ville Skyttä |
a2a3bb |
|
|
Ville Skyttä |
9793c2 |
|
|
Ville Skyttä |
9793c2 |
%build
|
|
Ville Skyttä |
9793c2 |
%configure
|
|
Ville Skyttä |
9793c2 |
make %{?_smp_mflags}
|
|
Ville Skyttä |
9793c2 |
|
|
Ville Skyttä |
9793c2 |
|
|
Ville Skyttä |
9793c2 |
%install
|
|
Ville Skyttä |
9793c2 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
Ville Skyttä |
9793c2 |
|
|
Ville Skyttä |
6c1548 |
# Updated completion shipped in cowsay package:
|
|
Ville Skyttä |
6c1548 |
rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/{cowsay,cowthink}
|
|
Ville Skyttä |
d91844 |
%if 0%{?fedora} < 19
|
|
Ville Skyttä |
653669 |
# systemd >= 198 ships this one:
|
|
Ville Skyttä |
653669 |
install -pm 644 completions/_udevadm \
|
|
Ville Skyttä |
653669 |
$RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/udevadm
|
|
Ville Skyttä |
653669 |
%endif
|
|
Ville Skyttä |
0394aa |
%if 0%{?fedora} > 17
|
|
Ville Skyttä |
0394aa |
# NetworkManager >= 0.9.8.0 ships this one:
|
|
Ville Skyttä |
0394aa |
rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/nmcli
|
|
Ville Skyttä |
0394aa |
%endif
|
|
Ville Skyttä |
9793c2 |
|
|
Ville Skyttä |
6c1548 |
install -Dpm 644 %{SOURCE3} \
|
|
Ville Skyttä |
6c1548 |
$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/redefine_filedir
|
|
Ville Skyttä |
9793c2 |
|
|
cvsextras |
05bf1d |
|
|
Ville Skyttä |
fff27f |
%if %{with tests}
|
|
Ville Skyttä |
6a80f0 |
%check
|
|
Ville Skyttä |
6a80f0 |
# For some tests involving non-ASCII filenames
|
|
Ville Skyttä |
6a80f0 |
export LANG=en_US.UTF-8
|
|
Ville Skyttä |
6a80f0 |
# This stuff borrowed from dejagnu-1.4.4-17 (tests need a terminal)
|
|
Ville Skyttä |
6a80f0 |
tmpfile=$(mktemp)
|
|
Ville Skyttä |
6a80f0 |
screen -D -m sh -c '( make check ; echo $? ) >'$tmpfile
|
|
Ville Skyttä |
6a80f0 |
cat $tmpfile
|
|
Ville Skyttä |
6a80f0 |
result=$(tail -n 1 $tmpfile)
|
|
Ville Skyttä |
6a80f0 |
rm -f $tmpfile
|
|
Ville Skyttä |
fff27f |
exit $result
|
|
Ville Skyttä |
fff27f |
%endif
|
|
Ville Skyttä |
6a80f0 |
|
|
Ville Skyttä |
6a80f0 |
|
|
Ville Skyttä |
6c1548 |
%files
|
|
Ville Skyttä |
6c1548 |
%doc AUTHORS CHANGES CHANGES.package.old COPYING README
|
|
Ville Skyttä |
6c1548 |
# Temporarily not noreplace for < 1.90 to 1.90+ updates (changed location)
|
|
Ville Skyttä |
6c1548 |
%config %{_sysconfdir}/profile.d/bash_completion.sh
|
|
Ville Skyttä |
6c1548 |
%{_sysconfdir}/bash_completion.d/
|
|
Ville Skyttä |
6c1548 |
%{_datadir}/bash-completion/
|
|
Ville Skyttä |
6c1548 |
%{_datadir}/pkgconfig/bash-completion.pc
|
|
cvsextras |
05bf1d |
|
|
cvsextras |
05bf1d |
|
|
cvsextras |
05bf1d |
%changelog
|
|
Dennis Gilmore |
1f70fa |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1-3
|
|
Dennis Gilmore |
1f70fa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
Dennis Gilmore |
1f70fa |
|
|
Ville Skyttä |
0394aa |
* Tue Apr 9 2013 Ville Skyttä <ville.skytta@iki.fi> - 1:2.1-2
|
|
Ville Skyttä |
0394aa |
- Don't install nmcli completion on F-18+ (#950071).
|
|
Ville Skyttä |
0394aa |
|
|
Ville Skyttä |
653669 |
* Mon Apr 8 2013 Ville Skyttä <ville.skytta@iki.fi> - 1:2.1-1
|
|
Ville Skyttä |
653669 |
- Update to 2.1 (fixes #860510, #906469, #912113, #919246, #928253).
|
|
Ville Skyttä |
653669 |
- Don't ship completions included in util-linux 2.23-rc2 for F-19+.
|
|
Ville Skyttä |
653669 |
|
|
Dennis Gilmore |
e353b9 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.0-3
|
|
Dennis Gilmore |
e353b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
Dennis Gilmore |
e353b9 |
|
|
Dennis Gilmore |
1f3e95 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.0-2
|
|
Dennis Gilmore |
1f3e95 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
Dennis Gilmore |
1f3e95 |
|
|
Ville Skyttä |
b03688 |
* Tue Jun 19 2012 Ville Skyttä <ville.skytta@iki.fi> - 1:2.0-1
|
|
Ville Skyttä |
b03688 |
- Update to 2.0 (fixes #817902, #831835).
|
|
Ville Skyttä |
b03688 |
- Don't try to python-bytecompile our non-python *.py (#813651).
|
|
Ville Skyttä |
b03688 |
|
|
Ville Skyttä |
d1d1af |
* Sun Jan 8 2012 Ville Skyttä <ville.skytta@iki.fi> - 1:1.99-1
|
|
Ville Skyttä |
d1d1af |
- Update to 1.99.
|
|
Ville Skyttä |
d1d1af |
|
|
Ville Skyttä |
6c1548 |
* Fri Nov 4 2011 Ville Skyttä <ville.skytta@iki.fi> - 1:1.90-1
|
|
Ville Skyttä |
6c1548 |
- Update to 1.90.
|
|
Ville Skyttä |
6c1548 |
- Specfile cleanups.
|
|
Ville Skyttä |
6c1548 |
- Move pre-1.2 %%changelog entries to CHANGES.package.old.
|
|
Ville Skyttä |
6c1548 |
|
|
Ville Skyttä |
1e9865 |
* Mon Sep 5 2011 Ville Skyttä <ville.skytta@iki.fi> - 1:1.3-6
|
|
Ville Skyttä |
1e9865 |
- Apply upstream patch providing a config and profile hook to make it
|
|
Ville Skyttä |
1e9865 |
easier to disable bash-completion on per user basis.
|
|
Ville Skyttä |
1e9865 |
|
|
Ville Skyttä |
bdf553 |
* Mon Aug 15 2011 Ville Skyttä <ville.skytta@iki.fi> - 1:1.3-5
|
|
Ville Skyttä |
bdf553 |
- Fix ant completion when complete-ant-cmd.pl is N/A (#729771).
|
|
Ville Skyttä |
bdf553 |
- Fix bash < 4 _filedir_xspec uppercase expansion issue (#726220).
|
|
Ville Skyttä |
bdf553 |
- Drop _filedir_xspec self-parsing with bash >= 4 for speedups (#479936).
|
|
Ville Skyttä |
bdf553 |
- Do install triggers with lua where available to speed up package install.
|
|
Ville Skyttä |
bdf553 |
- Add completion for sum (#717341).
|
|
Ville Skyttä |
bdf553 |
|
|
Ville Skyttä |
e8b29d |
* Tue May 10 2011 Ville Skyttä <ville.skytta@iki.fi> - 1:1.3-4
|
|
Ville Skyttä |
e8b29d |
- Work around problems caused by Adobe Reader overriding _filedir (#677446).
|
|
Ville Skyttä |
e8b29d |
|
|
Ville Skyttä |
7d79fb |
* Tue Apr 12 2011 Ville Skyttä <ville.skytta@iki.fi> - 1:1.3-3
|
|
Ville Skyttä |
7d79fb |
- Patch to not test command availability for each snippet, improves load time.
|
|
Ville Skyttä |
7d79fb |
- Apply upstream libreoffice flat XML extensions fix for #692548.
|
|
Ville Skyttä |
7d79fb |
- Apply upstream MANPAGER fix for #689180.
|
|
Ville Skyttä |
7d79fb |
- Apply upstream (la)tex *.dbj fix for #678122.
|
|
Ville Skyttä |
7d79fb |
|
|
Dennis Gilmore |
8e2108 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3-2
|
|
Dennis Gilmore |
8e2108 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
Dennis Gilmore |
8e2108 |
|
|
Ville Skyttä |
9793c2 |
* Mon Feb 7 2011 Ville Skyttä <ville.skytta@iki.fi> - 1:1.3-1
|
|
Ville Skyttä |
9793c2 |
- Update to 1.3.
|
|
Ville Skyttä |
9793c2 |
|
|
Ville Skyttä |
2ec49d |
* Wed Oct 13 2010 Ville Skyttä <ville.skytta@iki.fi> - 1:1.2-5
|
|
Ville Skyttä |
86bbea |
- Install util-linux completions unconditionally.
|
|
Ville Skyttä |
035a30 |
- Make trigger target package rename etc tracking easier to maintain, and
|
|
Ville Skyttä |
035a30 |
handle man-db/man (#642193, Yanko Kaneti), mysql/MySQL-client-community,
|
|
Ville Skyttä |
035a30 |
and tigervnc/vnc renames better.
|
|
Ville Skyttä |
4b23ee |
- Move pre-1.0 %%changelog entries to CHANGES.package.old.
|
|
Ville Skyttä |
86bbea |
|
|
Ville Skyttä |
1841a5 |
* Tue Oct 5 2010 Ville Skyttä <ville.skytta@iki.fi> - 1:1.2-4
|
|
Ville Skyttä |
1841a5 |
- More IPv6 address completion fixes, #630658.
|
|
Ville Skyttä |
1841a5 |
|
|
Ville Skyttä |
c506b6 |
* Tue Sep 28 2010 Ville Skyttä <ville.skytta@iki.fi> - 1:1.2-3
|
|
Ville Skyttä |
c506b6 |
- Apply upstream ~username completion fix for #628130.
|
|
Ville Skyttä |
c506b6 |
- Apply upstream rpm completion improvements for #630328.
|
|
Ville Skyttä |
c506b6 |
- Apply upstream IPv6 address completion fix for #630658.
|
|
Ville Skyttä |
c506b6 |
- Drop some completions that are included in respective upstream packages.
|
|
Ville Skyttä |
c506b6 |
- Fix qdbus/dcop uninstall trigger.
|
|
Ville Skyttä |
c506b6 |
|
|
Ville Skyttä |
7ef206 |
* Mon Jun 28 2010 Ville Skyttä <ville.skytta@iki.fi> - 1:1.2-2
|
|
Ville Skyttä |
7ef206 |
- Apply upstream post 1.2 /etc/init.d/* completion improvements to fix #608351.
|
|
Ville Skyttä |
7ef206 |
|
|
Ville Skyttä |
6a80f0 |
* Wed Jun 16 2010 Ville Skyttä <ville.skytta@iki.fi> - 1:1.2-1
|
|
Ville Skyttä |
6a80f0 |
- Update to 1.2, all patches applied upstream.
|
|
Ville Skyttä |
6a80f0 |
- Fixes #444469, #538433, #541423, and #601813, works around #585384.
|