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