SPECS: openmpi.spec - add -ksh.patch - proper compiler BR

glen glen at pld-linux.org
Wed Jan 9 00:52:09 CET 2008


Author: glen                         Date: Tue Jan  8 23:52:09 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add -ksh.patch
- proper compiler BR

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

---- Diffs:

================================================================
Index: SPECS/openmpi.spec
diff -u SPECS/openmpi.spec:1.1 SPECS/openmpi.spec:1.2
--- SPECS/openmpi.spec:1.1	Wed Jan  9 00:23:29 2008
+++ SPECS/openmpi.spec	Wed Jan  9 00:52:04 2008
@@ -5,10 +5,11 @@
 Release:	0.1
 License:	BSD
 Group:		Development
-Source0:	http://www.open-mpi.org/software/ompi/v1.2/downloads/openmpi-1.2.5.tar.bz2
+Source0:	http://www.open-mpi.org/software/ompi/v1.2/downloads/%{name}-%{version}.tar.bz2
 # Source0-md5:	c6e82aab6cdcd425bf29217e8317d7dc
 URL:		http://www.open-mpi.org
-BuildRequires:	gcc-gfortran
+Patch0:		%{name}-ksh.patch
+BuildRequires:	gcc-fortran
 Requires:	%{name}-libs = %{version}-%{release}
 Conflicts:	lam
 Conflicts:	mpich
@@ -54,8 +55,17 @@
 
 %prep
 %setup -q
+%patch0 -p1
+
+mv -f configure{,.orig}
 
 %build
+if [ ! -f configure -o configure.ac -nt configure ]; then
+	%{__aclocal}
+	%{__autoconf}
+	%{__autoheader}
+	%{__automake}
+fi
 %configure
 %{__make}
 
@@ -103,6 +113,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008-01-08 23:52:04  glen
+- add -ksh.patch
+- proper compiler BR
+
 Revision 1.1  2008-01-08 23:23:29  glen
 - initial, based on mandriva contrib
 
================================================================

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



More information about the pld-cvs-commit mailing list