Re: Policy regarding redundant dependencies

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

 



Georg Sauthoff wrote:

> Hello,
> 
> when packaging a C/C++ program, the rpm automatic dependency feature
> usually works well for shared libraries.
> 
> That mean when program 'bar' needs libfoo-devel at build time it's
> sufficient to add
> 
>     BuildRequires: libfoo-devel
> 
> and I can omit
> 
>     Requires: libfoo
> 
> because rpm automatically adds something like:
> 
>     libfoo.so.1()(64bit)
> 
> Of course, I could still add a superfluous
> 
>     Requires: libfoo
> 
> and then the resulting binary package would contain a redundant
> dependency like this:
> 
>     libfoo
>     libfoo.so.1()(64bit)
> 
> Has Fedora a policy against such redundant dependencies?

Yes, see
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_requires

-- Rex
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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