summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec7
1 files changed, 6 insertions, 1 deletions
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 <stransky@redhat.com> - 26.0-3
+- Build with -Werror=format-security (rhbz#1037063)
+
* Mon Dec 9 2013 Martin Stransky <stransky@redhat.com> - 26.0-2
- Update to 26.0 Build 2
bgstack15