Rebase to 2.4.0
This commit is contained in:
parent
c86c0bc238
commit
c8e2ee5d5d
Binary file not shown.
BIN
kafka-2.4.0-src.tgz
Normal file
BIN
kafka-2.4.0-src.tgz
Normal file
Binary file not shown.
Binary file not shown.
21
kafka.spec
21
kafka.spec
@ -3,18 +3,20 @@
|
||||
%define kafka_home /opt/kafka
|
||||
|
||||
Name: kafka
|
||||
Version: 2.6.0
|
||||
Release: 1%{?dist}
|
||||
Version: 2.4.0
|
||||
Release: 3
|
||||
Summary: A Distributed Streaming Platform.
|
||||
|
||||
License: Apache License, Version 2.0
|
||||
Source0: https://archive.apache.org/dist/%{name}/%{version}/%{name}-%{version}-src.tgz
|
||||
Source1: https://services.gradle.org/distributions/gradle-6.5-bin.zip
|
||||
Source2: kafka.service
|
||||
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.
|
||||
@ -30,8 +32,6 @@ exit 0
|
||||
%setup -q -n %{name}-%{version}-src
|
||||
|
||||
%build
|
||||
unzip -q $RPM_SOURCE_DIR/gradle-6.5-bin.zip
|
||||
./gradle-6.5/bin/gradle
|
||||
./gradlew jar
|
||||
|
||||
%install
|
||||
@ -56,6 +56,15 @@ cp -n */*/build/dependant-libs*/* $RPM_BUILD_ROOT%{kafka_home}/libs
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%changelog
|
||||
* Thu Apr 2 2021 huanghaitao <huanghaitao8@huawei.com> 2.4.0 - 3
|
||||
- Declare kafka already include zookeeper
|
||||
|
||||
* Thu Mar 25 2021 huanghaitao <huanghaitao8@huawei.com> 2.4.0 - 2
|
||||
- Remove dist macros
|
||||
|
||||
* Sat Mar 20 2021 huanghaitao <huanghaitao8@huawei.com> 2.4.0 - 1
|
||||
- Rebase to 2.4.0
|
||||
|
||||
* Sat Aug 15 2020 Hao Zhang <unioah@isrc.iscas.ac.cn>
|
||||
- init
|
||||
* Sat Oct 04 2020 Hao Zhang <unioah@isrc.iscas.ac.cn>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user