!55 clean dependency between engine and cli
From: @wanglmb Reviewed-by: @xu_lei_123 Signed-off-by: @xu_lei_123
This commit is contained in:
commit
d7cfd6678b
14
moby.spec
14
moby.spec
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user