remove the 4 suffix (no parallel installation starting with beta4)
authorWolfgang Rosenauer <wr@rosenauer.org>
Wed, 11 Aug 2010 12:17:17 +0200
changeset 126 7b356805729c
parent 125 bfef1af1ee28
child 127 4c86470ed796
remove the 4 suffix (no parallel installation starting with beta4)
MozillaFirefox/MozillaFirefox.spec
firefox-appname.patch
--- a/MozillaFirefox/MozillaFirefox.spec	Wed Aug 11 10:17:01 2010 +0200
+++ b/MozillaFirefox/MozillaFirefox.spec	Wed Aug 11 12:17:17 2010 +0200
@@ -19,7 +19,7 @@
 # norootforbuild
 
 
-Name:           MozillaFirefox4
+Name:           MozillaFirefox
 %define use_xulrunner 1
 %define xulrunner mozilla-xulrunner20
 BuildRequires:  autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python unzip update-desktop-files zip fdupes Mesa-devel
@@ -78,7 +78,7 @@
 %define __find_requires sh %{SOURCE4}
 %global provfind sh -c "grep -v '.so' | %__find_provides"
 %global __find_provides %provfind
-%define progname firefox4
+%define progname firefox
 %define progdir %{_prefix}/%_lib/%{progname}
 %define gnome_dir     %{_prefix}
 ### build options
--- a/firefox-appname.patch	Wed Aug 11 10:17:01 2010 +0200
+++ b/firefox-appname.patch	Wed Aug 11 12:17:17 2010 +0200
@@ -15,7 +15,7 @@
  
 -  return appPath->GetNativePath(mAppPath);
 +  /* This path to firefox is hardcoded for the default path setting */
-+  mAppPath.Assign ("/usr/bin/firefox4");
++  mAppPath.Assign ("/usr/bin/firefox");
 +  
 +  //return appPath->GetNativePath(mAppPath);
 +  return NS_OK;