[Rpm-maint] [PATCH] fix broken linux.req

Jindrich Novy jnovy at redhat.com
Fri Apr 18 18:12:00 UTC 2008


On Fri, Apr 18, 2008 at 12:16:04PM -0400, Bill Nottingham wrote:
> Otherwise it exits the loop way way way too early, and nothing
> has any reqiurements.
> 
> Bill

> diff --git a/autodeps/linux.req b/autodeps/linux.req
> index c0a0cc9..70f627d 100644
> --- a/autodeps/linux.req
> +++ b/autodeps/linux.req
> @@ -105,6 +104,7 @@ for f in $liblist $exelist ; do
>  		print $2 ;
>  	    }
>  	}
> +	(START==2) && /^[A-Za-z]/ { START=3; }
>  	/^Version References:$/ { START=2; }
>  	(START==2) && /required from/ {
>  	    sub(/:/, "", $3);
> @@ -113,7 +113,6 @@ for f in $liblist $exelist ; do
>  	(START==2) && (LIBNAME!="") && ($4!="") && (($4~/^GLIBC_*/) || ($4~/^GCC_*/)) {
>  	    print LIBNAME "(" $4 ")'$lib64'";
>  	}
> -	/^[A-Za-z]/ { START=3; }
>      '
>  done | sort -u
>  

Applied. Thanks for the patch.

Jindrich

-- 
Jindrich Novy <jnovy at redhat.com>   http://people.redhat.com/jnovy/



More information about the Rpm-maint mailing list