From 95fb784f43938edd54ab5f94e6f3dca44cd063a1 Mon Sep 17 00:00:00 2001 From: Doug Ledford Date: Mon, 7 Aug 2006 20:43:43 +0000 Subject: [PATCH] Clean ups --- openmpi.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/openmpi.spec b/openmpi.spec index d5dc22b..74c438c 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -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