From 1cb96b3d16ca95fdd10877220f264e94e6d8d7ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Wed, 11 Mar 2026 11:31:23 +0100 Subject: [PATCH] Fix spec file requires for SLES erofs does not exist on SLES but it exists on Leap. As there is no sles_version macro available, this commit adds the requirement for the list of supported distros. --- package/python-kiwi-spec-template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-kiwi-spec-template b/package/python-kiwi-spec-template index 0c1e99cff0b..c603035a914 100644 --- a/package/python-kiwi-spec-template +++ b/package/python-kiwi-spec-template @@ -302,16 +302,20 @@ Provides: kiwi-filesystem:ext4 Provides: kiwi-filesystem:squashfs Provides: kiwi-filesystem:xfs %if ! (0%{?suse_version} && 0%{?suse_version} < 1600) +%if 0%{?fedora} || 0%{?rhel} || 0%{?debian} || 0%{?ubuntu} || 0%{?is_opensuse} Provides: kiwi-filesystem:erofs Provides: kiwi-image:erofs %endif %endif +%endif Requires: dosfstools Requires: e2fsprogs Requires: xfsprogs %if ! (0%{?suse_version} && 0%{?suse_version} < 1600) +%if 0%{?fedora} || 0%{?rhel} || 0%{?debian} || 0%{?ubuntu} || 0%{?is_opensuse} Requires: erofs-utils %endif +%endif %if 0%{?suse_version} Requires: btrfsprogs %else