BuildRequires on python-abi

Michael Schwendt bugs.michael at gmx.net
Tue Apr 5 10:14:08 UTC 2005


On Tue, 05 Apr 2005 05:02:49 -0400, Ignacio Vazquez-Abrams wrote:

> On Tue, 2005-04-05 at 04:56 -0400, seth vidal wrote:
> > > You aren't wrong, but who's to say that it's a bad thing? I mean, other
> > > than it exposing a minor flaw in mach. Which I am working on, btw.
> > 
> > If you're trying to 'fix it' by building the srpm INSIDE the chroot
> > please don't. You're just angling for a world of pain.
> 
> Oh, heck no. You don't even need to actually build the SRPM, you just
> need to evaluate the spec file.

Note that src.rpm packages have dependencies, too, which are queried
just like binary rpm dependencies: rpm -qpR foo.src.rpm

If you build a src.rpm with "BuildRequires: python-abi = %pyver", you
effectively hardcode that build requirement in the src.rpm package.
This is bad, not just because mach fetches the BR from there.




More information about the Fedora-maintainers mailing list