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.2 by ratnik, Thu Mar 1 10:32:31 2007 UTC vs.
Revision 1.4 by ratnik, Wed Apr 18 23:46:01 2007 UTC

# Line 1 | Line 1
1   ### RPM external gcc-wrapper 3.4.5m32
2 + Requires: gcc-wrapper
3   Source: gcc-wrapper-template
4   Source1: gcc-wrapper.pl
5   %define gcc_default_root $GCC_ROOT
6   %define gcc_for_amd64 `echo $GCC_ROOT | sed 's|%{cmsplatf}|slc4_amd64_gcc345|'`
7   %prep
8   %build
9 + ## IMPORT gcc-wrapper
10   cp %{_sourcedir}/gcc-wrapper-template ./
11   cp %{_sourcedir}/gcc-wrapper.pl ./
12   chmod +x gcc-wrapper.pl
# Line 21 | Line 23 | gtar -c bin | gtar -x -C %{i}
23   ln -s ${GCC_ROOT}/lib %{i}/lib
24  
25   %post
26 < for exe in `ls %{i}/bin`; do
26 > for exe in `ls $RPM_INSTALL_PREFIX/%{pkgrel}/bin`; do
27   %{relocateConfig}bin/${exe}
28   done
29  
30   # Relocate the link:
31   relpath=`readlink %{i}/lib | sed 's|%{instroot}/||'`
32 < rm %{i}/lib
33 < ln -s  $RPM_INSTALL_PREFIX/$relpath %{i}/lib
32 > rm  $RPM_INSTALL_PREFIX/%{pkgrel}/lib
33 > ln -s  $RPM_INSTALL_PREFIX/$relpath  $RPM_INSTALL_PREFIX/%{pkgrel}/lib
34  
35   if [ "`uname -m`"  == "x86_64" ]
36   then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines