diff options
author | Felix Abecassis <fabecassis@nvidia.com> | 2017-03-03 01:33:04 +0300 |
---|---|---|
committer | Felix Abecassis <fabecassis@nvidia.com> | 2017-03-03 01:33:04 +0300 |
commit | 16fd00ac1331101f098f330e7ed4e38a09b1c2e5 (patch) | |
tree | 9e51e068247893c57dad01a741be10eb36d81ed7 | |
parent | 16a7d7da6467d7e772dd04e1f28d4786dccb73c9 (diff) |
Support new Docker package names
RPM packages do not support multiple options for one dependency, and
the new packages don't have a "Provides: docker-engine", so our only
option was to remove the dependency on Docker.
-rw-r--r-- | build/deb/control | 2 | ||||
-rw-r--r-- | build/rpm/SPECS/nvidia-docker.spec | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/deb/control b/build/deb/control index 634b07a..b769326 100644 --- a/build/deb/control +++ b/build/deb/control @@ -10,7 +10,7 @@ Vcs-Browser: https://github.com/NVIDIA/nvidia-docker Package: #PACKAGE# Architecture: #ARCHITECTURE# -Depends: ${misc:Depends}, ${shlibs:Depends}, adduser, docker-engine (>= 1.9.0), libcap2-bin +Depends: ${misc:Depends}, ${shlibs:Depends}, adduser, docker-engine (>= 1.9.0) | docker-ce | docker-ee, libcap2-bin Description: NVIDIA Docker container tools NVIDIA Docker provides utilities to extend the Docker CLI allowing users to build and run GPU applications as lightweight containers. diff --git a/build/rpm/SPECS/nvidia-docker.spec b/build/rpm/SPECS/nvidia-docker.spec index 8bcc265..6a0a636 100644 --- a/build/rpm/SPECS/nvidia-docker.spec +++ b/build/rpm/SPECS/nvidia-docker.spec @@ -17,7 +17,7 @@ Source2: LICENSE %{?systemd_requires} BuildRequires: systemd -Requires: docker-engine, libcap +Requires: libcap %define nvidia_docker_user %{name} %define nvidia_docker_driver %{name} |