providing what they require

Jonathan Underwood jonathan.underwood at gmail.com
Wed Oct 22 22:53:46 UTC 2008


2008/10/22 Michael Schwendt <mschwendt at gmail.com>:
> 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.
>

Uh, yeah, I typo'd Provides - I meant Requires, of course.

> 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.

Yeah. So should we bother munging spec files for this if it's going to
be fixed in rpmbuild anyway? I guess not.




More information about the fedora-devel-list mailing list