Skip to content

Commit

Permalink
spec: change weldr requirement
Browse files Browse the repository at this point in the history
The "Suggests" hint does not always resolve our dependencies as desired
so, for new releases, cockpit-composer specifically requires
osbuild-composer. For distros that cockpit-composer has already released
into, the "weldr" group remains the requirement so that users already
running osbuild-composer as the backend can continue to use it instead
of lorax-composer. But, if osbuild-composer is unavailable, lorax is
installed instead.
  • Loading branch information
jkozol authored and henrywang committed Jul 14, 2020
1 parent 5e1567e commit 6e020fd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cockpit-composer.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ BuildArch: noarch
BuildRequires: libappstream-glib

Requires: cockpit
Requires: weldr
Suggests: osbuild-composer >= 14
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 8
Requires: osbuild-composer >= 14
%else
Requires: weldr
Suggests: osbuild-composer >= 14
%endif

%description
Composer generates custom images suitable for deploying systems or uploading to
Expand Down

0 comments on commit 6e020fd

Please sign in to comment.