From 25a9050dd041d0425c78c3c71476d0fdf8c16c21 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Fri, 12 Jan 2024 21:09:56 +0000 Subject: [PATCH] Remove deprecated %patchN syntax [skip changelog] Relates: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/5YUJWTUJK4JA26YP2VD46HOCQ6UZXMQD/ --- toolbox.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/toolbox.spec b/toolbox.spec index f9ad3b7..bdff904 100644 --- a/toolbox.spec +++ b/toolbox.spec @@ -109,21 +109,21 @@ The %{name}-tests package contains system tests for %{name}. %if 0%{?fedora} %ifnarch ppc64 -%patch100 -p1 +%patch -P100 -p1 %else -%patch101 -p1 +%patch -P101 -p1 %endif %endif %if 0%{?rhel} %ifnarch ppc64 -%patch200 -p1 +%patch -P200 -p1 %else -%patch201 -p1 +%patch -P201 -p1 %endif %if 0%{?rhel} <= 9 -%patch202 -p1 +%patch -P202 -p1 %endif %endif