parent
f6e54d69a4
commit
6e25a482af
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ tmux-1.3.tar.gz
|
|||||||
/tmux-1.6.tar.gz
|
/tmux-1.6.tar.gz
|
||||||
/tmux-1.7.tar.gz
|
/tmux-1.7.tar.gz
|
||||||
/tmux-1.8.tar.gz
|
/tmux-1.8.tar.gz
|
||||||
|
/tmux-1.9.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
b9477de2fe660244cbc6e6d7e668ea0e tmux-1.8.tar.gz
|
5f5ed0f03a666279264da45b60075600 tmux-1.9.tar.gz
|
||||||
|
15
tmux.spec
15
tmux.spec
@ -1,6 +1,6 @@
|
|||||||
Name: tmux
|
Name: tmux
|
||||||
Version: 1.8
|
Version: 1.9
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A terminal multiplexer
|
Summary: A terminal multiplexer
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -31,15 +31,20 @@ rm -rf %{buildroot}
|
|||||||
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"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
if [ "$1" = 1 ]; then
|
||||||
if [ ! -f %{_sysconfdir}/shells ] ; then
|
if [ ! -f %{_sysconfdir}/shells ] ; then
|
||||||
echo "%{_bindir}/tmux" > %{_sysconfdir}/shells
|
echo "%{_bindir}/tmux" > %{_sysconfdir}/shells
|
||||||
|
echo "/bin/tmux" >> %{_sysconfdir}/shells
|
||||||
else
|
else
|
||||||
grep -q "^%{_bindir}/tmux$" %{_sysconfdir}/shells || echo "%{_bindir}/tmux" >> %{_sysconfdir}/shells
|
grep -q "^%{_bindir}/tmux$" %{_sysconfdir}/shells || echo "%{_bindir}/tmux" >> %{_sysconfdir}/shells
|
||||||
|
grep -q "^/bin/tmux$" %{_sysconfdir}/shells || echo "/bin/tmux" >> %{_sysconfdir}/shells
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ] && [ -f %{_sysconfdir}/shells ]; then
|
if [ "$1" = 0 ] && [ -f %{_sysconfdir}/shells ] ; then
|
||||||
sed -i '\!^%{_bindir}/tmux$!d' %{_sysconfdir}/shells
|
sed -i '\!^%{_bindir}/tmux$!d' %{_sysconfdir}/shells
|
||||||
|
sed -i '\!^/bin/tmux$!d' %{_sysconfdir}/shells
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -49,6 +54,10 @@ fi
|
|||||||
%{_mandir}/man1/tmux.1.*
|
%{_mandir}/man1/tmux.1.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 22 2014 Filipe Rosset <rosset.filipe@gmail.com> 1.9-1
|
||||||
|
- New upstream release 1.9
|
||||||
|
- Fix rhbz #1067860
|
||||||
|
|
||||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-3
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user