MozillaFirefox/MozillaFirefox.spec
branchfirefox59
changeset 1039 b8f1c62354df
parent 1037 d61b64679bb4
child 1040 246b98b59979
equal deleted inserted replaced
1038:ff41abc3ea34 1039:b8f1c62354df
    17 #
    17 #
    18 
    18 
    19 
    19 
    20 # changed with every update
    20 # changed with every update
    21 %define major 59
    21 %define major 59
    22 %define mainver %major.0
    22 %define mainver %major.0.1
    23 %define update_channel release
    23 %define update_channel release
    24 %define branding 1
    24 %define branding 1
    25 %define releasedate 20180310025718
    25 %define releasedate 20180315233128
    26 
    26 
    27 # PIE, full relro (x86_64 for now)
    27 # PIE, full relro (x86_64 for now)
    28 %define build_hardened 1
    28 %define build_hardened 1
    29 
    29 
    30 # Firefox only supports i686
    30 # Firefox only supports i686
   148 Patch4:         mozilla-openaes-decl.patch
   148 Patch4:         mozilla-openaes-decl.patch
   149 Patch5:         mozilla-no-stdcxx-check.patch
   149 Patch5:         mozilla-no-stdcxx-check.patch
   150 Patch6:         mozilla-reduce-files-per-UnifiedBindings.patch
   150 Patch6:         mozilla-reduce-files-per-UnifiedBindings.patch
   151 Patch7:         mozilla-aarch64-startup-crash.patch
   151 Patch7:         mozilla-aarch64-startup-crash.patch
   152 Patch8:         mozilla-bmo256180.patch
   152 Patch8:         mozilla-bmo256180.patch
       
   153 Patch9:         mozilla-bmo1005535.patch
   153 # Firefox/browser
   154 # Firefox/browser
   154 Patch101:       firefox-kde.patch
   155 Patch101:       firefox-kde.patch
   155 Patch102:       firefox-branded-icons.patch
   156 Patch102:       firefox-branded-icons.patch
   156 
   157 
   157 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   158 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   258 %ifarch %ix86
   259 %ifarch %ix86
   259 %patch6 -p1
   260 %patch6 -p1
   260 %endif
   261 %endif
   261 %patch7 -p1
   262 %patch7 -p1
   262 %patch8 -p1
   263 %patch8 -p1
       
   264 %patch9 -p1
   263 # Firefox
   265 # Firefox
   264 %patch101 -p1
   266 %patch101 -p1
   265 %patch102 -p1
   267 %patch102 -p1
   266 
   268 
   267 %build
   269 %build
   331 %ifarch %ix86 %arm
   333 %ifarch %ix86 %arm
   332 %if 0%{?suse_version} > 1230
   334 %if 0%{?suse_version} > 1230
   333 ac_add_options --disable-optimize
   335 ac_add_options --disable-optimize
   334 %endif
   336 %endif
   335 %endif
   337 %endif
   336 %ifarch ppc ppc64 ppc64le %arm
   338 %ifarch %arm
   337 ac_add_options --disable-elf-hack
   339 ac_add_options --disable-elf-hack
   338 %endif
   340 %endif
   339 ac_add_options --with-system-nspr
   341 ac_add_options --with-system-nspr
   340 ac_add_options --with-system-nss
   342 ac_add_options --with-system-nss
   341 %if %{localize}
   343 %if %{localize}