From 6e25a482af16bf6748fd0ae1a1af56cdcaf8677d Mon Sep 17 00:00:00 2001 From: Filipe Rosset Date: Feb 22 2014 18:26:16 +0000 Subject: New upstream release 1.9 - Fix rhbz #1067860 --- diff --git a/.gitignore b/.gitignore index 6c5fa2f..366acbd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ tmux-1.3.tar.gz /tmux-1.6.tar.gz /tmux-1.7.tar.gz /tmux-1.8.tar.gz +/tmux-1.9.tar.gz diff --git a/sources b/sources index de62806..500a5ff 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b9477de2fe660244cbc6e6d7e668ea0e tmux-1.8.tar.gz +5f5ed0f03a666279264da45b60075600 tmux-1.9.tar.gz diff --git a/tmux.spec b/tmux.spec index da47066..8d5d21c 100644 --- a/tmux.spec +++ b/tmux.spec @@ -1,6 +1,6 @@ Name: tmux -Version: 1.8 -Release: 3%{?dist} +Version: 1.9 +Release: 1%{?dist} Summary: A terminal multiplexer Group: Applications/System @@ -31,15 +31,20 @@ rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALLBIN="install -p -m 755" INSTALLMAN="install -p -m 644" %post -if [ ! -f %{_sysconfdir}/shells ] ; then +if [ "$1" = 1 ]; then + if [ ! -f %{_sysconfdir}/shells ] ; then echo "%{_bindir}/tmux" > %{_sysconfdir}/shells -else + echo "/bin/tmux" >> %{_sysconfdir}/shells + else grep -q "^%{_bindir}/tmux$" %{_sysconfdir}/shells || echo "%{_bindir}/tmux" >> %{_sysconfdir}/shells + grep -q "^/bin/tmux$" %{_sysconfdir}/shells || echo "/bin/tmux" >> %{_sysconfdir}/shells + fi fi %postun -if [ $1 -eq 0 ] && [ -f %{_sysconfdir}/shells ]; then - sed -i '\!^%{_bindir}/tmux$!d' %{_sysconfdir}/shells +if [ "$1" = 0 ] && [ -f %{_sysconfdir}/shells ] ; then + sed -i '\!^%{_bindir}/tmux$!d' %{_sysconfdir}/shells + sed -i '\!^/bin/tmux$!d' %{_sysconfdir}/shells fi %files @@ -49,6 +54,10 @@ fi %{_mandir}/man1/tmux.1.* %changelog +* Sat Feb 22 2014 Filipe Rosset 1.9-1 +- New upstream release 1.9 +- Fix rhbz #1067860 + * Sun Aug 04 2013 Fedora Release Engineering - 1.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild