add upstream bash-completion (thanks to Scott Tsai - closes rhbz #1148183)
This commit is contained in:
parent
5da4971ded
commit
f1e628ba40
@ -1,6 +1,6 @@
|
|||||||
Name: tmux
|
Name: tmux
|
||||||
Version: 2.1
|
Version: 2.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A terminal multiplexer
|
Summary: A terminal multiplexer
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -28,6 +28,9 @@ make %{?_smp_mflags} LDFLAGS="%{optflags}"
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot} INSTALLBIN="install -p -m 755" INSTALLMAN="install -p -m 644"
|
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
|
%post
|
||||||
if [ "$1" = 1 ]; then
|
if [ "$1" = 1 ]; then
|
||||||
@ -50,8 +53,12 @@ fi
|
|||||||
%doc CHANGES FAQ TODO examples/
|
%doc CHANGES FAQ TODO examples/
|
||||||
%{_bindir}/tmux
|
%{_bindir}/tmux
|
||||||
%{_mandir}/man1/tmux.1.*
|
%{_mandir}/man1/tmux.1.*
|
||||||
|
%{_sysconfdir}/bash_completion.d
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Feb 22 2016 Sven Lankes <sven@lank.es> - 2.1-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user