From 6081e4e5ea6cef45179e3e09fe8d54bdb7fc4b8b Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mar 15 2006 22:29:45 +0000 Subject: - Change rpath patch to not need autoconf - Add patch for libtool on x86_64 - Fix shared lib permissions --- diff --git a/hdf5.spec b/hdf5.spec index ce8f672..904a735 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -1,6 +1,6 @@ Name: hdf5 Version: 1.6.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A general purpose library and file format for storing scientific data License: BSD-ish Group: System Environment/Libraries @@ -13,6 +13,7 @@ Patch3: hdf5-1.6.4-testh5repack.patch Patch4: hdf5-1.6.5-h5diff_attr.patch Patch5: hdf5-1.6.4-ppc.patch Patch6: hdf5-1.6.5-flags.patch +Patch7: hdf5-1.6.5-x86_64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-gfortran, time @@ -42,9 +43,9 @@ HDF5 development headers and libraries. %patch4 -p1 %patch5 -p1 %patch6 -p1 -b .flags +%patch7 -p1 -b .x86_64 %build -autoconf %configure --with-ssl --enable-cxx --enable-fortran \ --enable-threadsafe --with-pthread make @@ -52,7 +53,8 @@ make %install rm -rf $RPM_BUILD_ROOT find doc/html -type f | xargs chmod -x -find doc/html -name '*.sh*' | xargs chmod +x +#find doc/html -name '*.sh*' | xargs chmod +x +find doc/html -name Dependencies | xargs rm %makeinstall docdir=${RPM_BUILD_ROOT}%{_docdir} rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la $RPM_BUILD_ROOT/%{_libdir}/*.settings # Don't instal h5perf until h5test.so.0 issues is sorted out @@ -69,7 +71,7 @@ rm -rf $RPM_BUILD_ROOT %postun -p /sbin/ldconfig %files -%defattr(-,root,root,0755) +%defattr(-,root,root,-) %doc COPYING MANIFEST README.txt release_docs/RELEASE.txt %doc release_docs/HISTORY.txt doc/html %{_bindir}/gif2h5 @@ -83,10 +85,10 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/h5repack %{_bindir}/h5repart %{_bindir}/h5unjam -%{_libdir}/*.so.* +%attr(0755,root,root) %{_libdir}/*.so.* %files devel -%defattr(-,root,root,0755) +%defattr(-,root,root,-) %{_bindir}/h5c++ %{_bindir}/h5cc %{_bindir}/h5fc @@ -98,6 +100,11 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.mod %changelog +* Wed Mar 15 2006 Orion Poplawski 1.6.5-5 +- Change rpath patch to not need autoconf +- Add patch for libtool on x86_64 +- Fix shared lib permissions + * Mon Mar 13 2006 Orion Poplawski 1.6.5-4 - Add patch to avoid HDF setting the compiler flags