From 9d391853bb7fcfce7da02c391082c817323b4d3aec49a0d88080f0116e209db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Mon, 26 Feb 2024 11:17:05 +0000 Subject: [PATCH] Accepting request 1151185 from home:dimstar:rpm4.20:c Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1151185 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/containerd?expand=0&rev=170 --- containerd.changes | 5 +++++ containerd.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/containerd.changes b/containerd.changes index 964a48a..a0bb572 100644 --- a/containerd.changes +++ b/containerd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 11:04:13 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Jan 15 11:12:05 UTC 2024 - Dan Čermák diff --git a/containerd.spec b/containerd.spec index c65a45b..4a5eb77 100644 --- a/containerd.spec +++ b/containerd.spec @@ -100,9 +100,9 @@ reference the following Go import paths: github.com/containerd/containerd %prep %setup -q -n %{name}-%{version}_%{git_short} %if 0%{?sle_version} == 120000 -%patch1 -p1 +%patch -P 1 -p1 %endif -%patch2 -p1 +%patch -P 2 -p1 %build %goprep %{import_path}