Re: F38 proposal: FPC repackaging (Self-Contained Change proposal)

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

 



On Tue, Jan 17, 2023 at 10:33:10AM -0000, Artur Frenszek-Iwicki wrote:
> Haven't planned on this originally, but it seems like a good idea.
> 
> Never really used Obsoletes before, so I have to ask:
> what's the dnf behaviour when a package is obsoleted by multiple packages?
> If it tries to install all of them, then that'd be okay. I'd like to
> avoid a situation where dnf decides that it prefers to upgrade by
> removing the "old" fpc package and installing only fpc-ide.

You need to add 'Obsoletes: $original_package_name < $some_version_after_split'
to both the $original_package_name subpackage and to the new split-out
subpackage. With that, dnf will install both on upgrade of $original_package_name.

Zbyszek
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue




[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