Detecting binaries in rpmbuild

David Malcolm dmalcolm at redhat.com
Wed Nov 5 18:30:42 UTC 2008


On Wed, 2008-11-05 at 09:58 -0500, Bill Nottingham wrote:
> Richard W.M. Jones (rjones at redhat.com) said: 
> > > > I just discovered in a package I'm putting through review that the 
> > > > upstream tar ball contains some pre-compiled binaries.  It seems like 
> > > > this would be a good check for rpmbuild to run automatically before
> > > > the 
> > > > %build step.  Thoughts? 
> > > 
> > > That would kill some packages. Like all compilers that have to bootstrap
> > > theirselves. 
> > 
> > Should compilers be carrying binary stuff in their source tarballs
> > even for bootstrapping?
> 
> Well, RPM doesn't necessarily *require* that you build from source, even
> though it encourages it. Otherwise it wouldn't have support for things
> like nosrc rpms.
> 
> Hence, I'd agree with the person who suggested that this be an optional
> check, or better done in rpmlint (which, admittedly, may not be feasible.)

Looks like this is already in bz as:
https://bugzilla.redhat.com/show_bug.cgi?id=232982
but CLOSED WONTFIX with this (comment #2)

"Short version: if there's a patch, I can have a look, but it's unlikely
I will
personally spend time on this anytime soon (and no promises about later either);
it's quite a bit of work for a smallish gain which can be also argued to be
harmful, depending on opinion.

Feel free to reopen here if you disagree and want to try convince me otherwise
(preferably with patches included ;)), or in upstream Trac
(http://rpmlint.zarb.org) if you want other rpmlint devs' opinions."






More information about the fedora-devel-list mailing list