MozillaFirefox/MozillaFirefox.spec
branchfirefox48
changeset 926 6ab8b16f232c
parent 925 05d175c5957e
child 927 300ed867f7fd
equal deleted inserted replaced
925:05d175c5957e 926:6ab8b16f232c
     1 #
     1 #
     2 # spec file for package MozillaFirefox
     2 # spec file for package MozillaFirefox
     3 #
     3 #
     4 # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
     4 # Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
     5 #               2006-2016 Wolfgang Rosenauer
     5 #               2006-2016 Wolfgang Rosenauer
     6 #
     6 #
     7 # All modifications and additions to the file contributed by third parties
     7 # All modifications and additions to the file contributed by third parties
     8 # remain the property of their copyright owners, unless otherwise agreed
     8 # remain the property of their copyright owners, unless otherwise agreed
     9 # upon. The license for this file, and modifications and additions to the
     9 # upon. The license for this file, and modifications and additions to the
   152 Patch18:        mozilla-old_configure-bmo1282843.patch
   152 Patch18:        mozilla-old_configure-bmo1282843.patch
   153 # Firefox/browser
   153 # Firefox/browser
   154 Patch101:       firefox-kde.patch
   154 Patch101:       firefox-kde.patch
   155 Patch102:       firefox-no-default-ualocale.patch
   155 Patch102:       firefox-no-default-ualocale.patch
   156 Patch103:       firefox-branded-icons.patch
   156 Patch103:       firefox-branded-icons.patch
       
   157 # hotfix
       
   158 Patch150:       mozilla-flex_buffer_overrun.patch
       
   159 
   157 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   160 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   158 Requires(post):   coreutils shared-mime-info desktop-file-utils
   161 Requires(post):   coreutils shared-mime-info desktop-file-utils
   159 Requires(postun): shared-mime-info desktop-file-utils
   162 Requires(postun): shared-mime-info desktop-file-utils
   160 %if %branding
   163 %if %branding
   161 Requires:       %{name}-branding > 39.0
   164 Requires:       %{name}-branding > 39.0
   268 %patch18 -p1
   271 %patch18 -p1
   269 # Firefox
   272 # Firefox
   270 %patch101 -p1
   273 %patch101 -p1
   271 %patch102 -p1
   274 %patch102 -p1
   272 %patch103 -p1
   275 %patch103 -p1
       
   276 %patch150 -p1
   273 
   277 
   274 %build
   278 %build
   275 # no need to add build time to binaries
   279 # no need to add build time to binaries
   276 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/MozillaFirefox.changes")"
   280 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/MozillaFirefox.changes")"
   277 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
   281 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""