diff --git a/lldpad.spec b/lldpad.spec index 1cdbdb4..92d3ad0 100644 --- a/lldpad.spec +++ b/lldpad.spec @@ -7,7 +7,7 @@ Name: lldpad Version: 1.0.1 -Release: 5.git%{checkout}%{?dist} +Release: 6.git%{checkout}%{?dist} Summary: Intel LLDP Agent Group: System Environment/Daemons License: GPLv2 @@ -74,6 +74,7 @@ that use %{name}. %build ./bootstrap.sh +CFLAGS=${CFLAGS:-%optflags -Wno-error}; export CFLAGS; %configure --disable-static # fix the hardened build flags sed -i -e 's! \\\$compiler_flags !&\\\$CFLAGS \\\$LDFLAGS !' libtool @@ -112,6 +113,9 @@ rm -f %{buildroot}%{_libdir}/liblldp_clif.la %{_libdir}/liblldp_clif.so %changelog +* Sun Feb 12 2017 Chris Leech - 1.0.1-6.git036e314 +- disable -Werror from upstream to rebuild with newer compiler warnings + * Fri Feb 10 2017 Fedora Release Engineering - 1.0.1-5.git036e314 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild