SPECS: mopac7.spec - use libf2c, fix libmopac7 linking

qboosh qboosh at pld-linux.org
Sun Jul 23 21:11:56 CEST 2006


Author: qboosh                       Date: Sun Jul 23 19:11:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use libf2c, fix libmopac7 linking

---- Files affected:
SPECS:
   mopac7.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/mopac7.spec
diff -u SPECS/mopac7.spec:1.1 SPECS/mopac7.spec:1.2
--- SPECS/mopac7.spec:1.1	Sun Jul 23 19:05:59 2006
+++ SPECS/mopac7.spec	Sun Jul 23 21:11:50 2006
@@ -9,8 +9,7 @@
 Source0:	http://dl.sourceforge.net/mopac7/%{name}-%{version}.tar.gz
 # Source0-md5:	501c34ad4995d127dca8461a05ceb66a
 URL:		http://sourceforge.net/projects/mopac7/
-# requires libg2c or libf2c
-BuildRequires:	gcc-g77 < 5:3.0
+BuildRequires:	libf2c-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,8 +23,7 @@
 Summary(pl):	Pliki nagłówkowe biblioteki MOPAC7
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-# just libg2c-devel or libf2c-devel
-Requires:	gcc-g77 < 5:3.0
+Requires:	libf2c-devel
 
 %description devel
 Header files for MOPAC7 library.
@@ -50,7 +48,8 @@
 
 %build
 %configure
-%{__make}
+%{__make} \
+	libmopac7_la_LIBADD=-lf2c
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -86,5 +85,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/07/23 19:11:50  qboosh
+- use libf2c, fix libmopac7 linking
+
 Revision 1.1  2006/07/23 17:05:59  qboosh
 - new, requires f2c library
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mopac7.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list