[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: howto push dependencies into sub packages
- From: Nils Philippsen <nphilipp redhat com>
- To: Development discussions related to Fedora <fedora-devel-list redhat com>
- Cc:
- Subject: Re: howto push dependencies into sub packages
- Date: Wed, 02 Jul 2008 12:12:38 +0200
Hi Peter,
On Mon, 2008-06-02 at 19:31 +0100, Peter Robinson wrote:
> I maintain the geoclue package. It has a number of providers that can
> be compiled in. I've tried to introduce a couple of subpackages for
> the gpsd and gypsy providers so that you can just install the
> providers you need and not have to pull in extra packages that you
> might not need (gpsd and gypsy do essentially the same thing so you
> probably don't need both). The problem I'm having is that with the
> addition of the gpsd provider (see F-9 testing if you aren't on
> rawhide) pulls in gpsd for the main package and not for the
> geoclue-gpsd package. How do I push this requirement down to the sub
> package so that it doesn't affect the main package (I've got the gpsd
> requirements in the sub package).
I see nobody's answered yet... I guess what you want to do is to have
your -gpsd subpackage requires gpsd so if it is installed, gpsd will be
there as well?
In that case, just put the "Requires: gpsd ..." line in the "%package
gpsd" section, right beside the "Requires: geoclue = %{PACKAGE_VERSION}"
line.
HTH,
Nils
--
Nils Philippsen / Red Hat / nphilipp redhat com
"Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety." -- B. Franklin, 1759
PGP fingerprint: C4A8 9474 5C4C ADE3 2B8F 656D 47D8 9B65 6951 3011
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]