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:
parent
7e6a28a710
commit
323f7ddd7f
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user