Enable _legacy_common_support

This commit is contained in:
Jeff Law 2020-08-07 11:12:59 -06:00
parent b45f096bb1
commit ec24f2e049

View File

@ -7,7 +7,7 @@
Name: lldpad Name: lldpad
Version: 1.0.1 Version: 1.0.1
Release: 19.git%{checkout}%{?dist} Release: 20.git%{checkout}%{?dist}
Summary: Intel LLDP Agent Summary: Intel LLDP Agent
License: GPLv2 License: GPLv2
URL: http://open-lldp.org/ URL: http://open-lldp.org/
@ -85,7 +85,7 @@ that use %{name}.
%build %build
./bootstrap.sh ./bootstrap.sh
CFLAGS=${CFLAGS:-%optflags -Wno-error}; export CFLAGS; CFLAGS=${CFLAGS:-%optflags -Wno-error -fcommon}; export CFLAGS;
%configure --disable-static %configure --disable-static
# fix the hardened build flags # fix the hardened build flags
sed -i -e 's! \\\$compiler_flags !&\\\$CFLAGS \\\$LDFLAGS !' libtool sed -i -e 's! \\\$compiler_flags !&\\\$CFLAGS \\\$LDFLAGS !' libtool
@ -122,6 +122,9 @@ rm -f %{buildroot}%{_libdir}/liblldp_clif.la
%{_libdir}/liblldp_clif.so %{_libdir}/liblldp_clif.so
%changelog %changelog
* Fri Aug 07 2020 Jeff Law <law@redhat.com> - 1.0.1-20.git036e314
- Enable _legacy_common_support
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-19.git036e314 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-19.git036e314
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild