From 026fff0d838bdc020971815bc20f8225623be100 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Aug 07 2018 09:24:30 +0000 Subject: - Wrap zstd Requires in build condition --- diff --git a/rpm.spec b/rpm.spec index 646ae26..cc37492 100644 --- a/rpm.spec +++ b/rpm.spec @@ -214,7 +214,10 @@ Group: Development/Tools Requires: rpm = %{version}-%{release} Requires: elfutils >= 0.128 binutils Requires: findutils sed grep gawk diffutils file patch >= 2.5 -Requires: tar unzip gzip bzip2 cpio xz zstd +Requires: tar unzip gzip bzip2 cpio xz +%if %{with zstd} +Requires: zstd +%endif Requires: pkgconfig >= 1:0.24 Requires: /usr/bin/gdb-add-index # Technically rpmbuild doesn't require any external configuration, but