providing what they require

Michael Schwendt mschwendt at gmail.com
Wed Oct 22 22:41:49 UTC 2008


On Wed, 22 Oct 2008 23:28:19 +0100, Jonathan Underwood wrote:

> 2008/10/22 seth vidal <skvidal at fedoraproject.org>:
> > Here is a list of pkgs and their requirement that they also provide.
> >
> > http://skvidal.fedorapeople.org/misc/provides-what-required-rawhide.txt
> >
> > Now, it would be handy if rpm filtered these out automagically at build
> > time, and that's something to think about. If you notice if any of your
> > packages do something like this manually, please stop it.
> >
> >
> 
> Um, how to stop it? - most of those Provides are automatically
> generated by rpm. I know there is some messy instructions on how to
> filter those for perl packages in the guidelines, but it seems more
> widespread than perl packages...

Don't misunderstand Seth's list. The Provides are necessary and must not
be stripped, because external packages may require them. The Requires
in a pkg could be stripped if it's the same pkg that Provides the
needed things.

The "thunderbird" pkg contains a "find-external-requires" script which
does the thing that's proposed here. It ought to be rpmbuild, though,
that does this for all pkgs.




More information about the fedora-devel-list mailing list