BuildRequires - flex and bison

Ralf Corsepius rc040203 at freenet.de
Wed May 17 07:27:56 UTC 2006


On Wed, 2006-05-17 at 01:26 +0200, Michael Schwendt wrote:
> On Tue, 16 May 2006 17:01:10 -0500, Matt Domsch wrote:
> 
> > On Tue, May 16, 2006 at 11:13:18PM +0200, Till Maas wrote:
> > > Hiyas,
> > > 
> > > do I need to add flex and bison as BuildRequires in a spec-file?
> > > 
> > > http://fedoraproject.org/wiki/Packaging/Guidelines#BuildRequires does not 
> > > mention both as exceptions but the suggested configuration on 
> > > http://fedoraproject.org/wiki/Extras/MockTricks includes both.
> > 
> > Both flex and bison are in the standard buildgroups, so they should
> > not be listed as explicit BuildRequires in your spec file.
> 
> To be precise, they _need not_ be listed explicitly (see
> PackageReviewGuidelines). But it makes sense to list them.
Facts, I consider to be defects of PackageReviewGuidelines.

IMO, the only correct approach is to make explicitly listing them as
BuildRequires mandatory, because having them in the defaults only adds
bloat to mock, while only very few packages really use flex/bison.

Ralf





More information about the fedora-extras-list mailing list