From e5247a577a4ca26bdd1a1e2dea41c4759870677b92ab6aa92ba480c8f1ce408f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 27 Jul 2020 06:46:57 +0000 Subject: [PATCH] test OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-recompress?expand=0&rev=35 --- obs-service-recompress.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/obs-service-recompress.spec b/obs-service-recompress.spec index a7f4385..d8b0c9e 100644 --- a/obs-service-recompress.spec +++ b/obs-service-recompress.spec @@ -31,11 +31,16 @@ BuildRequires: perl(Test::More) BuildRequires: bzip2 BuildRequires: gzip BuildRequires: xz -BuildRequires: zstd Requires: bzip2 Requires: gzip Requires: xz + +%if (0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150000) || 0%{?fedora_version} < 25 || 0%{?rhel_version} < 6 +# noop +%else +BuildRequires: zstd Requires: zstd +%endif BuildArch: noarch