From 4030299c39e2e0844fd0ac753652e5faa2e84b25 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 2 Mar 2010 20:45:51 +0000 Subject: [PATCH] - Update to 4.2.5 --- .cvsignore | 2 +- hdf-4.2r4-buffer.patch | 11 ----------- hdf.spec | 26 +++++++++++++------------- sources | 2 +- 4 files changed, 15 insertions(+), 26 deletions(-) delete mode 100644 hdf-4.2r4-buffer.patch diff --git a/.cvsignore b/.cvsignore index 95310c5..d18263b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -HDF4.2r4.tar.gz +hdf-4.2.5.tar.bz2 diff --git a/hdf-4.2r4-buffer.patch b/hdf-4.2r4-buffer.patch deleted file mode 100644 index 32968a3..0000000 --- a/hdf-4.2r4-buffer.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- HDF4.2r4/mfhdf/libsrc/tncunlim.c.buffer 2009-01-10 19:34:26.000000000 -0700 -+++ HDF4.2r4/mfhdf/libsrc/tncunlim.c 2009-02-25 11:08:46.000000000 -0700 -@@ -646,7 +646,7 @@ - long dimsize = 0, /* unlimited dimension size */ - dimsize1 = 0, dimsize2 = 0; /* other dimension sizes */ - short outdata[DIM0][DIM1][DIM2]; /* data read back */ -- char varname[10]; /* variable name */ -+ char varname[12]; /* variable name */ - nc_type rh_type; /* variable type */ - int rh_ndims; /* number of dims */ - int rh_dims[H4_MAX_VAR_DIMS]; /* variable shape */ diff --git a/hdf.spec b/hdf.spec index c57d2be..4f86ad0 100644 --- a/hdf.spec +++ b/hdf.spec @@ -1,17 +1,15 @@ Name: hdf -Version: 4.2r4 -Release: 5%{?dist} +Version: 4.2.5 +Release: 1%{?dist} Summary: A general purpose library and file format for storing scientific data License: BSD Group: System Environment/Libraries URL: http://hdfgroup.org/products/hdf4/index.html -Source0: ftp://ftp.hdfgroup.org/HDF/HDF_Current/src/HDF%{version}.tar.gz -Patch0: hdf-4.2r3-maxavailfiles.patch -Patch1: hdf-4.2r3-ppc.patch -Patch2: hdf-4.2r2-sparc.patch -Patch3: hdf-4.2r2-s390.patch -# Reported upstream to help@hdfgroup.org -Patch4: hdf-4.2r4-buffer.patch +Source0: ftp://ftp.hdfgroup.org/HDF/HDF_Current/src/%{name}-%{version}.tar.bz2 +Patch0: hdf-4.2.5-maxavailfiles.patch +Patch1: hdf-4.2.4-ppc.patch +Patch2: hdf-4.2.4-sparc.patch +Patch3: hdf-4.2.4-s390.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: flex byacc libjpeg-devel zlib-devel %if "%{?dist}" != ".el4" @@ -43,12 +41,11 @@ HDF development headers and libraries. %prep -%setup -q -n HDF%{version} +%setup -q %patch0 -p1 -b .maxavailfiles %patch1 -p1 -b .ppc %patch2 -p1 -b .sparc %patch3 -p1 -b .s390 -%patch4 -p1 -b .buffer chmod a-x *hdf/*/*.c hdf/*/*.h # restore include file timestamps modified by patching @@ -84,7 +81,7 @@ for file in ncdump ncgen; do done # this is done to have the same timestamp on multiarch setups -touch -c -r README $RPM_BUILD_ROOT/%{_includedir}/hdf/h4config.h +touch -c -r README.txt $RPM_BUILD_ROOT/%{_includedir}/hdf/h4config.h # Remove an autoconf conditional from the API that is unused and cause # the API to be different on x86 and x86_64 @@ -104,7 +101,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,0755) -%doc COPYING MANIFEST README release_notes/*.txt +%doc COPYING MANIFEST README.txt release_notes/*.txt %{_bindir}/* %{_mandir}/man1/*.gz @@ -115,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Mar 2 2010 Orion Poplawski 4.2.5-1 +- Update to 4.2.5 + * Fri Sep 18 2009 Orion Poplawski 4.2r4-5 - Add EL4 build conditionals diff --git a/sources b/sources index 9c0901d..fe276a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cbcfcdb65f27b743c6001c17619704a8 HDF4.2r4.tar.gz +91bc17ec735b52736507570a530fe8a9 hdf-4.2.5.tar.bz2