rpms/hdf/EL-5 hdf-4.2r1p4-maxavailfiles.patch, NONE, 1.1 hdf.spec, 1.12, 1.13
Orion Poplawski (orion)
fedora-extras-commits at redhat.com
Fri Apr 20 21:21:11 UTC 2007
- Previous message: rpms/hdf/EL-4 hdf-4.2r1p4-maxavailfiles.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 hdf.spec, 1.12, 1.13 sources, 1.2, 1.3 hdf-4.2r1-configure.patch, 1.1, NONE
- Next message: rpms/hdf/FC-6 hdf-4.2r1p4-maxavailfiles.patch, NONE, 1.1 hdf.spec, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: orion
Update of /cvs/extras/rpms/hdf/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18587/EL-5
Modified Files:
hdf.spec
Added Files:
hdf-4.2r1p4-maxavailfiles.patch
Log Message:
- Use --disable-production configure flag to avoid stripping -g compile flag
- Add patch to fix open file test when run under mock
hdf-4.2r1p4-maxavailfiles.patch:
--- NEW FILE hdf-4.2r1p4-maxavailfiles.patch ---
--- 4.2r1-hrepack-p4/mfhdf/libsrc/file.c.maxavailfiles 2007-04-20 12:21:12.000000000 -0600
+++ 4.2r1-hrepack-p4/mfhdf/libsrc/file.c 2007-04-20 12:21:50.000000000 -0600
@@ -31,7 +31,7 @@
/* Maximum number of files can be opened at one time; subtract 3 from
the system allowed to account for stdin, stdout, and stderr */
-#define MAX_AVAIL_OPENFILES (MAX_SYS_OPENFILES - 3)
+#define MAX_AVAIL_OPENFILES (MAX_SYS_OPENFILES - 10)
static int _ncdf = 0 ; /* high water mark on open cdf's */
static NC **_cdfs;
Index: hdf.spec
===================================================================
RCS file: /cvs/extras/rpms/hdf/EL-5/hdf.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- hdf.spec 20 Apr 2007 17:18:51 -0000 1.12
+++ hdf.spec 20 Apr 2007 21:20:36 -0000 1.13
@@ -7,6 +7,7 @@
URL: http://hdf.ncsa.uiuc.edu/hdf4.html
#Source0: ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF_Current/src/HDF%{version}.tar.gz
Source0: ftp://ftp.hdfgroup.org/HDF/HDF_Current/src/4.2r1-hrepack-p4.tar.gz
+Patch0: hdf-4.2r1p4-maxavailfiles.patch
Patch1: hdf-4.2r1-ppc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf flex byacc libjpeg-devel zlib-devel
@@ -36,13 +37,14 @@
%prep
#%setup -q -n HDF%{version}
%setup -q -n 4.2r1-hrepack-p4
+%patch -p1 -b .maxavailfiles
%patch1 -p1 -b .orig
%build
autoconf
export CFLAGS="$RPM_OPT_FLAGS -fPIC -DHAVE_NETCDF"
-%configure F77=gfortran FFLAGS=-ffixed-line-length-none
+%configure F77=gfortran FFLAGS=-ffixed-line-length-none --disable-production
make
@@ -78,6 +80,8 @@
* Fri Apr 20 2007 Orion Poplawski <orion at cora.nwra.com> 4.2r1-12
- Use 4.2r1-hrepack-p4.tar.gz for hrepack patch
- Remove configure patch applied upstream
+- Use --disable-production configure flag to avoid stripping -g compile flag
+- Add patch to fix open file test when run under mock
* Tue Aug 29 2006 Orion Poplawski <orion at cora.nwra.com> 4.2r1-11
- Rebuild for FC6
- Previous message: rpms/hdf/EL-4 hdf-4.2r1p4-maxavailfiles.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 hdf.spec, 1.12, 1.13 sources, 1.2, 1.3 hdf-4.2r1-configure.patch, 1.1, NONE
- Next message: rpms/hdf/FC-6 hdf-4.2r1p4-maxavailfiles.patch, NONE, 1.1 hdf.spec, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list