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.3 by ratnik, Thu Mar 1 18:17:08 2007 UTC

# Line 21 | Line 21 | gtar -c bin | gtar -x -C %{i}
21   ln -s ${GCC_ROOT}/lib %{i}/lib
22  
23   %post
24 < for exe in `ls %{i}/bin`; do
24 > for exe in `ls $RPM_INSTALL_PREFIX/%{pkgrel}/bin`; do
25   %{relocateConfig}bin/${exe}
26   done
27  
28   # Relocate the link:
29   relpath=`readlink %{i}/lib | sed 's|%{instroot}/||'`
30 < rm %{i}/lib
31 < ln -s  $RPM_INSTALL_PREFIX/$relpath %{i}/lib
30 > rm  $RPM_INSTALL_PREFIX/%{pkgrel}/lib
31 > ln -s  $RPM_INSTALL_PREFIX/$relpath  $RPM_INSTALL_PREFIX/%{pkgrel}/lib
32  
33   if [ "`uname -m`"  == "x86_64" ]
34   then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines