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
This commit is contained in:
Marcus Schäfer 2026-03-10 19:29:51 +01:00
parent 7e6a28a710
commit 323f7ddd7f
No known key found for this signature in database
GPG Key ID: A16C1128698C8CAC

View File

@ -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}