From 7cfcb93c0f0897ae3532d44bd40af1b74153a9e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Wed, 23 Oct 2024 10:23:36 +0200 Subject: [PATCH] Fix erofs requires in spec erofs-utils for SUSE only exists in Tumbleweed. The former conditon would also add the requirement for ALP and SLFO which is wrong. This commit fixes it --- package/python-kiwi-spec-template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/python-kiwi-spec-template b/package/python-kiwi-spec-template index e4561ecd97..325c405bf7 100644 --- a/package/python-kiwi-spec-template +++ b/package/python-kiwi-spec-template @@ -291,7 +291,7 @@ Provides: kiwi-filesystem:ext3 Provides: kiwi-filesystem:ext4 Provides: kiwi-filesystem:squashfs Provides: kiwi-filesystem:xfs -%if ! (0%{?suse_version} && 0%{?suse_version} < 1600) +%if ! (0%{?suse_version} && 0%{?suse_version} <= 1600) Provides: kiwi-filesystem:erofs Provides: kiwi-image:erofs %endif @@ -299,7 +299,7 @@ Provides: kiwi-image:erofs Requires: dosfstools Requires: e2fsprogs Requires: xfsprogs -%if ! (0%{?suse_version} && 0%{?suse_version} < 1600) +%if ! (0%{?suse_version} && 0%{?suse_version} <= 1600) Requires: erofs-utils %endif %if 0%{?suse_version}