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}