use more correct bash completion path (thanks to Carl George)
This commit is contained in:
parent
f1e628ba40
commit
bd67c44ee2
10
tmux.spec
10
tmux.spec
@ -1,6 +1,6 @@
|
|||||||
Name: tmux
|
Name: tmux
|
||||||
Version: 2.1
|
Version: 2.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A terminal multiplexer
|
Summary: A terminal multiplexer
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -29,8 +29,7 @@ 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
|
# bash completion
|
||||||
mkdir -p %{buildroot}/%{_sysconfdir}/bash_completion.d
|
install -Dpm 644 examples/bash_completion_tmux.sh %{buildroot}%{_datadir}/bash-completion/completions/tmux
|
||||||
install -pm 644 examples/bash_completion_tmux.sh %{buildroot}/%{_sysconfdir}/bash_completion.d/
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ "$1" = 1 ]; then
|
if [ "$1" = 1 ]; then
|
||||||
@ -53,9 +52,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
|
%{_datadir}/bash-completion/completions/tmux
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 23 2016 Sven Lankes <sven@lank.es> - 2.1-3
|
||||||
|
- use more correct bash completion path (thanks to Carl George)
|
||||||
|
|
||||||
* Mon Feb 22 2016 Sven Lankes <sven@lank.es> - 2.1-2
|
* Mon Feb 22 2016 Sven Lankes <sven@lank.es> - 2.1-2
|
||||||
- add upstream bash-completion (thanks to Scott Tsai - closes rhbz #1148183)
|
- add upstream bash-completion (thanks to Scott Tsai - closes rhbz #1148183)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user