diff --git a/kafka.spec b/kafka.spec index ffd58b0a95aff06ccd5c458d8b552e58ec1aa345..7de1ed258981eba0977ef35ddf426f9d34de6c7a 100644 --- a/kafka.spec +++ b/kafka.spec @@ -4,7 +4,7 @@ Name: kafka Version: 2.4.0 -Release: 2 +Release: 3 Summary: A Distributed Streaming Platform. License: Apache License, Version 2.0 @@ -14,6 +14,9 @@ Source1: kafka.service BuildRequires: systemd java-1.8.0-openjdk-devel Provides: kafka = %{version} Requires: java-1.8.0-openjdk +# To ensure that Zookeeper is included,deploy Kafka using your own Zookeeper +Provides: zookeeper = 3.5.6 +Conflicts: zookeeper = 3.6.1 %description Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications. @@ -53,6 +56,9 @@ cp -n */*/build/dependant-libs*/* $RPM_BUILD_ROOT%{kafka_home}/libs rm -rf %{buildroot} %changelog +* Thu Apr 2 2021 huanghaitao 2.4.0 - 3 +- Declare kafka already include zookeeper + * Thu Mar 25 2021 huanghaitao 2.4.0 - 2 - Remove dist macros