Bug 27249

Summary: Bad link in lam-6.3.3b28-1 spec file
Product: [Retired] Red Hat Linux Reporter: Ian Mortimer <i.mortimer>
Component: lamAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-12 23:33:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Mortimer 2001-02-12 23:33:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; OSF1 V4.0 alpha)


The spec file for lam 6.3.3b28-1 makes a bad link to the master include
file.   Here's the patch:

 --- lam.spec.orig       Tue Feb 13 08:17:26 2001
+++ lam.spec    Tue Feb 13 08:18:10 2001
@@ -51,7 +51,7 @@
 cp -r $RPM_BUILD_ROOT/usr/doc .
 cp -af $RPM_BUILD_ROOT/usr/man/* $RPM_BUILD_ROOT/%{_mandir} || :
 rm -f $RPM_BUILD_ROOT/usr/include/mpi++.h
-ln -s mpi2c++/mpi++.h $RPM_BUILD_ROOT/usr/include/mpi++
+ln -s mpi2c++/mpi++.h $RPM_BUILD_ROOT%{prefix}/include/mpi++.h

 %clean
 rm -rf $RPM_BUILD_ROOT

Reproducible: Always
Steps to Reproduce:
1. Just look at the link /usr/include/mpi++.  Should be
/usr/include/mpi++.h
2.
3.

Comment 1 Trond Eivind Glomsrxd 2001-02-13 00:07:13 UTC
Fixed in lam-6.3.3b58-1 - thanks.