From b1bb0e4c6bc28d7a826babf3520871b6039447f8 Mon Sep 17 00:00:00 2001 From: Doug Ledford Date: Mon, 2 Jul 2007 14:17:42 +0000 Subject: [PATCH] - Fix dangling symlink issue caused by a bad macro usage - Resolves: bz246450 --- openmpi.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/openmpi.spec b/openmpi.spec index 8a2810f..b21086a 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -1,6 +1,6 @@ Name: openmpi Version: 1.2.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Open Message Passing Interface Group: Development/Libraries @@ -136,7 +136,7 @@ mv ${RPM_BUILD_ROOT}%{_bindir}/opal_wrapper{,-%{version}-%{opt_cc}-%{mode}} # make the proper symlinks from %{_datadir}/%{name}/bin to the wrapper mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/%{mpidir}/bin%{mode} for i in mpicc mpic++ mpicxx mpiCC mpif77 mpif90 ; do - ln -s %{_bindir}/opal_wrapper-%{version}-%{cc}-%{mode} \ + ln -s %{_bindir}/opal_wrapper-%{version}-%{opt_cc}-%{mode} \ ${RPM_BUILD_ROOT}%{_datadir}/%{mpidir}/bin%{mode}/$i done # The fortran include file differs between 32/64bit environments, so make @@ -251,6 +251,10 @@ alternatives --remove mpicc %{_bindir}/opal_wrapper-%{version}-%{opt_cc}-%{mode} %changelog +* Mon Jul 02 2007 Doug Ledford - 1.2.3-2 +- Fix dangling symlink issue caused by a bad macro usage +- Resolves: bz246450 + * Wed Jun 27 2007 Doug Ledford - 1.2.3-1 - Update to latest upstream version - Fix file ownership on -libs package