rpms/cernlib/devel cernlib.spec,1.78,1.79

Hans de Goede jwrdegoede at fedoraproject.org
Thu Oct 1 11:49:16 UTC 2009


Author: jwrdegoede

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

Modified Files:
	cernlib.spec 
Log Message:
* Thu Oct  1 2009 Hans de Goede <hdegoede at redhat.com> 2006-34
- Fix FTBFS



Index: cernlib.spec
===================================================================
RCS file: /cvs/extras/rpms/cernlib/devel/cernlib.spec,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -p -r1.78 -r1.79
--- cernlib.spec	24 Jul 2009 18:48:20 -0000	1.78
+++ cernlib.spec	1 Oct 2009 11:49:16 -0000	1.79
@@ -55,7 +55,7 @@
 
 Name:          %{?compat}cernlib%{?compiler}
 Version:       2006
-Release:       33%{?dist}
+Release:       34%{?dist}
 Summary:       General purpose CERN library
 Group:         Development/Libraries
 # As explained in the cernlib on debian FAQ, cfortran can be considered LGPL.
@@ -914,7 +914,7 @@ fi
         sed -i.gfortran -e 's/f77/gfortran/' fcasplit.f p4boot.sh
 %endif
         sed -i.optflags -e 's/FOPT \+=.*/FOPT = "'"$FC_OPTFLAGS"'"/' \
-                 -e 's/COPT  \+=.*/COPT = "%{optflags}"/' p4boot.sh
+                 -e 's/COPT  \+=.*/COPT = "%{optflags} -D_GNU_SOURCE"/' p4boot.sh
 #        export PATH="$CERN/patchy:$CERN/patchy/p4sub:$PATH" 
         export PATH=".:..:$PATH" 
         p4boot.sh 0
@@ -922,7 +922,7 @@ popd
 export PATH=$PATHSAVE
 
 # pass informations to the build system through host.def
-echo '#define DefaultCDebugFlags %{optflags}' >> ${CVSCOSRC}/config/host.def
+echo '#define DefaultCDebugFlags %{optflags} -D_GNU_SOURCE' >> ${CVSCOSRC}/config/host.def
 
 %if %{with gfortran}
 echo '#define Hasgfortran YES' >> ${CVSCOSRC}/config/host.def
@@ -1435,6 +1435,9 @@ touch --no-create %{_datadir}/icons/hico
 %endif
 
 %changelog
+* Thu Oct  1 2009 Hans de Goede <hdegoede at redhat.com> 2006-34
+- Fix FTBFS
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2006-33
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list