]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
libzstd is only available for >= leap15
authorMichael Schroeder <mls@suse.de>
Wed, 18 Jul 2018 13:29:54 +0000 (15:29 +0200)
committerMichael Schroeder <mls@suse.de>
Wed, 18 Jul 2018 13:29:54 +0000 (15:29 +0200)
package/libsolv.spec.in

index f536bf0c906c2ca327ce4ca0af822eb5dc92c814..f7e615af7890b2ad72c6fa121e752a36adbab263 100644 (file)
 %if 0%{?sle_version} >= 120300 || 0%{?suse_version} >= 1330 || !0%{?suse_version}
 %bcond_without bz2
 %bcond_without xz
-%bcond_without zstd
 %else
 %bcond_with bz2
 %bcond_with xz
+%endif
+%if 0%{?sle_version} >= 150000 || 0%{?suse_version} >= 1500
+%bcond_without zstd
+%else
 %bcond_with zstd
 %endif
 %if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?mageia} >= 6 || 0%{?suse_version} >= 1330