From d6ac14fbe3f703cde7cc341e6c1bcf86f64bc862 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Dec 13 2013 13:17:56 +0000 Subject: Build with -Werror=format-security (rhbz#1037063) --- diff --git a/firefox.spec b/firefox.spec index a3266d2..002b32a 100644 --- a/firefox.spec +++ b/firefox.spec @@ -58,7 +58,7 @@ Summary: Mozilla Firefox Web browser Name: firefox Version: 26.0 -Release: 2%{?pre_tag}%{?dist} +Release: 3%{?pre_tag}%{?dist} URL: http://www.mozilla.org/projects/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -193,6 +193,8 @@ cd %{tarballdir} # MOZ_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | \ %{__sed} -e 's/-Wall//') +#rhbz#1037063 +MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security" %if %{?debug_build} MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//') %endif @@ -443,6 +445,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Fri Dec 13 2013 Martin Stransky - 26.0-3 +- Build with -Werror=format-security (rhbz#1037063) + * Mon Dec 9 2013 Martin Stransky - 26.0-2 - Update to 26.0 Build 2