Fix directory permission problem
This commit is contained in:
parent
a8a15269e1
commit
f5b7a30eb0
10
openmpi.spec
10
openmpi.spec
@ -131,6 +131,13 @@ make %{?_smp_mflags}
|
|||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
make install DESTDIR=${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
|
# Remove the symlinks from common names to the unique name in /usr/bin too
|
||||||
rm ${RPM_BUILD_ROOT}%{_bindir}/mpi*
|
rm ${RPM_BUILD_ROOT}%{_bindir}/mpi*
|
||||||
# Move the wrapper program to a name that denotes the mode it compiles
|
# Move the wrapper program to a name that denotes the mode it compiles
|
||||||
@ -256,6 +263,9 @@ alternatives --remove mpicc %{_bindir}/opal_wrapper-%{version}-%{opt_cc}-%{mode}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 16 2007 Doug Ledford <dledford@redhat.com> - 1.2.3-4
|
||||||
|
- Fix a directory permission problem on the base openmpi directories
|
||||||
|
|
||||||
* Thu Jul 12 2007 Florian La Roche <laroche@redhat.com> - 1.2.3-3
|
* Thu Jul 12 2007 Florian La Roche <laroche@redhat.com> - 1.2.3-3
|
||||||
- requires alternatives for various sub-rpms
|
- requires alternatives for various sub-rpms
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user