]> git.ipfire.org Git - thirdparty/libsolv.git/commit
repo_autopattern: support creation of obsoletes for product packages
authorMichael Schroeder <mls@suse.de>
Mon, 7 Jul 2025 11:27:04 +0000 (13:27 +0200)
committerMichael Schroeder <mls@suse.de>
Mon, 7 Jul 2025 11:31:29 +0000 (13:31 +0200)
commitaba891ef741a31a687a0996d6e6f88f674a9b029
treeae3897c7f4daf731e2a9f98323609d01c264a043
parentb8b73e246be4f43fdb44a6d7659ad4f492121091
repo_autopattern: support creation of obsoletes for product packages

This adds support for provides of the type "product-obsoletes(name)".
We translate this to "Obsoletes: product:<name>" in the generated
product pseudo package.

We need this because people used "Obsoletes: product:name" in the
"release" package, but this is no longer allowed in newer rpm versions.
Besides, the obsoletes is kind of wrong in the "release" package
anyway, it belongs in the generated "product:" package.
ext/repo_autopattern.c