diff --git a/gtk3.changes b/gtk3.changes index 92f048e..38f4b4d 100644 --- a/gtk3.changes +++ b/gtk3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 28 11:50:22 UTC 2023 - Dominique Leuenberger + +- Use %patch -p N instead of deprecated %patchN. + ------------------------------------------------------------------- Sun Oct 8 07:48:06 UTC 2023 - Yifan Jiang diff --git a/gtk3.spec b/gtk3.spec index c386c83..f0426d9 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -386,7 +386,7 @@ cp -a %{SOURCE1} . %if !0%{?sle_version} %autopatch -p1 0 %else -%patch0 -p1 +%patch -P 0 -p1 %endif %endif @@ -394,7 +394,7 @@ cp -a %{SOURCE1} . # Apply patches 1 to 999 (1 >= 999) %autopatch -p1 -m 1 -M 999 %else -%patch1 -p1 +%patch -P 1 -p1 %endif %build