[byobu] fixed path to DOC directory

Jan Klepek hpejakle at fedoraproject.org
Sun Sep 5 15:55:04 UTC 2010


commit 59cd413daa7c538b4cb3bff6029f44023140cc38
Author: Jan Klepek <jan.klepek at gmail.com>
Date:   Sun Sep 5 17:55:07 2010 +0200

    fixed path to DOC directory

 byobu.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/byobu.spec b/byobu.spec
index d033693..12c65b5 100644
--- a/byobu.spec
+++ b/byobu.spec
@@ -1,6 +1,6 @@
 Name:		byobu
 Version:	3.4
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Light-weight, configurable window manager built upon GNU screen
 
 Group:		Applications/System
@@ -43,7 +43,7 @@ sed -i "s/GNOME;GTK;//g" usr/share/applications/byobu.desktop
 # fix path for po files
 sed -i "s#gettext.bindtextdomain(PKG, SHARE+'/po')#gettext.bindtextdomain(PKG, '%{_datadir}/locale')#g" usr/bin/byobu-config
 # fix path for help file
-sed -i "s#DOC='/usr/share/doc/'+PKG#DOC='/usr/share/doc/'+PKG+'-%{version}'#g" usr/bin/byobu-config
+sed -i "s#DOC=PREFIX+'/share/doc/'+PKG#DOC=PREFIX+'/share/doc/'+PKG+'-%{version}'#g" usr/bin/byobu-config
 # remove apport which is not available in fedora
 rm usr/lib/byobu/apport
 sed -i 's#status\[\"apport\"\]=0##g' usr/bin/byobu-config


More information about the scm-commits mailing list