Switch libs deps to ostree-libs

On system not based on ostree, there is a following spurious error
  /usr/lib/systemd/system-generators/ostree-system-generator failed with exit status 1

This can be avoided by removing the deps on ostree package on non-ostree
systems.

On ostree ones, the ostree package can be assumed to be installed.
Version will still be enforced by forced the right ostree-libs package
This commit is contained in:
Nicolas Chauvet 2023-07-21 09:12:19 +02:00
parent b4b58837da
commit 2e0f03b2a7

View File

@ -100,7 +100,9 @@ This package contains the pkg-config file and development headers for %{name}.
%package libs
Summary: Libraries for %{name}
Requires: bubblewrap >= %{bubblewrap_version}
Requires: ostree%{?_isa} >= %{ostree_version}
# We can assume ostree is installed on ostree systems
# So do not enforce it on non-ostree ones
Requires: ostree-libs%{?_isa} >= %{ostree_version}
%description libs
This package contains libflatpak.