!37 升级到 3.8.0版本

From: @macchen1 
Reviewed-by: @sinever 
Signed-off-by: @sinever
This commit is contained in:
openeuler-ci-bot 2022-05-07 02:53:21 +00:00 committed by Gitee
commit e9df0397bc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 17 additions and 14 deletions

BIN
release-3.8.0-1.tar.gz Normal file

Binary file not shown.

View File

@ -4,8 +4,8 @@
<artifact>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.6.2</version>
<path>absolute-prefix/zookeeper-server/target/zookeeper-3.6.2.jar</path>
<version>3.8.0</version>
<path>absolute-prefix/zookeeper-server/target/zookeeper-3.8.0.jar</path>
<properties>
<type>jar</type>
<requiresJava>1.6</requiresJava>
@ -15,7 +15,7 @@
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<extension>pom</extension>
<version>3.6.2</version>
<version>3.8.0</version>
<path>absolute-prefix/zookeeper-server/pom.xml</path>
<properties>
<type>jar</type>
@ -26,8 +26,8 @@
<artifact>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper-jute</artifactId>
<version>3.6.2</version>
<path>absolute-prefix/zookeeper-jute/target/zookeeper-jute-3.6.2.jar</path>
<version>3.8.0</version>
<path>absolute-prefix/zookeeper-jute/target/zookeeper-jute-3.8.0.jar</path>
<properties>
<type>jar</type>
<requiresJava>1.6</requiresJava>
@ -37,7 +37,7 @@
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper-jute</artifactId>
<extension>pom</extension>
<version>3.6.2</version>
<version>3.8.0</version>
<path>absolute-prefix/zookeeper-jute/pom.xml</path>
<properties>
<type>jar</type>
@ -48,8 +48,8 @@
<artifact>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper-prometheus-metrics</artifactId>
<version>3.6.2</version>
<path>absolute-prefix/zookeeper-metrics-providers/zookeeper-prometheus-metrics/target/zookeeper-prometheus-metrics-3.6.2.jar</path>
<version>3.8.0</version>
<path>absolute-prefix/zookeeper-metrics-providers/zookeeper-prometheus-metrics/target/zookeeper-prometheus-metrics-3.8.0.jar</path>
<properties>
<type>jar</type>
<requiresJava>1.6</requiresJava>
@ -59,7 +59,7 @@
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper-prometheus-metrics</artifactId>
<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>
<properties>
<type>jar</type>

Binary file not shown.

View File

@ -1,6 +1,7 @@
%define rel_ver 3.6.2
%define pkg_ver 2.4
%define rel_ver 3.8.0
%define pkg_ver 1
%define _prefix /opt/zookeeper
%global debug_package %{nil}
Summary: High-performance coordination service for distributed applications.
Name: zookeeper
@ -9,8 +10,7 @@ Release: %{pkg_ver}
License: Apache-2.0 and OpenSSL and SSLeay and MIT and BSD
Group: Applications/Databases
URL: https://www.apache.org/dist/zookeeper/
BuildArch: noarch
Source0: zookeeper-release-%{rel_ver}.tar.gz
Source0: https://github.com/apache/zookeeper/archive/refs/tags/release-3.8.0-1.tar.gz
Source1: zoo.cfg
Source2: zookeeper.service
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.
%prep
%setup -q -n zookeeper-release-%{version}
%setup -q -n zookeeper-release-%{version}-1
cp %{SOURCE5} ./.xmvn-reactor
echo `pwd` > absolute_prefix.log
sed -i 's/\//\\\//g' absolute_prefix.log
@ -82,6 +82,9 @@ exit 0
%systemd_postun_with_restart zookeeper.service
%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
- Add systemd to buildrequire because %{_unitdir} can't recognize