!25 Add systemd to buildrequire because %{_unitdir} can't recognize
From: @wang_yue111 Reviewed-by: @zhengzhenyu,@zhengzhenyu Signed-off-by: @zhengzhenyu,@zhengzhenyu
This commit is contained in:
commit
33c638f342
@ -1,5 +1,5 @@
|
||||
%define rel_ver 3.6.2
|
||||
%define pkg_ver 2.3
|
||||
%define pkg_ver 2.4
|
||||
%define _prefix /opt/zookeeper
|
||||
|
||||
Summary: High-performance coordination service for distributed applications.
|
||||
@ -17,7 +17,7 @@ Source3: zookeeper.sysconfig
|
||||
Source4: log4j.properties
|
||||
Source5: xmvn-reactor
|
||||
BuildRoot: %{_tmppath}/%{name}-%{rel_ver}-%{release}-root
|
||||
BuildRequires: java-1.8.0-openjdk-devel,maven,hostname,maven-local
|
||||
BuildRequires: java-1.8.0-openjdk-devel,maven,hostname,maven-local,systemd
|
||||
Requires: java-1.8.0-openjdk,systemd
|
||||
Provides: apache-zookeeper
|
||||
Provides: mvn(org.apche.zookeeper:zookeeper)
|
||||
@ -82,6 +82,9 @@ exit 0
|
||||
%systemd_postun_with_restart zookeeper.service
|
||||
|
||||
%changelog
|
||||
* Tue Oct 24 2021 wangyue <wangyue92@huawei.com> - 2.4
|
||||
- Add systemd to buildrequire because %{_unitdir} can't recognize
|
||||
|
||||
* Thu Jun 24 2021 Ge Wang <wangge20@huawei.com> - 2.3
|
||||
- Add provides item apache-zookeeper and add packages to system default java package directory
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user