clean dependency between engine and cli

Signed-off-by: wanglmb <wanglimin@xfusion.com>
This commit is contained in:
wanglmb 2024-05-14 09:26:27 +00:00 committed by Gitee
parent 4f57a9a8c4
commit 4769668e2b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -7,7 +7,7 @@
Name: moby
Version: 25.0.3
Release: 4
Release: 5
Summary: The open-source application container engine
License: ASL 2.0
URL: https://www.docker.com
@ -42,8 +42,6 @@ lightweight container.
Summary: Docker daemon binary and related utilities
Requires: /usr/sbin/groupadd
Requires: %{name} = %{version}-%{release}
Requires: %{name}-client = %{version}-%{release}
Requires: runc
Requires: container-selinux >= 2:2.74
Requires: libseccomp >= 2.3
@ -83,7 +81,6 @@ Docker daemon binary and related utilities
Summary: Docker client binary and related utilities
Requires: /bin/sh
Requires: %{name}-engine = %{version}-%{release}
BuildRequires: libtool-ltdl-devel
%description client
@ -182,19 +179,22 @@ install -p -m 644 %{_builddir}/%{_source_client}/{LICENSE,MAINTAINERS,NOTICE,REA
%{_datadir}/fish/vendor_completions.d/docker.fish
%doc %{_pkgdocdir}
%post engine
%post
%systemd_post docker.service
if ! getent group docker > /dev/null; then
groupadd --system docker
fi
%preun engine
%preun
%systemd_preun docker.service docker.socket
%postun engine
%postun
%systemd_postun_with_restart docker.service
%changelog
* Tue May 14 2024 wanglimin<wanglimin@xfusion.com> - 25.0.3-5
- DESC:clean dependency between engine and cli
* Sat May 11 2024 lvxiangcong<lvxiangcong@kylinos.cn> - 25.0.3-4
- DESC:fix install error failed to docker.service does not exit