From 1f5fcebdfa17e93334cfc1ec3546a90899e23bd7 Mon Sep 17 00:00:00 2001 From: yuanhui Date: Thu, 28 Jul 2022 11:32:17 +0800 Subject: [PATCH] Fixed error of failed dependencies $sudo rpm -ivh nerdctl-0.22.0-1.an8.x86_64.rpm error: Failed dependencies: buildkit is needed by nerdctl-0.22.0-1.an8.x86_64 cni-plugins is needed by nerdctl-0.22.0-1.an8.x86_64 rootlesskit >= 1.0.0 is needed by nerdctl-0.22.0-1.an8.x86_64 Signed-off-by: yuanhui --- nerdctl.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nerdctl.spec b/nerdctl.spec index 722afa1..21d949c 100644 --- a/nerdctl.spec +++ b/nerdctl.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global provider github %global provider_tld com %global project containerd @@ -16,10 +16,7 @@ URL: https://github.com/containerd/nerdctl Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.gz BuildRequires: golang >= 1.17 -Requires: buildkit -Requires: cni-plugins Requires: containerd -Requires: rootlesskit >= 1.0.0 Requires: slirp4netns >= 0.4.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -47,5 +44,8 @@ install -m 0755 extras/rootless/containerd-rootless.sh %{buildroot}%{_bindir}/co %{_bindir}/containerd-rootless.sh %changelog +* Thu Jul 28 2022 yuanhui - 0.22.0-2 +- Fixed error of failed dependencies + * Tue Jul 26 2022 yuanhui - 0.22.0-1 -- Init nerdctl for Anolis OS +- Init nerdctl for Anolis OS \ No newline at end of file -- Gitee