rpms/openmpi/devel openmpi.spec,1.23,1.24
Doug Ledford (dledford)
fedora-extras-commits at redhat.com
Mon Jul 16 17:42:40 UTC 2007
Author: dledford
Update of /cvs/extras/rpms/openmpi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14425
Modified Files:
openmpi.spec
Log Message:
Fix directory permission problem
Index: openmpi.spec
===================================================================
RCS file: /cvs/extras/rpms/openmpi/devel/openmpi.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- openmpi.spec 12 Jul 2007 12:12:05 -0000 1.23
+++ openmpi.spec 16 Jul 2007 17:42:07 -0000 1.24
@@ -131,6 +131,13 @@
rm -rf ${RPM_BUILD_ROOT}
make install DESTDIR=${RPM_BUILD_ROOT}
+# Because no package owns the base openmpi directories, the install sets
+# the mode wrong. This will cause problems when the first copy of openmpi
+# is installed on a system. Correct the directory permissions here.
+chmod 755 ${RPM_BUILD_ROOT}/%{_libdir}/openmpi
+chmod 755 ${RPM_BUILD_ROOT}/%{_includedir}/openmpi
+chmod 755 ${RPM_BUILD_ROOT}/%{_datadir}/openmpi
+
# Remove the symlinks from common names to the unique name in /usr/bin too
rm ${RPM_BUILD_ROOT}%{_bindir}/mpi*
# Move the wrapper program to a name that denotes the mode it compiles
@@ -256,6 +263,9 @@
%changelog
+* Mon Jul 16 2007 Doug Ledford <dledford at redhat.com> - 1.2.3-4
+- Fix a directory permission problem on the base openmpi directories
+
* Thu Jul 12 2007 Florian La Roche <laroche at redhat.com> - 1.2.3-3
- requires alternatives for various sub-rpms
More information about the scm-commits
mailing list