Update to version 2.0.1
OBS-URL: https://build.opensuse.org/package/show/devel:microos/nerdctl?expand=0&rev=34
This commit is contained in:
commit
11255cca0b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
19
_service
Normal file
19
_service
Normal file
@ -0,0 +1,19 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://github.com/containerd/nerdctl.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">v2.0.1</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version">
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="disabled">
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/containerd/nerdctl.git</param>
|
||||
<param name="changesrevision">47f31ff2c1615c1accb85c1ce4e7882ad739102f</param></service></servicedata>
|
3
nerdctl-1.7.5.tar.xz
Normal file
3
nerdctl-1.7.5.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c69e72113419560cf6f677c8af9c3ff2b782320809cc5d0cd020eb7c1bf5069
|
||||
size 378080
|
3
nerdctl-1.7.6.tar.xz
Normal file
3
nerdctl-1.7.6.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a02c887cb2be9fd81f7e22baff3effd8c4ed55413fcbf817b6764a349c240bfa
|
||||
size 378116
|
3
nerdctl-1.7.7.tar.xz
Normal file
3
nerdctl-1.7.7.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fdf3df3f480b84ff0e10cc0bf8e4577b857d8b5b1c2720ef0b44a9f42c8b33b2
|
||||
size 383716
|
3
nerdctl-2.0.0.tar.xz
Normal file
3
nerdctl-2.0.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e38ece0d6e99994bd032bd57a8e0a6cb99144bd9d1db0beaa5789645cc65401a
|
||||
size 1146928
|
3
nerdctl-2.0.1.tar.xz
Normal file
3
nerdctl-2.0.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c3c4ac5ed2955dcd29f703d0714472558fd39b35700c1fba99d334640b7ac903
|
||||
size 1147976
|
1332
nerdctl.changes
Normal file
1332
nerdctl.changes
Normal file
File diff suppressed because it is too large
Load Diff
73
nerdctl.spec
Normal file
73
nerdctl.spec
Normal file
@ -0,0 +1,73 @@
|
||||
#
|
||||
# spec file for package nerdctl
|
||||
#
|
||||
# Copyright (c) 2024 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/
|
||||
#
|
||||
|
||||
|
||||
%global provider github
|
||||
%global provider_tld com
|
||||
%global project containerd
|
||||
%global repo nerdctl
|
||||
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
|
||||
%global import_path %{provider_prefix}
|
||||
|
||||
Name: nerdctl
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
Summary: Docker-compatible CLI for containerd
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/containerd/nerdctl
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Source1: vendor.tar.xz
|
||||
BuildRequires: golang(API) >= 1.22
|
||||
Requires: buildkit >= 0.13.0
|
||||
Requires: cni-plugins
|
||||
Requires: containerd
|
||||
Requires: iptables
|
||||
Requires: rootlesskit >= 2.0.0
|
||||
Requires: slirp4netns >= 0.4.0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
nerdctl is a Docker-compatible CLI for containerd.
|
||||
|
||||
%prep
|
||||
%setup -qa1
|
||||
|
||||
%build
|
||||
CGO_ENABLED=0
|
||||
|
||||
go build \
|
||||
-mod=vendor \
|
||||
-buildmode=pie \
|
||||
-ldflags "-X %{provider_prefix}/v2/pkg/version.Version=%{version} \
|
||||
-X %{provider_prefix}/v2/pkg/version.Revision=unknown" \
|
||||
-o _output/nerdctl \
|
||||
%{provider_prefix}/v2/cmd/nerdctl
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}/
|
||||
install -m 0755 _output/nerdctl %{buildroot}%{_bindir}/nerdctl
|
||||
install -m 0755 extras/rootless/containerd-rootless-setuptool.sh %{buildroot}%{_bindir}/containerd-rootless-setuptool.sh
|
||||
install -m 0755 extras/rootless/containerd-rootless.sh %{buildroot}%{_bindir}/containerd-rootless.sh
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc docs/*.md
|
||||
%{_bindir}/nerdctl
|
||||
%{_bindir}/containerd-rootless-setuptool.sh
|
||||
%{_bindir}/containerd-rootless.sh
|
||||
|
||||
%changelog
|
3
vendor.tar.xz
Normal file
3
vendor.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e99c162adf7d425ec81e480728078ea9ff0bd4ee2c9a85adfa3f1a697b6425ed
|
||||
size 3757144
|
Loading…
Reference in New Issue
Block a user