From 2773d8e62a3541833c16d5d6c93e87d7330a1c8f Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Thu, 14 Nov 2024 16:35:29 +0800 Subject: [PATCH] generate_compatibility_deps should not in check stage --- containerd.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/containerd.spec b/containerd.spec index ba40d2a..e9f8e1b 100644 --- a/containerd.spec +++ b/containerd.spec @@ -1,4 +1,4 @@ -%define anolis_release 5 +%define anolis_release 6 %bcond_without check @@ -68,6 +68,7 @@ done install -D -p -m 0644 %{S:1} %{buildroot}%{_unitdir}/containerd.service install -D -p -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/containerd/config.toml +%generate_compatibility_deps %post %systemd_post containerd.service @@ -82,8 +83,6 @@ install -D -p -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/containerd/config.toml %gocheck -d pkg/cri/server -t integration %endif -%generate_compatibility_deps - %files %license LICENSE NOTICE %{_bindir}/* @@ -102,6 +101,9 @@ install -D -p -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/containerd/config.toml %doc code-of-conduct.md BUILDING.md %changelog +* Thu Nov 14 2024 Wenlong Zhang - 1.6.20-6 +- generate_compatibility_deps should not in check stage + * Wed Sep 13 2023 Wenlong Zhang - 1.6.20-5 - add loong64 support for containerd -- Gitee