SPECS: colamd.spec - updated shared patch to use -lm when linking ...

qboosh qboosh at pld-linux.org
Sun Apr 1 12:15:40 CEST 2007


Author: qboosh                       Date: Sun Apr  1 10:15:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated shared patch to use -lm when linking the library
- pass libdir to make
- BR: libtool

---- Files affected:
SPECS:
   colamd.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/colamd.spec
diff -u SPECS/colamd.spec:1.3 SPECS/colamd.spec:1.4
--- SPECS/colamd.spec:1.3	Fri Mar 30 19:03:28 2007
+++ SPECS/colamd.spec	Sun Apr  1 12:15:35 2007
@@ -12,6 +12,7 @@
 Patch1:		%{name}-shared.patch
 URL:		http://www.cise.ufl.edu/research/sparse/colamd/
 BuildRequires:	UFconfig
+BuildRequires:	libtool >= 2:1.5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -71,12 +72,15 @@
 %build
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}"
+	CFLAGS="%{rpmcflags}" \
+	libdir=%{_libdir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	libdir=%{_libdir}
 
 install -D colamd.h $RPM_BUILD_ROOT%{_includedir}/colamd.h
 
@@ -107,6 +111,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/04/01 10:15:35  qboosh
+- updated shared patch to use -lm when linking the library
+- pass libdir to make
+- BR: libtool
+
 Revision 1.3  2007/03/30 17:03:28  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/colamd.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list