mozilla-xulrunner20/mozilla-xulrunner20.spec
changeset 161 a6dc70babb5f
parent 154 e8d6420a4212
child 169 cba7c6321c84
equal deleted inserted replaced
157:6f59409302d1 161:a6dc70babb5f
    69 Patch9:         gecko-lockdown.patch
    69 Patch9:         gecko-lockdown.patch
    70 Patch10:        toolkit-ui-lockdown.patch
    70 Patch10:        toolkit-ui-lockdown.patch
    71 # ---
    71 # ---
    72 Patch11:        mozilla-cpuid.patch
    72 Patch11:        mozilla-cpuid.patch
    73 Patch12:        mozilla-buildsymbols.patch
    73 Patch12:        mozilla-buildsymbols.patch
       
    74 Patch13:        mozilla-language.patch
    74 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    75 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    75 Requires:       mozilla-js20 = %{version}
    76 Requires:       mozilla-js20 = %{version}
    76 Requires(post):  update-alternatives coreutils
    77 Requires(post):  update-alternatives coreutils
    77 Requires(preun): update-alternatives coreutils
    78 Requires(preun): update-alternatives coreutils
    78 ### build configuration ###
    79 ### build configuration ###
   209 #%patch10 -p1
   210 #%patch10 -p1
   210 %if %suse_version < 1120
   211 %if %suse_version < 1120
   211 %patch11 -p1
   212 %patch11 -p1
   212 %endif
   213 %endif
   213 %patch12 -p1
   214 %patch12 -p1
       
   215 %patch13 -p1
   214 
   216 
   215 %build
   217 %build
   216 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   218 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   217 if test "$kdehelperversion" != %{kde_helper_version}; then
   219 if test "$kdehelperversion" != %{kde_helper_version}; then
   218   echo fix kde helper version in the .spec file
   220   echo fix kde helper version in the .spec file