Mailinglist Archive: opensuse-buildservice (260 mails)

< Previous Next >
Re: [opensuse-buildservice] How to handle BuildRequires in spec file like "/usr/bin/perl"?
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Wed, 23 Dec 2009 11:53:09 +0100
  • Message-id: <20091223105309.GA24312@xxxxxxx>
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/ to contain it in the pool of BuildRequires:

# grep -i BuildPrereq /usr/lib/build/Build/
$ifdeps = 1 if $line =~ /^(BuildRequires|BuildPrereq|
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.


Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >