Clean ups

This commit is contained in:
Doug Ledford 2006-08-07 20:43:43 +00:00
parent a0402c7b7e
commit 95fb784f43
1 changed files with 3 additions and 7 deletions

View File

@ -1,6 +1,6 @@
Name: openmpi
Version: 1.1
Release: 1%{dist}
Release: 1%{?dist}
Summary: Open Message Passing Interface
Group: Development/Libraries
@ -78,7 +78,7 @@ make %{?_smp_mflags}
%install
rm -rf ${RPM_BUILD_ROOT}
make install DESTDIR=$RPM_BUILD_ROOT
make install DESTDIR=${RPM_BUILD_ROOT}
#
# Resolve LAM clashes and create %{_datadir}/openmpi/{bin,lib,include} :
. %SOURCE1
@ -137,21 +137,17 @@ if [ "$1" -ge 1 ]; then
fi;
/sbin/ldconfig
%preun
%postun -p /sbin/ldconfig
%post devel -p /sbin/ldconfig
%preun devel
%postun devel -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc LICENSE README
%ghost %{_sysconfdir}/ld.so.conf.d/mpi.conf
%config %{_sysconfdir}/openmpi-*
%config(noreplace) %{_sysconfdir}/openmpi-*
%{_bindir}/orte*
#%{_bindir}/*run
%{_bindir}/*exec