On Sun, Apr 27, 2025 at 5:05 PM Björn Persson <Bjorn@rombobjörn.se> wrote:
>
> Fabio Valentini wrote:
> > 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.
>
> The main package must also obsolete itself. Otherwise it doesn't work.
> Don't ask me to explain why.
>
> I tried to stress that point. Can you suggest better wording to get the
> point across?

Thanks, after re-reading this paragraph like 3 times I get it now :D

"""
If the name of the original package still exists after the split, that
package needs to obsolete itself. Even if an optional split-out
package requires the original package, the original package still must
obsolete itself. Otherwise the split-out package won’t be pulled in.
"""

I think it is clear, if quite dense.

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