- add further requires

This commit is contained in:
Florian La Roche 2007-07-12 12:12:05 +00:00
parent b1bb0e4c6b
commit a8a15269e1

View File

@ -1,6 +1,6 @@
Name: openmpi Name: openmpi
Version: 1.2.3 Version: 1.2.3
Release: 2%{?dist} Release: 3%{?dist}
Summary: Open Message Passing Interface Summary: Open Message Passing Interface
Group: Development/Libraries Group: Development/Libraries
@ -16,17 +16,22 @@ BuildRequires: gcc-gfortran, libtool, numactl-devel, libsysfs-devel
#BuildRequires: dapl-devel #BuildRequires: dapl-devel
#%endif #%endif
Requires(post): /sbin/ldconfig, /usr/sbin/alternatives Requires(post): /sbin/ldconfig, /usr/sbin/alternatives
Requires(preun): /usr/sbin/alternatives
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
%package libs %package libs
Summary: Libraries used by openmpi programs Summary: Libraries used by openmpi programs
Group: Development/Libraries Group: Development/Libraries
Requires(post): /usr/sbin/alternatives
Requires(preun): /usr/sbin/alternatives
%package devel %package devel
Summary: Development files for openmpi Summary: Development files for openmpi
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Provides: mpi-devel Provides: mpi-devel
Requires(post): /usr/sbin/alternatives
Requires(preun): /usr/sbin/alternatives
%description %description
Open MPI is an open source, freely available implementation of both the Open MPI is an open source, freely available implementation of both the
@ -251,6 +256,9 @@ alternatives --remove mpicc %{_bindir}/opal_wrapper-%{version}-%{opt_cc}-%{mode}
%changelog %changelog
* Thu Jul 12 2007 Florian La Roche <laroche@redhat.com> - 1.2.3-3
- requires alternatives for various sub-rpms
* Mon Jul 02 2007 Doug Ledford <dledford@redhat.com> - 1.2.3-2 * Mon Jul 02 2007 Doug Ledford <dledford@redhat.com> - 1.2.3-2
- Fix dangling symlink issue caused by a bad macro usage - Fix dangling symlink issue caused by a bad macro usage
- Resolves: bz246450 - Resolves: bz246450