diff --git a/radvd.spec b/radvd.spec index 13760b5..95475b5 100644 --- a/radvd.spec +++ b/radvd.spec @@ -1,7 +1,7 @@ Summary: A Router Advertisement daemon Name: radvd Version: 1.9 -Release: 1%{?dist} +Release: 2%{?dist} # The code includes the advertising clause, so it's GPL-incompatible License: BSD with advertising Group: System Environment/Daemons @@ -40,7 +40,7 @@ for F in CHANGES; do done %build -export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIE" +export CFLAGS="$RPM_OPT_FLAGS -fPIE" export LDFLAGS='-pie -Wl,-z,relro,-z,now,-z,noexecstack,-z,nodlopen' %configure --with-pidfile=%{_localstatedir}/run/radvd/radvd.pid make @@ -101,6 +101,9 @@ exit 0 %{_sbindir}/radvdump %changelog +* Fri Jun 15 2012 Petr Pisar - 1.9-2 +- Drop already defined _GNU_SOURCE symbol + * Fri Jun 15 2012 Petr Pisar - 1.9-1 - 1.9 bump