rpms/elektra/devel elektra.spec,1.6,1.7

Matt Domsch mdomsch at fedoraproject.org
Thu Sep 18 15:51:17 UTC 2008


Author: mdomsch

Update of /cvs/extras/rpms/elektra/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32724

Modified Files:
	elektra.spec 
Log Message:
add -D_GNU_SOURCE to CFLAGS, fixes FTBFS BZ#434364


Index: elektra.spec
===================================================================
RCS file: /cvs/extras/rpms/elektra/devel/elektra.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- elektra.spec	19 Feb 2008 18:10:46 -0000	1.6
+++ elektra.spec	18 Sep 2008 15:50:47 -0000	1.7
@@ -1,7 +1,7 @@
 Summary:       A key/value pair database to store software configurations
 Name:          elektra
 Version:       0.6.10
-Release:       7%{?dist}
+Release:       8%{?dist}
 Group:         System Environment/Libraries
 License:       BSD
 URL:           http://www.libelektra.org
@@ -67,6 +67,10 @@
 %patch1 -p1 -b .open
 
 %build
+CFLAGS="%{optflags} -D_GNU_SOURCE"
+export CFLAGS
+CXXFLAGS="%{optflags} -D_GNU_SOURCE"
+export CXXFLAGS
 %configure \
      --includedir=%{_includedir}/elektra \
      --program-prefix=%{name}- \
@@ -178,6 +182,9 @@
 
 
 %changelog
+* Thu Sep 18 2008 Matt Domsch <mdomsch at fedoraproject.org> - 0.6.10-8
+- add -D_GNU_SOURCE to CFLAGS, fixes FTBFS BZ#434364
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.6.10-7
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list