add upstream bash-completion (thanks to Scott Tsai - closes rhbz #1148183)

This commit is contained in:
Sven Lankes 2016-02-22 10:45:28 +01:00
parent 5da4971ded
commit f1e628ba40

View File

@ -1,6 +1,6 @@
Name: tmux
Version: 2.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A terminal multiplexer
Group: Applications/System
@ -28,6 +28,9 @@ make %{?_smp_mflags} LDFLAGS="%{optflags}"
%install
make install DESTDIR=%{buildroot} INSTALLBIN="install -p -m 755" INSTALLMAN="install -p -m 644"
# bash completion
mkdir -p %{buildroot}/%{_sysconfdir}/bash_completion.d
install -pm 644 examples/bash_completion_tmux.sh %{buildroot}/%{_sysconfdir}/bash_completion.d/
%post
if [ "$1" = 1 ]; then
@ -50,8 +53,12 @@ fi
%doc CHANGES FAQ TODO examples/
%{_bindir}/tmux
%{_mandir}/man1/tmux.1.*
%{_sysconfdir}/bash_completion.d
%changelog
* Mon Feb 22 2016 Sven Lankes <sven@lank.es> - 2.1-2
- add upstream bash-completion (thanks to Scott Tsai - closes rhbz #1148183)
* Mon Feb 22 2016 Sven Lankes <sven@lank.es> - 2.1-1
- New upstream release