[radvd] Drop already defined _GNU_SOURCE symbol

Petr Pisar ppisar at fedoraproject.org
Fri Jun 15 13:08:52 UTC 2012


commit 9a9e4f6b397177019c8b5738804026a07a9ac280
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Jun 15 15:08:33 2012 +0200

    Drop already defined _GNU_SOURCE symbol

 radvd.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
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 <ppisar at redhat.com> - 1.9-2
+- Drop already defined _GNU_SOURCE symbol
+
 * Fri Jun 15 2012 Petr Pisar <ppisar at redhat.com> - 1.9-1
 - 1.9 bump
 


More information about the scm-commits mailing list