From cdfe8f6bca407148094fecc4075c109a1d8f4795 Mon Sep 17 00:00:00 2001 From: xuguangmin Date: Tue, 5 Nov 2024 16:41:43 +0800 Subject: [PATCH] Fix build warning:%patchN is deprecated (3 usages found), use %patch N --- crash.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/crash.spec b/crash.spec index 575c36b..7202b9b 100644 --- a/crash.spec +++ b/crash.spec @@ -1,6 +1,6 @@ Name: crash Version: 8.0.5 -Release: 1 +Release: 2 Summary: Linux kernel crash utility. License: GPLv3 URL: https://crash-utility.github.io @@ -42,13 +42,13 @@ created by manufacturer-specific firmware. %prep %setup -q -n %{name}-%{version} -%patch0 -p1 -%patch1 -p1 +%patch 0 -p1 +%patch 1 -p1 %ifarch sw_64 -%patch2 -p1 +%patch 2 -p1 %endif %ifarch loongarch64 -%patch3 -p1 +%patch 3 -p1 %endif %build @@ -84,6 +84,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h %{_mandir}/man8/crash.8* %changelog +* Tue Nov 05 2024 xuguangmin - 8.0.5-2 +- Fix build warning:%patchN is deprecated (3 usages found), use %patch N + * Thu Jul 25 2024 dillon chen - 8.0.5-1 - Upgrade to crash-8.0.5 -- Gitee