[gdpc] Fix FTBFS.

Jussi Lehtola jussilehtola at fedoraproject.org
Thu Jan 19 14:36:02 UTC 2012


commit 0259526e301965d1eda9636f9e5dda49ef26dff6
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Thu Jan 19 16:35:59 2012 +0200

    Fix FTBFS.

 gdpc.spec |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gdpc.spec b/gdpc.spec
index adcb4a6..7d10fa2 100644
--- a/gdpc.spec
+++ b/gdpc.spec
@@ -1,7 +1,7 @@
 Summary:	A program for visualising molecular dynamics simulations data
 Name:		gdpc
 Version:	2.2.5
-Release:	6%{?dist}
+Release:	7%{?dist}
 License:	GPLv2+
 Group:		Applications/Engineering
 URL:		http://www.frantz.fi/software/gdpc.php
@@ -33,11 +33,9 @@ Categories=Graphics;3DGraphics;Science;Chemistry;Physics;DataVisualization;
 EOF
 
 %build
-#make CFLAGS="%{optflags}" %{?_smp_mflags}
-
 # Patch around missing -lm
 libs="`pkg-config --libs gtk+-2.0 gthread-2.0` -lm"
-make CFLAGS="%{optflags}" LIBS="$libs" %{?_smp_mflags}
+make CFLAGS="%{optflags} -UG_DISABLE_DEPRECATED" LIBS="$libs" %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot} 
@@ -54,6 +52,9 @@ rm -rf %{buildroot}
 %{_datadir}/applications/gdpc.desktop
 
 %changelog
+* Thu Jan 19 2012 Jussi Lehtola <jussilehtola at fedoraproject.org> - 2.2.5-7
+- Fix FTBFS on rawhide.
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.5-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list