1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

Mark docker-*-selinux pkgs as obsolete

These are replaced by `container-selinux` on fedora-25 and centos-7.
Marking these packages as obsolete makes the installation process a bit
smoother, otherwise the user will have to manually uninstall the older
packages to install the new one.

Also makes fedora24 use container-selinux which is now supports labeling
the `dockerd` binary correctly.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 94943b47520aa81bbe30fbc4eb927c79047ef6d2
Component: packaging
This commit is contained in:
Brian Goff
2017-06-16 14:43:17 -04:00
parent d2f94fb172
commit a438006e4f
3 changed files with 16 additions and 0 deletions

View File

@@ -36,6 +36,11 @@ Conflicts: docker
Conflicts: docker-io
Conflicts: docker-engine-cs
# Obsolete packages
Obsoletes: docker-ce-selinux
Obsoletes: docker-engine-selinux
Obsoletes: docker-engine
%description
Docker is an open source project to build, ship and run any application as a
lightweight container.

View File

@@ -27,6 +27,7 @@ Requires: libcgroup
Requires: systemd-units
Requires: tar
Requires: xz
Requires: container-selinux >= 1.10.3-55
# Resolves: rhbz#1165615
Requires: device-mapper-libs >= 1.02.90-1
@@ -36,6 +37,11 @@ Conflicts: docker
Conflicts: docker-io
Conflicts: docker-engine-cs
# Obsolete packages
Obsoletes: docker-ce-selinux
Obsoletes: docker-engine-selinux
Obsoletes: docker-engine
%description
Docker is an open source project to build, ship and run any application as a
lightweight container.

View File

@@ -35,6 +35,11 @@ Conflicts: docker
Conflicts: docker-io
Conflicts: docker-engine-cs
# Obsolete packages
Obsoletes: docker-ce-selinux
Obsoletes: docker-engine-selinux
Obsoletes: docker-engine
%description
Docker is an open source project to build, ship and run any application as a
lightweight container.