From b98edd35380738b6ba5139a6c8baee116a8096be Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Tue, 10 Jun 2014 11:19:00 +0200 Subject: [PATCH] fix FTBFS if "-Werror=format-security" flag is used (#1025257) --- vorbis-tools.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vorbis-tools.spec b/vorbis-tools.spec index 2d3c3f7..8986f86 100644 --- a/vorbis-tools.spec +++ b/vorbis-tools.spec @@ -1,7 +1,7 @@ Summary: The Vorbis General Audio Compression Codec tools Name: vorbis-tools Version: 1.4.0 -Release: 13%{?dist} +Release: 14%{?dist} Epoch: 1 Group: Applications/Multimedia License: GPLv2 @@ -40,6 +40,9 @@ comment editor. %build +# fix FTBFS if "-Werror=format-security" flag is used (#1025257) +export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security" + %configure make %{?_smp_mflags} @@ -57,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}* %changelog +* Tue Jun 10 2014 Kamil Dudka - 1:1.4.0-14 +- fix FTBFS if "-Werror=format-security" flag is used (#1025257) + * Sun Jun 08 2014 Fedora Release Engineering - 1:1.4.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild