From 2d1aba08a7b90bbda775420d36010f4380ecf0cd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 26 Mar 2019 11:50:22 +0100 Subject: fix for EL-6 --- librdkafka.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/librdkafka.spec b/librdkafka.spec index 3eca2c9..a083b89 100644 --- a/librdkafka.spec +++ b/librdkafka.spec @@ -28,7 +28,11 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_ BuildRequires: libstdc++-devel BuildRequires: openssl-devel +%if 0%{?rhel} == 6 +BuildRequires: cyrus-sasl-devel +%else BuildRequires: pkgconfig(libsasl2) +%endif BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(libzstd) -- cgit