FTBFS with gcc7, removed -Werror (no upstream to fix problems anyway)

This commit is contained in:
Frantisek Kluknavsky 2017-02-22 16:21:17 +01:00
parent 1728945d05
commit 6f70eb368b

View File

@ -1,7 +1,7 @@
Summary: A collection of CD/DVD utilities
Name: cdrkit
Version: 1.1.11
Release: 33%{?dist}
Release: 34%{?dist}
License: GPLv2
Group: Applications/System
URL: http://cdrkit.org/
@ -151,7 +151,7 @@ find doc -type f -print0 | xargs -0 chmod a-x
%build
mkdir fedora
cd fedora
export CFLAGS="$RPM_OPT_FLAGS -Wall -Werror -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-array-bounds -fno-strict-aliasing -Wno-logical-not-parentheses -Wno-error=misleading-indentation -Wno-misleading-indentation"
export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
export FFLAGS="$CFLAGS"
%cmake CMAKE_VERBOSE=1 \
@ -304,6 +304,9 @@ fi
%{_includedir}/usal
%changelog
* Wed Feb 22 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.1.11-34
- FTBFS with gcc7, removed -Werror (no upstream to fix problems anyway)
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild