From 2e0f03b2a71f8dfc4ac5942ee4a1e0f6f7cb2212 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Fri, 21 Jul 2023 09:12:19 +0200 Subject: [PATCH] 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 --- flatpak.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flatpak.spec b/flatpak.spec index b2a217e..320cc8c 100644 --- a/flatpak.spec +++ b/flatpak.spec @@ -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.