Skip to content

Commit

Permalink
spec: libostree dependencies
Browse files Browse the repository at this point in the history
Add a disabled-by-default build conditional for ostree dependencies
  • Loading branch information
evan-goode committed Jan 16, 2025
1 parent 92fb034 commit f7da712
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dnf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
%global conflicts_dnfdaemon_version 0.3.19

%bcond dnf5_obsoletes_dnf %[0%{?fedora} > 40 || 0%{?rhel} > 11]
%bcond_with ostree

# override dependencies for rhel 7
%if 0%{?rhel} == 7
Expand Down Expand Up @@ -153,6 +154,10 @@ Requires: rpm-plugin-systemd-inhibit
%else
Recommends: (rpm-plugin-systemd-inhibit if systemd)
%endif
%if %{with ostree}
Requires: python3-gobject
Requires: ostree-libs
%endif
Provides: dnf-command(alias)
Provides: dnf-command(autoremove)
Provides: dnf-command(check-update)
Expand Down

0 comments on commit f7da712

Please sign in to comment.