Browse Source

xulrunner: fix gre.conf to promote internal gecko version

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4002 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 13 years ago
parent
commit
218f056968
1 changed files with 5 additions and 1 deletions
  1. 5 1
      x/xulrunner/xulrunner-vl.spec

+ 5 - 1
x/xulrunner/xulrunner-vl.spec

@@ -33,7 +33,7 @@ Summary:        XUL Runtime for Gecko Applications
 Summary(ja):    Gecko アプリケーションのための XUL ランタイム
 Name:           xulrunner
 Version:        2.0.1
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 URL:            http://www.mozilla.org/projects/xulrunner/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -339,6 +339,7 @@ popd
 MOZILLA_GECKO_VERSION=`./config/milestone.pl --topsrcdir=.`
 %{__mv} $RPM_BUILD_ROOT/etc/gre.d/$MOZILLA_GECKO_VERSION".system.conf" \
         $RPM_BUILD_ROOT/etc/gre.d/%{gre_conf_file}
+sed -i -e "s/\[%{version}\]/\[$INTERNAL_GECKO\]/g" $RPM_BUILD_ROOT/etc/gre.d/%{gre_conf_file}
 chmod 644 $RPM_BUILD_ROOT/etc/gre.d/%{gre_conf_file}
 
 # Library path
@@ -441,6 +442,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Tue May 31 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.1-2
+- modify gre.conf to promote internal gecko version.
+
 * Mon May 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.1-1
 - update to 2.0.1 (sync with firefox-4.0.1)