Mailinglist Archive: opensuse-buildservice (260 mails)

< Previous Next >
[opensuse-buildservice] How to handle BuildRequires in spec file like "/usr/bin/perl"?
  • From: Jian Lee <lijian.gnu@xxxxxxxxx>
  • Date: Wed, 23 Dec 2009 11:01:37 +0800
  • Message-id: <200912231101.39097.lijian.gnu@xxxxxxxxx>
hi,

Too many srpms in my project have a old description about
BuildRequires in the spec file like that:

--------------------
BuildPrereq: /usr/bin/perl
==========================

but the /usr/lib/build/Build.pm have nothing to support this
description.

The /usr/lib/build/expanddeps just get the
BuildRequires,Requires,Provides of every pkgs. and the pkg which would
be build could not get a BuildRequires like "/usr/bin/perl" from those
infomation.

If to do this, must add a infomation of "rpm -ql XXX.rpm" to depends
file.

-------------------
F:... XXX.rpm
P:... `rpm -ql XXX.rpm`
R:...
I:...
===================

Is there a better idea ?


Thanks,


----

Jian Lee [ http://jianlee.ylinux.org ]
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups