[hdf5] - Add docs to the mpi packages - Fixup example source file permissions

Orion Poplawski orion at fedoraproject.org
Wed Oct 27 15:32:41 UTC 2010


commit 1ae9e294081dc5abcd699bc2de3da818eff81e17
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Wed Oct 27 09:32:41 2010 -0600

    - Add docs to the mpi packages
    - Fixup example source file permissions

 hdf5.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/hdf5.spec b/hdf5.spec
index e4d98f6..0c0ba33 100644
--- a/hdf5.spec
+++ b/hdf5.spec
@@ -1,7 +1,7 @@
 %define snaprel %{nil}
 Name: hdf5
 Version: 1.8.5.patch1
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: A general purpose library and file format for storing scientific data
 License: BSD
 Group: System Environment/Libraries
@@ -87,7 +87,7 @@ HDF5 parallel openmpi development files
 %patch1 -p1 -b .longdouble
 %endif
 %patch4 -p1 -b .tstlite
-find -name '*.[ch]' -o -name '*.f90' -exec chmod -x {} +
+find -name '*.[ch]*' -o -name '*.f90' -exec chmod -x {} +
 
 
 %build
@@ -156,6 +156,8 @@ done
 #Fortran modules
 mkdir -p ${RPM_BUILD_ROOT}%{_fmoddir}
 mv ${RPM_BUILD_ROOT}%{_includedir}/*.mod ${RPM_BUILD_ROOT}%{_fmoddir}
+#Fixup example permissions
+find ${RPM_BUILD_ROOT}%{_datadir} -name '*.[ch]*' -o -name '*.f90' -exec chmod -x {} +
 
 #Fixup headers and scripts for multiarch
 %ifarch x86_64 ppc64 ia64 s390x sparc64 alpha
@@ -240,6 +242,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files mpich2
 %defattr(-,root,root,-)
+%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
+%doc release_docs/HISTORY*.txt
 %{_libdir}/mpich2/bin/gif2h5
 %{_libdir}/mpich2/bin/h52gif
 %{_libdir}/mpich2/bin/h5copy
@@ -261,6 +265,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files openmpi
 %defattr(-,root,root,-)
+%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
+%doc release_docs/HISTORY*.txt
 %{_libdir}/openmpi/bin/gif2h5
 %{_libdir}/openmpi/bin/h52gif
 %{_libdir}/openmpi/bin/h5copy
@@ -298,6 +304,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Oct 27 2010 Orion Poplawski <orion at cora.nwra.com> 1.8.5.patch1-3
+- Add docs to the mpi packages
+- Fixup example source file permissions
+
 * Tue Oct 26 2010 Orion Poplawski <orion at cora.nwra.com> 1.8.5.patch1-2
 - Build parallel hdf5 packages for mpich2 and openmpi
 - Rework multiarch support and drop multiarch patch


More information about the scm-commits mailing list