From a8a15269e1f9203523e690a8a68a2578f4ec4fc9 Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Thu, 12 Jul 2007 12:12:05 +0000 Subject: [PATCH] - add further requires --- openmpi.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/openmpi.spec b/openmpi.spec index b21086a..1ce35d2 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -1,6 +1,6 @@ Name: openmpi Version: 1.2.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Open Message Passing Interface Group: Development/Libraries @@ -16,17 +16,22 @@ BuildRequires: gcc-gfortran, libtool, numactl-devel, libsysfs-devel #BuildRequires: dapl-devel #%endif Requires(post): /sbin/ldconfig, /usr/sbin/alternatives +Requires(preun): /usr/sbin/alternatives Requires: %{name}-libs = %{version}-%{release} %package libs Summary: Libraries used by openmpi programs Group: Development/Libraries +Requires(post): /usr/sbin/alternatives +Requires(preun): /usr/sbin/alternatives %package devel Summary: Development files for openmpi Group: Development/Libraries Requires: %{name} = %{version}-%{release} Provides: mpi-devel +Requires(post): /usr/sbin/alternatives +Requires(preun): /usr/sbin/alternatives %description 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 +* Thu Jul 12 2007 Florian La Roche - 1.2.3-3 +- requires alternatives for various sub-rpms + * Mon Jul 02 2007 Doug Ledford - 1.2.3-2 - Fix dangling symlink issue caused by a bad macro usage - Resolves: bz246450