Re: What should we do about the "Install only newly recommended packages on upgrades" F36 change?

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

 



On 11. 02. 22 21:58, Kevin Kofler via devel wrote:
Miro Hrončok wrote:
Another thing I'd like to understand from your POV is why would packagers
actually *need* exactly-versioned Recommends. Could you please give me an
example use case? I understand why they might *assume they need* it,
because packaging is complex and this might seem like a reasonable thing
to do for somebody who's not been following this discussion. The new
guideline would help explain that, making the things better, not worse.

IMHO, exactly-versioned Recommends are always a mistake, and when a
maintainer writes:
Recommends: foo = 1.2.3-4
what they really mean, and should write, is:
Recommends: foo
Requires: (foo = 1.2.3-4 if foo)

Or, considering this is usually a recommended sub-package, have:

    (main package)
    Recommends:   %{name}-extras

    %package extras
    Requires:    %{name} = %{version}-%{release}

(with %_isa and/or %epoch if needed)

And only use the if-dep if this is not the case.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[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