summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-03-26 11:50:22 +0100
committerRemi Collet <remi@remirepo.net>2019-03-26 11:50:22 +0100
commit2d1aba08a7b90bbda775420d36010f4380ecf0cd (patch)
treeab7b3a7d2c527f89f5bc25e78cf3d89d1274890f
parent38eefc48232363d6ec479ae20459467b896c4b7a (diff)
fix for EL-6
-rw-r--r--librdkafka.spec4
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)