diff --git a/moby.spec b/moby.spec index 5346b705baca78179419236e270cb80a4c378bde..4ff63b8566ada3707b85b79b8948abca0870f974 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