From 88f3c32b05394bd3840ac33c90af7201d6ab55f9 Mon Sep 17 00:00:00 2001 From: wanglmb Date: Tue, 14 May 2024 09:26:27 +0000 Subject: [PATCH] clean dependency between engine and cli Signed-off-by: wanglmb (cherry picked from commit 4769668e2b15b428f18d30ff34403eb60bbe8c85) --- moby.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/moby.spec b/moby.spec index 5346b70..4ff63b8 100644 --- a/moby.spec +++ b/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 - 25.0.3-5 +- DESC:clean dependency between engine and cli + * Sat May 11 2024 lvxiangcong - 25.0.3-4 - DESC:fix install error failed to docker.service does not exit -- Gitee