ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/gcc-wrapper.spec
(Generate patch)

Comparing COMP/CMSDIST/gcc-wrapper.spec (file contents):
Revision 1.4 by ratnik, Wed Apr 18 23:46:01 2007 UTC vs.
Revision 1.6 by ratnik, Fri May 25 22:56:26 2007 UTC

# Line 1 | Line 1
1   ### RPM external gcc-wrapper 3.4.5m32
2 Requires: gcc-wrapper
2   Source: gcc-wrapper-template
3   Source1: gcc-wrapper.pl
4   %define gcc_default_root $GCC_ROOT
5   %define gcc_for_amd64 `echo $GCC_ROOT | sed 's|%{cmsplatf}|slc4_amd64_gcc345|'`
6   %prep
7   %build
9 ## IMPORT gcc-wrapper
8   cp %{_sourcedir}/gcc-wrapper-template ./
9   cp %{_sourcedir}/gcc-wrapper.pl ./
10   chmod +x gcc-wrapper.pl
# Line 28 | Line 26 | for exe in `ls $RPM_INSTALL_PREFIX/%{pkg
26   done
27  
28   # Relocate the link:
29 < relpath=`readlink %{i}/lib | sed 's|%{instroot}/||'`
29 > relpath=`readlink ${RPM_INSTALL_PREFIX}/%{pkgrel}/lib | sed 's|%{instroot}/||'`
30   rm  $RPM_INSTALL_PREFIX/%{pkgrel}/lib
31   ln -s  $RPM_INSTALL_PREFIX/$relpath  $RPM_INSTALL_PREFIX/%{pkgrel}/lib
32  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines