From 323f7ddd7f02acda8154a6cd486d2671eedabefb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Tue, 10 Mar 2026 19:29:51 +0100 Subject: [PATCH] Fix spec file requirements for SUSE The suse_version macro changes for code 16.1 to 1610. Matches based on <= 1600 are going to fail. This commit adapts the places where the spec uses the macro in this way. This Fixes jira#PCT-899 --- 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 b92182a8803..0c1e99cff0b 100644 --- a/package/python-kiwi-spec-template +++ b/package/python-kiwi-spec-template @@ -301,7 +301,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 @@ -309,7 +309,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}