rename back to moby
This commit is contained in:
parent
60852aaf34
commit
696c7ddfa2
30
moby.spec
30
moby.spec
@ -5,9 +5,9 @@
|
||||
%global _source_docker_init tini-0.19.0
|
||||
%define _debugsource_template %{nil}
|
||||
|
||||
Name: docker
|
||||
Name: moby
|
||||
Version: 25.0.3
|
||||
Release: 19
|
||||
Release: 20
|
||||
Summary: The open-source application container engine
|
||||
License: ASL 2.0
|
||||
URL: https://www.docker.com
|
||||
@ -38,6 +38,8 @@ Conflicts: docker-ce
|
||||
Conflicts: docker-io
|
||||
Conflicts: docker-engine-cs
|
||||
Conflicts: docker-ee
|
||||
Obsoletes: docker < %{version}-%{release}
|
||||
Provides: docker = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Docker is a product for you to build, ship and run any application as a
|
||||
@ -78,13 +80,16 @@ BuildRequires: systemd-devel
|
||||
BuildRequires: tar
|
||||
BuildRequires: which
|
||||
BuildRequires: golang >= 1.18.0
|
||||
BuildRequires: docker-proxy
|
||||
Obsoletes: docker-engine < %{version}-%{release}
|
||||
Conflicts: docker-engine >= 2:18
|
||||
Requires: libnetwork = %{version}-%{release}
|
||||
|
||||
%description engine
|
||||
Docker daemon binary and related utilities
|
||||
|
||||
%package client
|
||||
Summary: Docker client binary and related utilities
|
||||
Obsoletes: docker-client < %{version}-%{release}
|
||||
|
||||
Requires: /bin/sh
|
||||
BuildRequires: libtool-ltdl-devel
|
||||
@ -92,6 +97,15 @@ BuildRequires: libtool-ltdl-devel
|
||||
%description client
|
||||
Docker client binary and related utilities
|
||||
|
||||
%package -n libnetwork
|
||||
Summary: Proxy used for docker port mapping
|
||||
Provides: docker-proxy
|
||||
Obsoletes: docker-proxy
|
||||
Conflicts: docker-engine < 25.0.3-20
|
||||
|
||||
%description -n libnetwork
|
||||
Proxy used for docker port mapping.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_source_client}
|
||||
%setup -q -T -n %{_source_engine} -b 1
|
||||
@ -148,7 +162,7 @@ ver="$(%{_builddir}/%{_source_client}/build/docker --version)"; \
|
||||
install -D -p -m 0755 $(readlink -f %{_builddir}/%{_source_engine}/bundles/dynbinary-daemon/dockerd) %{buildroot}%{_bindir}/dockerd
|
||||
|
||||
# install proxy
|
||||
install -D -p -m 0755 /usr/bin/docker-proxy %{buildroot}%{_bindir}/docker-proxy
|
||||
install -D -p -m 0755 %{_builddir}/%{_source_engine}/bundles/dynbinary-daemon/docker-proxy %{buildroot}%{_bindir}/docker-proxy
|
||||
|
||||
# install tini
|
||||
install -D -p -m 755 %{_builddir}/%{_source_docker_init}/tini-static %{buildroot}%{_bindir}/docker-init
|
||||
@ -181,11 +195,13 @@ install -p -m 644 %{_builddir}/%{_source_client}/{LICENSE,MAINTAINERS,NOTICE,REA
|
||||
%files engine
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/docker
|
||||
%{_bindir}/dockerd
|
||||
%{_bindir}/docker-proxy
|
||||
%{_bindir}/docker-init
|
||||
%{_unitdir}/docker.service
|
||||
%{_unitdir}/docker.socket
|
||||
|
||||
%files -n libnetwork
|
||||
%{_bindir}/docker-proxy
|
||||
|
||||
%files client
|
||||
%{_bindir}/docker
|
||||
%{_datadir}/bash-completion/completions/docker
|
||||
@ -208,6 +224,10 @@ fi
|
||||
%systemd_postun_with_restart docker.service
|
||||
|
||||
%changelog
|
||||
* Fri Nov 22 2024 Funda Wang <fundawang@yeah.net> - 25.0.3-20
|
||||
- rename back to moby
|
||||
- split docker-proxy for docker 18 to use
|
||||
|
||||
* Thu Nov 14 2024 shechenglong <shechenglong@xfusion.com> - 25.0.3-19
|
||||
- DESC: Resolving installation conflicts between docker-engine and libnetwork
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user