change name to zookeeper
This commit is contained in:
parent
8e73448722
commit
6eddc3b326
@ -1,9 +1,9 @@
|
|||||||
%define rel_ver 3.6.1
|
%define rel_ver 3.6.1
|
||||||
%define pkg_ver 2.3
|
%define pkg_ver 2.5
|
||||||
%define _prefix /opt/zookeeper
|
%define _prefix /opt/zookeeper
|
||||||
|
|
||||||
Summary: High-performance coordination service for distributed applications.
|
Summary: High-performance coordination service for distributed applications.
|
||||||
Name: apache-zookeeper
|
Name: zookeeper
|
||||||
Version: %{rel_ver}
|
Version: %{rel_ver}
|
||||||
Release: %{pkg_ver}
|
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
|
||||||
@ -23,11 +23,11 @@ Requires: java-1.8.0-openjdk,systemd
|
|||||||
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
|
%setup -q -n apache-zookeeper-3.6.1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mvn -DskipTests package
|
mvn -DskipTests package
|
||||||
tar xvf zookeeper-assembly/target/%{name}-%{rel_ver}-bin.tar.gz -C .
|
tar xvf zookeeper-assembly/target/apache-%{name}-%{rel_ver}-bin.tar.gz -C .
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_prefix}/bin
|
mkdir -p %{buildroot}%{_prefix}/bin
|
||||||
@ -36,9 +36,9 @@ mkdir -p %{buildroot}%{_prefix}/conf
|
|||||||
mkdir -p %{buildroot}%{_localstatedir}/log/zookeeper
|
mkdir -p %{buildroot}%{_localstatedir}/log/zookeeper
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/lib/zookeeper/data
|
mkdir -p %{buildroot}%{_localstatedir}/lib/zookeeper/data
|
||||||
|
|
||||||
install -p -D -m 755 %{name}-%{rel_ver}-bin/bin/*.sh %{buildroot}%{_prefix}/bin
|
install -p -D -m 755 apache-%{name}-%{rel_ver}-bin/bin/*.sh %{buildroot}%{_prefix}/bin
|
||||||
install -p -D -m 644 %{name}-%{rel_ver}-bin/lib/*.jar %{buildroot}%{_prefix}/lib
|
install -p -D -m 644 apache-%{name}-%{rel_ver}-bin/lib/*.jar %{buildroot}%{_prefix}/lib
|
||||||
install -p -D -m 644 %{name}-%{rel_ver}-bin/conf/* %{buildroot}%{_prefix}/conf
|
install -p -D -m 644 apache-%{name}-%{rel_ver}-bin/conf/* %{buildroot}%{_prefix}/conf
|
||||||
install -p -D -m 644 %{S:1} %{buildroot}%{_prefix}/conf/zoo.cfg
|
install -p -D -m 644 %{S:1} %{buildroot}%{_prefix}/conf/zoo.cfg
|
||||||
install -p -D -m 644 %{S:2} %{buildroot}%{_unitdir}/zookeeper.service
|
install -p -D -m 644 %{S:2} %{buildroot}%{_unitdir}/zookeeper.service
|
||||||
install -p -D -m 644 %{S:3} %{buildroot}%{_sysconfdir}/sysconfig/zookeeper
|
install -p -D -m 644 %{S:3} %{buildroot}%{_sysconfdir}/sysconfig/zookeeper
|
||||||
@ -71,9 +71,15 @@ exit 0
|
|||||||
%systemd_postun_with_restart zookeeper.service
|
%systemd_postun_with_restart zookeeper.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Feb 25 2022 wangkai <wangkai385@huawei.com> - 2.3
|
* Sun Nov 6 2022 xiexing <xiexing4@hisilicon.com> - 3.6.1-2.5
|
||||||
|
- change Name apache-zookeeper to zookeeper
|
||||||
|
|
||||||
|
* Fri Feb 25 2022 wangkai <wangkai385@huawei.com> - 2.4
|
||||||
- Rebuild for fix log4j1.x cves
|
- Rebuild for fix log4j1.x cves
|
||||||
|
|
||||||
|
* Thu Dec 16 2021 wangkai <wangkai385@huawei.com> - 2.3
|
||||||
|
- This package depends on log4j.After the log4j vulnerability CVE-2021-44228 is fixed,the version needs to be rebuild.
|
||||||
|
|
||||||
* Fri Jun 18 2021 lingsheng <lingsheng@huawei.com> - 2.2
|
* Fri Jun 18 2021 lingsheng <lingsheng@huawei.com> - 2.2
|
||||||
- Fix reload service failure
|
- Fix reload service failure
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user