From: Michael Schroeder Date: Wed, 18 Jul 2018 13:29:54 +0000 (+0200) Subject: libzstd is only available for >= leap15 X-Git-Tag: 0.6.35~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bed40f9c4438f6117503a3c9d86201b59f1c418;p=thirdparty%2Flibsolv.git libzstd is only available for >= leap15 --- diff --git a/package/libsolv.spec.in b/package/libsolv.spec.in index f536bf0c..f7e615af 100644 --- a/package/libsolv.spec.in +++ b/package/libsolv.spec.in @@ -20,10 +20,13 @@ %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