Hello community,
here is the log from the commit of package nvidia-container-toolkit for
openSUSE:Factory checked in at 2020-06-18 10:18:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvidia-container-toolkit (Old)
and /work/SRC/openSUSE:Factory/.nvidia-container-toolkit.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nvidia-container-toolkit"
Thu Jun 18 10:18:56 2020 rev:1 rq:792629 version:0.0+git.1580519869.60f165a
Changes:
--------
New Changes file:
--- /dev/null 2020-05-28 02:28:09.919761697 +0200
+++
/work/SRC/openSUSE:Factory/.nvidia-container-toolkit.new.3606/nvidia-container-toolkit.changes
2020-06-18 10:19:34.699233135 +0200
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Wed Apr 8 14:34:41 UTC 2020 - Sascha Grunert <[email protected]>
+
+- Add initial version
New:
----
_service
container-toolkit-0.0+git.1580519869.60f165a.tar.xz
nvidia-container-toolkit.changes
nvidia-container-toolkit.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nvidia-container-toolkit.spec ++++++
#
# spec file for package nvidia-container-toolkit
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define project github.com/NVIDIA/container-toolkit
Name: nvidia-container-toolkit
Version: 0.0+git.1580519869.60f165a
Release: 0
Summary: NVIDIA Container Toolkit
License: Apache-2.0
Group: Development/Tools/Other
URL: https://github.com/NVIDIA/container-toolkit
Source0: container-toolkit-%{version}.tar.xz
BuildRequires: libcontainers-common
BuildRequires: golang(API) >= 1.12
Requires: libnvidia-container-tools
%description
Build and run containers leveraging NVIDIA GPUs.
%prep
%setup -q -T -D -b 0 -n container-toolkit-%{version}
%build
export GOPATH=$HOME/go
mkdir -pv $HOME/go/src/%{project}
rm -rf $HOME/go/src/%{project}/*
cp -avr * $HOME/go/src/%{project}
cd $HOME/go/src/%{project}
go build -ldflags "-s -w" \
-v -buildmode=pie \
-o bin/nvidia-container-toolkit \
./nvidia-container-toolkit
%install
install -D -m 0755 $HOME/go/src/%{project}/bin/nvidia-container-toolkit
%{buildroot}/%{_bindir}/nvidia-container-toolkit
install -D -m 0644 oci-nvidia-hook.json
%{buildroot}/usr/share/containers/oci/hooks.d/oci-nvidia-hook.json
install -D -m 0644 config/config.toml.opensuse-leap
%{buildroot}/etc/nvidia-container-runtime/config.toml
%files
%license LICENSE
%{_bindir}/nvidia-container-toolkit
/usr/share/containers/oci/hooks.d/oci-nvidia-hook.json
/etc/nvidia-container-runtime
%config(noreplace) /etc/nvidia-container-runtime/config.toml
%changelog
++++++ _service ++++++
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/NVIDIA/container-toolkit</param>
<param name="scm">git</param>
<param name="versionprefix">0.0+git</param>
<param name="versionformat">%ct.%h</param>
<param name="revision">60f165ad6901f85b0c3acbf7ce2c66cd759c4fb8</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">container-toolkit-*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled">
<param name="basename">container-toolkit</param>
</service>
</services>