From ee204d0fb2da65176c826ba4b12b7f4b4655020b Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Tue, 30 May 2023 12:21:43 +0200 Subject: [PATCH] Use %autosetup instead of deprecated %patchN Fixes: warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) --- netlabel_tools.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/netlabel_tools.spec b/netlabel_tools.spec index e5fcb85..d1310c6 100644 --- a/netlabel_tools.spec +++ b/netlabel_tools.spec @@ -26,8 +26,7 @@ package provides the necessary user space tools to query and configure the kernel subsystem. %prep -%setup -q -%patch0 -p1 +%autosetup -p 1 %build %configure