[byobu] updated to 4.22 + various bugfixes

Jan Klepek hpejakle at fedoraproject.org
Sun Jul 24 21:39:47 UTC 2011


commit e82ebc31b84e454bcf12eefeed7bd7d8b9eeca89
Author: Jan Klepek <jan.klepek at gmail.com>
Date:   Sun Jul 24 23:39:27 2011 +0200

    updated to 4.22 + various bugfixes

 byobu.spec |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/byobu.spec b/byobu.spec
index af7d70e..01813d3 100644
--- a/byobu.spec
+++ b/byobu.spec
@@ -1,6 +1,6 @@
 Name:		byobu
 Version:	4.22
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Light-weight, configurable window manager built upon GNU screen
 
 Group:		Applications/System
@@ -9,14 +9,17 @@ URL:		http://launchpad.net/byobu
 Source0:	http://code.launchpad.net/byobu/trunk/%{version}/+download/byobu_%{version}.orig.tar.gz
 # default windows
 Source1:	fedoracommon
+# fix for https://bugs.launchpad.net/byobu/+bug/815579
 Patch0:		byobu_updates.patch
+
+# removed words Ubuntu from MOTD
 Patch1:		byobu_byobu-shell.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
-%if 0%{?rhel} < 6
-Requires:	python26
-%else
+%if 0%{?rhel}%{?fedora} > 5
 Requires:	python >= 2.5
+%else
+Requires:	python26
 %endif
 
 BuildRequires:	gettext, desktop-file-utils, automake
@@ -38,6 +41,9 @@ such as toggle-able system status notifications.
 for i in `grep -Ri {BYOBU_PREFIX}/lib/ * | awk -F: '{print $1}' | uniq`; do
 sed -i "s#{BYOBU_PREFIX}/lib/#{BYOBU_PREFIX}/libexec/#g" $i;
 done
+for i in `grep -Ri BYOBU_PREFIX/lib/ * | awk -F: '{print $1}' | uniq`; do
+sed -i "s#BYOBU_PREFIX/lib/#BYOBU_PREFIX/libexec/#g" $i;
+done
 # fix path for help file
 sed -i "s#DOC=PREFIX+'/share/doc/'+PKG#DOC=PREFIX+'/share/doc/'+PKG+'-%{version}'#g" usr/bin/byobu-config
 # set default fedora windows
@@ -92,7 +98,10 @@ rm -rf %{buildroot}
 %{_libexecdir}/%{name}/.shutil
 
 %changelog
-* Sat Jul 23 2011 Jan Klepek <jan.klepek at, gmail.com> - 4.22-1
+* Sat Jul 23 2011 Jan Klepek <jan.klepek at, gmail.com> - 4.22-2
+- updated to 4.22 + various bugfixes
+
+* Sat Jul 23 2011 Jan Klepek <jan.klepek at, gmail.com> - 4.20-1
 - new major release
 
 * Sat Jan 8 2011 Jan Klepek <jan.klepek at, gmail.com> - 3.21-1


More information about the scm-commits mailing list