Skip to content

Commit

Permalink
osbuild-composer: add Requires: osbuild-dnf-json-api = 7
Browse files Browse the repository at this point in the history
Use an exact version dependency on the `osbuild-dnf-json-api` to
ensure incompatible json protocol changes cannot break composer.

See also osbuild/osbuild#1849
  • Loading branch information
mvo5 committed Aug 26, 2024
1 parent 972093c commit 9e5fdc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions osbuild-composer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ cd $PWD/_build/src/%{goipath}
%package core
Summary: The core osbuild-composer binary
Requires: osbuild-depsolve-dnf >= %{min_osbuild_version}
# This version needs to get bumped everytime the osbuild-depsolve-dnf json
# API changes in incompatible ways
Requires: osbuild-dnf-json-api = 7
Provides: %{name}-dnf-json = %{version}-%{release}
Obsoletes: %{name}-dnf-json < %{version}-%{release}

Expand Down

0 comments on commit 9e5fdc8

Please sign in to comment.