Skip to content

Commit 9d6a23b

Browse files
authored
Merge pull request #317 from elezar/require-version-match
Require version match between libnvidia-container-tools and libnvidia-container1
2 parents 710a0f1 + bcc5a6f commit 9d6a23b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/deb/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Package: libnvidia-container-tools
4848
Section: @SECTION@utils
4949
Priority: optional
5050
Architecture: any
51-
Depends: ${shlibs:Depends}, ${misc:Depends}
51+
Depends: libnvidia-container@MAJOR@ (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
5252
Description: NVIDIA container runtime library (command-line tools)
5353
The nvidia-container library provides an interface to configure GNU/Linux
5454
containers leveraging NVIDIA hardware. The implementation relies on several

pkg/rpm/SPECS/libnvidia-container.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ This package contains the debugging symbols for the library.
8484
%{_prefix}/lib/debug%{_libdir}/lib*.so.*
8585

8686
%package tools
87-
Requires: %{name}%{_major}%{?_isa} >= %{version}-%{release}
87+
Requires: %{name}%{_major}%{?_isa} = %{version}-%{release}
8888
Summary: NVIDIA container runtime library (command-line tools)
8989
%description tools
9090
The nvidia-container library provides an interface to configure GNU/Linux

0 commit comments

Comments
 (0)