Compare commits

...
Author SHA1 Message Date
openeuler-ci-bot f2559caa3a !114 [sync] PR-113: Fix build warning:%patchN is deprecated (3 usages found), use %patch N
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-11-11 05:53:47 +00:00
xuguangmin 1f702bdd95 Fix build warning:%patchN is deprecated (3 usages found), use %patch N
(cherry picked from commit cdfe8f6bca)
2024-11-11 11:17:42 +08:00
+8 -5
View File
@@ -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 <xuguangmin@kylinos.cn> - 8.0.5-2
- Fix build warning:%patchN is deprecated (3 usages found), use %patch N
* Thu Jul 25 2024 dillon chen<dillon.chen@gmail.com> - 8.0.5-1
- Upgrade to crash-8.0.5