]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
libzstd is available on leap15 but not on sle15
authorMichael Andres <ma@suse.de>
Thu, 23 Aug 2018 10:50:44 +0000 (12:50 +0200)
committerMichael Andres <ma@suse.de>
Thu, 23 Aug 2018 10:50:44 +0000 (12:50 +0200)
package/libsolv.spec.in

index ca649e80beb1531eac6d4bf8345259dfc281692d..63d8f38e236f9197558c2a27d0c0f8ae06a95f3c 100644 (file)
@@ -24,7 +24,7 @@
 %bcond_with bz2
 %bcond_with xz
 %endif
-%if 0%{?sle_version} >= 150000 || 0%{?suse_version} >= 1500
+%if 0%{?is_opensuse} && ( 0%{?sle_version} >= 150000 || 0%{?suse_version} >= 1500 )
 %bcond_without zstd
 %else
 %bcond_with zstd