On Wed, Dec 23, 2009 at 06:09:09PM +0800, Jian Lee wrote:
I'm treat it as the same as BuildRequires, so I modified the Build/Rpm.pm to contain it in the pool of BuildRequires:
------------------------------------------------- # grep -i BuildPrereq /usr/lib/build/Build/Rpm.pm $ifdeps = 1 if $line =~ /^(BuildRequires|BuildPrereq| BuildConflicts|\#\!BuildIgnore)\s*:\s*(\S.*)$/i; if ($preamble && ($line =~ /^(BuildRequires|BuildPrereq| BuildConflicts|\#\!BuildIgnore)\s*:\s*(\S.*)$/i)) { if (lc($what) ne 'buildrequires' and lc($what) ne 'buildprereq') { ===========================================
Thanks, I've changed our code to match that. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org