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