From 95580905d5692952b7be8325b54c50c3d469ca73 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 26 Sep 2008 20:51:24 +0000 Subject: [PATCH] - Add patch to filter -little as option used on sh arch (#464052) Thu Jun 5 2008 Orion Poplawski 1.8.1-1 - Update to 1.8.1 --- hdf5-1.8.1-filter-as-option.patch | 11 +++++++++++ hdf5.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 hdf5-1.8.1-filter-as-option.patch diff --git a/hdf5-1.8.1-filter-as-option.patch b/hdf5-1.8.1-filter-as-option.patch new file mode 100644 index 0000000..8c9b45f --- /dev/null +++ b/hdf5-1.8.1-filter-as-option.patch @@ -0,0 +1,11 @@ +--- hdf5-1.8.1/configure.filter-as-option 2008-05-29 10:39:04.000000000 -0600 ++++ hdf5-1.8.1/configure 2008-09-26 14:49:26.000000000 -0600 +@@ -4929,7 +4929,7 @@ + + ;; + # Ignore these flags. +- -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*) ++ -little | -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*) + ;; + -lkernel32) + test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" diff --git a/hdf5.spec b/hdf5.spec index 36ab944..fa7a857 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -1,6 +1,6 @@ Name: hdf5 Version: 1.8.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A general purpose library and file format for storing scientific data License: BSD Group: System Environment/Libraries @@ -13,6 +13,7 @@ Patch2: hdf5-1.8.0-destdir.patch Patch3: hdf5-1.8.0-multiarch.patch Patch4: hdf5-1.8.0-scaleoffset.patch Patch5: hdf5-1.8.0-longdouble.patch +Patch6: hdf5-1.8.1-filter-as-option.patch Patch10: hdf5-1.6.5-open.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-gfortran, time @@ -54,6 +55,7 @@ HDF5 static libraries. %ifarch ppc64 %patch5 -p1 -b .longdouble %endif +%patch6 -p1 -b .filter-as-option %patch10 -p1 -b .open @@ -160,6 +162,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Sep 26 2008 Orion Poplawski 1.8.1-2 +- Add patch to filter -little as option used on sh arch (#464052) + * Thu Jun 5 2008 Orion Poplawski 1.8.1-1 - Update to 1.8.1