diff options
-rw-r--r-- | librdkafka.spec | 4 |
1 files changed, 4 insertions, 0 deletions
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) |