Clean ups
This commit is contained in:
parent
a0402c7b7e
commit
95fb784f43
10
openmpi.spec
10
openmpi.spec
@ -1,6 +1,6 @@
|
|||||||
Name: openmpi
|
Name: openmpi
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 1%{dist}
|
Release: 1%{?dist}
|
||||||
Summary: Open Message Passing Interface
|
Summary: Open Message Passing Interface
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -78,7 +78,7 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
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} :
|
# Resolve LAM clashes and create %{_datadir}/openmpi/{bin,lib,include} :
|
||||||
. %SOURCE1
|
. %SOURCE1
|
||||||
@ -137,21 +137,17 @@ if [ "$1" -ge 1 ]; then
|
|||||||
fi;
|
fi;
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%preun
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%post devel -p /sbin/ldconfig
|
%post devel -p /sbin/ldconfig
|
||||||
|
|
||||||
%preun devel
|
|
||||||
|
|
||||||
%postun devel -p /sbin/ldconfig
|
%postun devel -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE README
|
%doc LICENSE README
|
||||||
%ghost %{_sysconfdir}/ld.so.conf.d/mpi.conf
|
%ghost %{_sysconfdir}/ld.so.conf.d/mpi.conf
|
||||||
%config %{_sysconfdir}/openmpi-*
|
%config(noreplace) %{_sysconfdir}/openmpi-*
|
||||||
%{_bindir}/orte*
|
%{_bindir}/orte*
|
||||||
#%{_bindir}/*run
|
#%{_bindir}/*run
|
||||||
%{_bindir}/*exec
|
%{_bindir}/*exec
|
||||||
|
Loading…
Reference in New Issue
Block a user