On Sun, Apr 27, 2025 at 12:17 PM Fabio Valentini <decatho...@gmail.com> wrote:
>
> On Wed, Apr 16, 2025 at 9:09 PM Björn Persson <Bjorn@rombobjörn.se> wrote:
> >
> > > On upgrade to Fedora 43, some non-essential GnuPG utilities will no
> > > longer be available by default, and instead moved to the optional
> > > `gnupg2-g13`, `gnupg2-utils`, and `gnupg2-wks` packages.
> >
> > In the merge request I see "Recommends: gnupg2-utils", so that one will
> > be pulled in by default. Those that are neither required nor recommended
> > are -keyboxd, -g13 and -wks.
> >
> > > Alternatively, these optional packages could get pulled in on upgrade,
> > > but not for "fresh" installs.
> >
> > That would be better, to avoid breaking things for those who use those
> > utilities. The way to achieve that used to be an arcane mystery, but as
> > it happens, I wrote it down last year:
> > https://docs.fedoraproject.org/en-US/packaging-guidelines/#_one_to_many_replacement
>
> I've made this change to the proposed PR now. All new optional
> subpackages that were split off from gnupg2 that are not already
> pulled in via "Requires" now Obsolete "gnupg2 < version_pre_split", so
> they should get pulled in on upgrade but not in new installs (assuming
> I did it correctly) :)

Hum, it appears that the method documented here does not work as I
would have expected:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_one_to_many_replacement
I added the Obsoletes to the new subpackages that wouldn't get
installed by default, but they're not getting pulled in on updates ...
not sure why.

Fabio
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to