From 8a9c6aba3c180eee51e5165be7bab1ecc1dc8606 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 15 Aug 2024 15:23:58 +0200 Subject: [PATCH] osbuild: add "Conflicts" to avoid breaking older composer osbuild 126 added a new "solver" field in the osbuild-dnf-json output and osbuild-composer only supports this since 116. This broke production (sorry!). This commit helps mitigate it. --- osbuild.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/osbuild.spec b/osbuild.spec index 5f0017e9..5d674332 100644 --- a/osbuild.spec +++ b/osbuild.spec @@ -144,6 +144,15 @@ Requires: python3-libdnf5 >= 5.2.1 Requires: python3-libdnf %endif +# osbuild 125 added a new "solver" field and osbuild-composer only +# supports this since 116 +Conflicts: osbuild-composer <= 115 + +# This version needs to get bumped every time the osbuild-dnf-json +# version changes in an incompatible way. Packages like osbuild-composer +# can depend on the exact API version this way +Provides: osbuild-dnf-json-api = 7 + %description depsolve-dnf Contains depsolving capabilities for package managers.