!37 升级到 3.8.0版本
From: @macchen1 Reviewed-by: @sinever Signed-off-by: @sinever
This commit is contained in:
commit
e9df0397bc
BIN
release-3.8.0-1.tar.gz
Normal file
BIN
release-3.8.0-1.tar.gz
Normal file
Binary file not shown.
18
xmvn-reactor
18
xmvn-reactor
@ -4,8 +4,8 @@
|
|||||||
<artifact>
|
<artifact>
|
||||||
<groupId>org.apache.zookeeper</groupId>
|
<groupId>org.apache.zookeeper</groupId>
|
||||||
<artifactId>zookeeper</artifactId>
|
<artifactId>zookeeper</artifactId>
|
||||||
<version>3.6.2</version>
|
<version>3.8.0</version>
|
||||||
<path>absolute-prefix/zookeeper-server/target/zookeeper-3.6.2.jar</path>
|
<path>absolute-prefix/zookeeper-server/target/zookeeper-3.8.0.jar</path>
|
||||||
<properties>
|
<properties>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<requiresJava>1.6</requiresJava>
|
<requiresJava>1.6</requiresJava>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
<groupId>org.apache.zookeeper</groupId>
|
<groupId>org.apache.zookeeper</groupId>
|
||||||
<artifactId>zookeeper</artifactId>
|
<artifactId>zookeeper</artifactId>
|
||||||
<extension>pom</extension>
|
<extension>pom</extension>
|
||||||
<version>3.6.2</version>
|
<version>3.8.0</version>
|
||||||
<path>absolute-prefix/zookeeper-server/pom.xml</path>
|
<path>absolute-prefix/zookeeper-server/pom.xml</path>
|
||||||
<properties>
|
<properties>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
@ -26,8 +26,8 @@
|
|||||||
<artifact>
|
<artifact>
|
||||||
<groupId>org.apache.zookeeper</groupId>
|
<groupId>org.apache.zookeeper</groupId>
|
||||||
<artifactId>zookeeper-jute</artifactId>
|
<artifactId>zookeeper-jute</artifactId>
|
||||||
<version>3.6.2</version>
|
<version>3.8.0</version>
|
||||||
<path>absolute-prefix/zookeeper-jute/target/zookeeper-jute-3.6.2.jar</path>
|
<path>absolute-prefix/zookeeper-jute/target/zookeeper-jute-3.8.0.jar</path>
|
||||||
<properties>
|
<properties>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<requiresJava>1.6</requiresJava>
|
<requiresJava>1.6</requiresJava>
|
||||||
@ -37,7 +37,7 @@
|
|||||||
<groupId>org.apache.zookeeper</groupId>
|
<groupId>org.apache.zookeeper</groupId>
|
||||||
<artifactId>zookeeper-jute</artifactId>
|
<artifactId>zookeeper-jute</artifactId>
|
||||||
<extension>pom</extension>
|
<extension>pom</extension>
|
||||||
<version>3.6.2</version>
|
<version>3.8.0</version>
|
||||||
<path>absolute-prefix/zookeeper-jute/pom.xml</path>
|
<path>absolute-prefix/zookeeper-jute/pom.xml</path>
|
||||||
<properties>
|
<properties>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
@ -48,8 +48,8 @@
|
|||||||
<artifact>
|
<artifact>
|
||||||
<groupId>org.apache.zookeeper</groupId>
|
<groupId>org.apache.zookeeper</groupId>
|
||||||
<artifactId>zookeeper-prometheus-metrics</artifactId>
|
<artifactId>zookeeper-prometheus-metrics</artifactId>
|
||||||
<version>3.6.2</version>
|
<version>3.8.0</version>
|
||||||
<path>absolute-prefix/zookeeper-metrics-providers/zookeeper-prometheus-metrics/target/zookeeper-prometheus-metrics-3.6.2.jar</path>
|
<path>absolute-prefix/zookeeper-metrics-providers/zookeeper-prometheus-metrics/target/zookeeper-prometheus-metrics-3.8.0.jar</path>
|
||||||
<properties>
|
<properties>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<requiresJava>1.6</requiresJava>
|
<requiresJava>1.6</requiresJava>
|
||||||
@ -59,7 +59,7 @@
|
|||||||
<groupId>org.apache.zookeeper</groupId>
|
<groupId>org.apache.zookeeper</groupId>
|
||||||
<artifactId>zookeeper-prometheus-metrics</artifactId>
|
<artifactId>zookeeper-prometheus-metrics</artifactId>
|
||||||
<extension>pom</extension>
|
<extension>pom</extension>
|
||||||
<version>3.6.2</version>
|
<version>3.8.0</version>
|
||||||
<path>absolute-prefix/zookeeper-metrics-providers/zookeeper-prometheus-metrics/pom.xml</path>
|
<path>absolute-prefix/zookeeper-metrics-providers/zookeeper-prometheus-metrics/pom.xml</path>
|
||||||
<properties>
|
<properties>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,7 @@
|
|||||||
%define rel_ver 3.6.2
|
%define rel_ver 3.8.0
|
||||||
%define pkg_ver 2.4
|
%define pkg_ver 1
|
||||||
%define _prefix /opt/zookeeper
|
%define _prefix /opt/zookeeper
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Summary: High-performance coordination service for distributed applications.
|
Summary: High-performance coordination service for distributed applications.
|
||||||
Name: zookeeper
|
Name: zookeeper
|
||||||
@ -9,8 +10,7 @@ Release: %{pkg_ver}
|
|||||||
License: Apache-2.0 and OpenSSL and SSLeay and MIT and BSD
|
License: Apache-2.0 and OpenSSL and SSLeay and MIT and BSD
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
URL: https://www.apache.org/dist/zookeeper/
|
URL: https://www.apache.org/dist/zookeeper/
|
||||||
BuildArch: noarch
|
Source0: https://github.com/apache/zookeeper/archive/refs/tags/release-3.8.0-1.tar.gz
|
||||||
Source0: zookeeper-release-%{rel_ver}.tar.gz
|
|
||||||
Source1: zoo.cfg
|
Source1: zoo.cfg
|
||||||
Source2: zookeeper.service
|
Source2: zookeeper.service
|
||||||
Source3: zookeeper.sysconfig
|
Source3: zookeeper.sysconfig
|
||||||
@ -26,7 +26,7 @@ Provides: mvn(org.apche.zookeeper:zookeeper)
|
|||||||
ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.
|
ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n zookeeper-release-%{version}
|
%setup -q -n zookeeper-release-%{version}-1
|
||||||
cp %{SOURCE5} ./.xmvn-reactor
|
cp %{SOURCE5} ./.xmvn-reactor
|
||||||
echo `pwd` > absolute_prefix.log
|
echo `pwd` > absolute_prefix.log
|
||||||
sed -i 's/\//\\\//g' absolute_prefix.log
|
sed -i 's/\//\\\//g' absolute_prefix.log
|
||||||
@ -82,6 +82,9 @@ exit 0
|
|||||||
%systemd_postun_with_restart zookeeper.service
|
%systemd_postun_with_restart zookeeper.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 5 2022 xiexing <xiexing4@hisilicon.com> - 3.8.0-1
|
||||||
|
- update version
|
||||||
|
|
||||||
* Tue Oct 24 2021 wangyue <wangyue92@huawei.com> - 2.4
|
* Tue Oct 24 2021 wangyue <wangyue92@huawei.com> - 2.4
|
||||||
- Add systemd to buildrequire because %{_unitdir} can't recognize
|
- Add systemd to buildrequire because %{_unitdir} can't recognize
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user