Re: providing what they require

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-10-23 at 00:41 +0200, Michael Schwendt wrote:
> On Wed, 22 Oct 2008 23:28:19 +0100, Jonathan Underwood wrote:
> 
> > 2008/10/22 seth vidal <skvidal@xxxxxxxxxxxxxxxxx>:
> > > 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.

Yes - if the pkg provides something it requires then the requires can be
removed.

A simple addition to the rpmbuild process to remove these items from the
requires wouldn't hurt.

-sv


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux