xulrunner/xulrunner.spec
changeset 468 22a70eb49a43
parent 467 a9baaad57fa4
child 471 73b631ab214b
equal deleted inserted replaced
467:a9baaad57fa4 468:22a70eb49a43
    76 Patch6:         mozilla-language.patch
    76 Patch6:         mozilla-language.patch
    77 Patch7:         mozilla-ntlm-full-path.patch
    77 Patch7:         mozilla-ntlm-full-path.patch
    78 Patch9:         mozilla-sle11.patch
    78 Patch9:         mozilla-sle11.patch
    79 Patch10:        mozilla-arm-cpu-detection.patch
    79 Patch10:        mozilla-arm-cpu-detection.patch
    80 Patch11:        mozilla-yarr-pcre.patch
    80 Patch11:        mozilla-yarr-pcre.patch
    81 Patch12:        mozilla-gcc47.patch
       
    82 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    81 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    83 Requires:       mozilla-js = %{version}
    82 Requires:       mozilla-js = %{version}
    84 Requires(post):  update-alternatives coreutils
    83 Requires(post):  update-alternatives coreutils
    85 Requires(preun): update-alternatives coreutils
    84 Requires(preun): update-alternatives coreutils
    86 ### build configuration ###
    85 ### build configuration ###
   194 %if %suse_version < 1120
   193 %if %suse_version < 1120
   195 %patch9 -p1
   194 %patch9 -p1
   196 %endif
   195 %endif
   197 %patch10 -p1
   196 %patch10 -p1
   198 %patch11 -p1
   197 %patch11 -p1
   199 %patch12 -p1
       
   200 
   198 
   201 %build
   199 %build
   202 # no need to add build time to binaries
   200 # no need to add build time to binaries
   203 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
   201 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
   204 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
   202 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""