SOURCES: rpm-libtool-deps.patch - find last entry in symlink chain

arekm arekm at pld-linux.org
Sun Nov 26 23:31:22 CET 2006


Author: arekm                        Date: Sun Nov 26 22:31:22 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- find last entry in symlink chain

---- Files affected:
SOURCES:
   rpm-libtool-deps.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/rpm-libtool-deps.patch
diff -u SOURCES/rpm-libtool-deps.patch:1.1 SOURCES/rpm-libtool-deps.patch:1.2
--- SOURCES/rpm-libtool-deps.patch:1.1	Sun Nov 26 19:08:08 2006
+++ SOURCES/rpm-libtool-deps.patch	Sun Nov 26 23:31:17 2006
@@ -1,12 +1,21 @@
 diff -urN rpm-4.4.6.org/scripts/libtooldeps.sh rpm-4.4.6/scripts/libtooldeps.sh
 --- rpm-4.4.6.org/scripts/libtooldeps.sh	2005-11-12 22:20:42.000000000 +0100
 +++ rpm-4.4.6/scripts/libtooldeps.sh	2006-11-26 20:06:49.254008750 +0100
-@@ -13,7 +13,7 @@
+@@ -13,7 +13,8 @@
      do
  	case "$possible" in
  	*.la)
 -	    if grep -iq '^# Generated by ltmain.sh' "$possible" 2> /dev/null ; then
++	    $possible="`readlink -f "$possible"`"
 +	    if file "$possible" | grep -iq 'libtool library file' 2> /dev/null ; the
  		possible="`echo ${possible} | sed -e s,${RPM_BUILD_ROOT}/,/,`"
  		echo "libtool($possible)"
  	    fi
+@@ -30,6 +31,7 @@
+ 	    do
+ 		case "$dep" in
+ 		/*.la)
++		    $dep="`readlink -f "$dep"`"
+ 		    echo "libtool($dep)"
+ 		    ;;
+ 		esac
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm-libtool-deps.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list