[libxc] Fix FTBFS in rawhide.

Susi Lehtola jussilehtola at fedoraproject.org
Wed Mar 6 13:23:02 UTC 2013


commit b7a2c35d99548ab8c66f680f72b44f1c0e98e603
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Wed Mar 6 15:22:58 2013 +0200

    Fix FTBFS in rawhide.

 libxc.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/libxc.spec b/libxc.spec
index 2b2d08f..48588d7 100644
--- a/libxc.spec
+++ b/libxc.spec
@@ -5,7 +5,7 @@
 Name:		libxc
 Summary:	Library of exchange and correlation functionals to be used in DFT codes
 Version:	2.0.1
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	LGPLv3+
 Group:		Applications/Engineering
 BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
@@ -47,6 +47,8 @@ in order to compile programs against libxc.
 %setup -q
 
 %build
+# Don't insert C code during preprocessing
+export FCCPP="cpp -ffreestanding"
 %configure --enable-shared --disable-static
 # SMP make is not working.
 #make %{?_smp_mflags}
@@ -81,6 +83,9 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/libxc.pc
 
 %changelog
+* Wed Mar 06 2013 Susi Lehtola <jussilehtola at fedoraproject.org> - 2.0.1-3
+- Fix FTBFS in rawhide.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list