Packages depending on Yelp
matt at mattmccutchen.net
Tue May 25 23:15:16 UTC 2010
On Tue, 2010-05-25 at 16:54 -0400, James Antill wrote:
> On Tue, 2010-05-25 at 15:58 -0400, Matt McCutchen wrote:
> > An alternative would be to provide a wrapper script that runs yelp if
> > present or otherwise tells the user to install it, and have applications
> > require the wrapper package. We could either give the wrapper script a
> > different name and patch all applications to run that name or rename the
> > real yelp executable and have all callers go through the wrapper. I
> > don't see any way to avoid patching all the application packages to
> > require the wrapper package rather than "yelp", given that we want
> > installing "yelp" to actually install it but installing an application
> > to only install the wrapper.
> With the latest compare_providers¹ this should be fairly easy. We just
> have yelp-nothing (Provides: yelp) which installs a simple binary that
> says yelp isn't there and a "yelp" package which is the real thing.
> Then "yum install yelp" will install the pkg. yelp, and "yum install
> blah" will install yelp-nothing as a dep.
I feel like taking advantage of a yum feature to make the "yelp" name do
something different as a dependency than as a "yum install" argument is
a hack and will only cause confusion down the road, whereas changing the
application dependencies to yelp-nothing would be the right thing to do.
More information about the devel