SPECS: hdf.spec - removed obsolete SWAP workaround - switched to g...

qboosh qboosh at pld-linux.org
Sun Mar 5 12:32:19 CET 2006


Author: qboosh                       Date: Sun Mar  5 11:32:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- removed obsolete SWAP workaround
- switched to gcc-fortran, release 3

---- Files affected:
SPECS:
   hdf.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SPECS/hdf.spec
diff -u SPECS/hdf.spec:1.29 SPECS/hdf.spec:1.30
--- SPECS/hdf.spec:1.29	Mon Mar 28 20:51:27 2005
+++ SPECS/hdf.spec	Sun Mar  5 12:32:13 2006
@@ -7,7 +7,7 @@
 Summary(pl):	Biblioteka HDF (Hierarchical Data Format)
 Name:		hdf
 Version:	4.2r1
-Release:	2
+Release:	3
 Group:		Libraries
 License:	Nearly BSD, but changed sources must be marked
 Source0:	ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF_Current/src/HDF%{version}.tar.gz
@@ -23,7 +23,7 @@
 BuildRequires:	automake
 BuildRequires:	bison
 BuildRequires:	flex
-BuildRequires:	gcc-g77
+BuildRequires:	gcc-fortran
 BuildRequires:	groff
 BuildRequires:	libjpeg-devel >= 6b
 BuildRequires:	libtool >= 2:1.4d-3
@@ -103,10 +103,6 @@
 %patch2 -p1
 %patch3 -p1
 
-%ifarch ppc ppc64 sparc sparcv9 sparc64
-%{__perl} -pi -e 's/^SWAP.*$/SWAP=/' config/mh-linux
-%endif
-
 %build
 cp -f /usr/share/automake/config.* hdf/fmpool
 %{__libtoolize}
@@ -114,7 +110,9 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+# need to pass F77 to override F77=g77 in config/linux-gnu
 %configure \
+	F77="%{_target_cpu}-pld-linux-gfortran" \
 	%{?with_szip:--with-szlib}
 
 %{__make}
@@ -176,6 +174,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2006/03/05 11:32:13  qboosh
+- removed obsolete SWAP workaround
+- switched to gcc-fortran, release 3
+
 Revision 1.29  2005/03/28 18:51:27  qboosh
 - BR: netcdf-devel, release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/hdf.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list