X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdocker.git;a=blobdiff_plain;f=docker.spec;h=77359a7df4736aa206479d6c776031a6ae04ff10;hp=56a7a61a4752291db58a242ba3f9ce3eae0e6c5d;hb=2f0bdd5cbde37fa87a0809b26f76aa7689d3d8a6;hpb=0be6870148f127e2837aee5994f04ca292c2966d diff --git a/docker.spec b/docker.spec index 56a7a61..77359a7 100644 --- a/docker.spec +++ b/docker.spec @@ -7,25 +7,25 @@ # NOTES # https://github.com/docker/docker/blob/master/project/PACKAGERS.md#build-dependencies -# v1.0.0-rc1-39-gcc29e3d -%define runc_commit cc29e3d -# v0.2.0-125-g0ac3cd1 -%define containerd_commit 0ac3cd1 +# v1.0.0-rc2-9-g50a19c6 +%define runc_commit 50a19c6 +# v0.2.4-10-g2a5e70c +%define containerd_commit 2a5e70c #define subver -rc2 Summary: Docker: the open-source application container engine Name: docker -Version: 1.12.1 +Version: 1.12.6 Release: 1 License: Apache v2.0 Group: Applications/System # https://github.com/docker/docker/releases Source0: https://github.com/docker/docker/archive/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 7af7b4c25d414aa19bc7382bd85c25f7 -Source1: https://github.com/opencontainers/runc/archive/%{runc_commit}/runc-%{runc_commit}.tar.gz -# Source1-md5: 716d0b284ce42490eeb83befba10fafb +# Source0-md5: 2db317ab9811641449784fe0fb29d74f +Source1: https://github.com/docker/runc/archive/%{runc_commit}/runc-%{runc_commit}.tar.gz +# Source1-md5: b8f0f19983f641c53a997a58b37dc63e Source2: https://github.com/docker/containerd/archive/%{containerd_commit}/containerd-%{containerd_commit}.tar.gz -# Source2-md5: f0a0c1101ad259b84fb457c8c7036723 -Source4: %{name}.sh +# Source2-md5: 143556e1e7a4e8fa678dce1e0b766e12 +Source4: %{name}d.sh Source7: %{name}.init Source8: %{name}.sysconfig Patch0: systemd.patch @@ -40,6 +40,7 @@ Requires(post,preun): /sbin/chkconfig Requires(postun): /usr/sbin/groupdel Requires(pre): /usr/bin/getgid Requires(pre): /usr/sbin/groupadd +Requires: ca-certificates Requires: iproute2 >= 3.5 Requires: iptables Requires: rc-scripts >= 0.4.0.10 @@ -47,6 +48,7 @@ Requires: systemd-units >= 38 Requires: tar >= 1:1.26 Requires: uname(release) >= 3.8 Requires: xz +Suggests: docker-credential-helpers Suggests: git-core >= 1.7 Suggests: libcgroup Suggests: xz >= 1:4.9 @@ -180,7 +182,7 @@ install -p containerd/bin/ctr $RPM_BUILD_ROOT%{_sbindir}/docker-containerd-ctr cp -p contrib/init/systemd/docker.service $RPM_BUILD_ROOT%{systemdunitdir} cp -p contrib/init/systemd/docker.socket $RPM_BUILD_ROOT%{systemdunitdir} install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/docker -install -p %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/docker +install -p %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/dockerd cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/docker # install udev rules @@ -236,7 +238,7 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_sbindir}/docker-proxy %attr(755,root,root) %{_sbindir}/docker-runc %attr(755,root,root) %{_sbindir}/dockerd -%attr(755,root,root) %{_libexecdir}/docker +%attr(755,root,root) %{_libexecdir}/dockerd %{systemdunitdir}/docker.service %{systemdunitdir}/docker.socket /lib/udev/rules.d/80-docker.rules