rpms/gdpc/devel gdpc.spec,1.2,1.3

Jussi Lehtola jussilehtola at fedoraproject.org
Wed Feb 10 22:21:31 UTC 2010


Author: jussilehtola

Update of /cvs/pkgs/rpms/gdpc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28172

Modified Files:
	gdpc.spec 
Log Message:
Add -lm to linker command.


Index: gdpc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdpc/devel/gdpc.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- gdpc.spec	24 Jul 2009 23:43:53 -0000	1.2
+++ gdpc.spec	10 Feb 2010 22:20:50 -0000	1.3
@@ -1,7 +1,7 @@
 Summary:	A program for visualising molecular dynamics simulations data
 Name:		gdpc
 Version:	2.2.5
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	GPLv2+
 Group:		Applications/Engineering
 URL:		http://www.frantz.fi/software/gdpc.php
@@ -33,7 +33,11 @@ Categories=Graphics;3DGraphics;Science;C
 EOF
 
 %build
-make CFLAGS="%{optflags}" %{?_smp_mflags}
+#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}
 
 %install
 rm -rf %{buildroot} 
@@ -50,17 +54,14 @@ rm -rf %{buildroot}
 %{_datadir}/applications/gdpc.desktop
 
 %changelog
+* Thu Feb 11 2010 Jussi Lehtola <jussilehtola at fedoraproject.org> - 2.2.5-3
+- Fix FTBFS in Fedora 13 by adding missing -lm to linker command.
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.5-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
-* Wed Apr 22 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.2.5-1
+* Wed Apr 22 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 2.2.5-1
 - Conversion of spec to Fedora.
+
 * Sat Dec 11 2004 Jonas Frantz <frantz at acclab.helsinki.fi>
 - Version 2.2.4 released
-* Wed Dec 8 2004 Jonas Frantz <frantz at acclab.helsinki.fi>
-- Version 2.2.3.1 released
-* Mon Dec 6 2004 Jonas Frantz <frantz at acclab.helsinki.fi>
-- Version 2.2.3 released
-* Sat Aug 9 2003 Jonas Frantz <jonas.frantz at helsinki.fi>
-- Initial build
-



More information about the scm-commits mailing list