Re: Circular dependencies in RPM

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

 



On Tue, Aug 26, 2014 at 10:55:56AM +0000, Petr Pisar wrote:
> On 2014-08-25, Miroslav Suchý <msuchy@xxxxxxxxxx> wrote:
> > Or we can wait for F21, which will have weak dependencies in RPM. And
> > I anticipate that weak dependencies will break a lot of circles.
> >
> Does Fedora have guidelines what should and what should not be a weak
> dependency?
> 
> My experience with Perl packages is that "declaring dependency because it's
> recommended but the package works without it" is quite seldom. The
> majority of build cycles are either build-time dependencies for tests or
> hard run-time dependencies (the Perl module exits with an exception
> without the dependency in some code paths.)
> 
> In my opinion, it would be much more appreciated if Fedora had
> a mechanism to express "I want support for PDF" on the installed system
> and then package manager would use this boolean to install or skip
> affected dependencies. (This is the case of "some code paths" from
> previous paragraph.)

Would virtual provides give us that?

Packages A, B and C have "Provides: pdf_reader" and Package B has "Requires:
pdf_reader". The issue would to determine which provider to install, and
do you ask the user to install it first or maybe install a "recommended"
package?

-- 
Darryl L. Pierce <mcpierce@xxxxxxxxx>
http://mcpierce.blogspot.com/
Famous last words:
   "I wonder what happens if we do it this way?"

Attachment: pgpoirGkf_UDt.pgp
Description: PGP signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[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