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