use autosetup instead of setup in prep stage
This commit is contained in:
parent
723c22bb0a
commit
52b38354fa
22
crash.spec
22
crash.spec
@ -1,6 +1,6 @@
|
||||
Name: crash
|
||||
Version: 8.0.4
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: Linux kernel crash utility.
|
||||
License: GPLv3
|
||||
URL: https://crash-utility.github.io
|
||||
@ -9,9 +9,13 @@ Source1: http://ftp.gnu.org/gnu/gdb/gdb-10.2.tar.gz
|
||||
|
||||
Patch0: 0000-lzo_snappy.patch
|
||||
Patch1: 0001-add-SDEI-stack-resolution.patch
|
||||
%ifarch sw_64
|
||||
Patch2: 0002-crash-8.0.2-sw.patch
|
||||
%endif
|
||||
%ifarch loongarch64
|
||||
Patch3: 0003-crash-8.0.4-add-support-for-loongarch64.patch
|
||||
Patch4: 0004-support-vmp_area_list-replaced-with-VMALLOC_START.patch
|
||||
%endif
|
||||
Patch5: 0005-gdb-ignore-Wenum-constexpr-conversion-in-enum-flags.patch
|
||||
Patch6: 0006-arm64-fix-a-potential-segfault-when-unwind-frame.patch
|
||||
|
||||
@ -44,18 +48,7 @@ created by manufacturer-specific firmware.
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%ifarch sw_64
|
||||
%patch2 -p1
|
||||
%endif
|
||||
%ifarch loongarch64
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%endif
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
cp %{SOURCE1} .
|
||||
@ -90,6 +83,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h
|
||||
%{_mandir}/man8/crash.8*
|
||||
|
||||
%changelog
|
||||
* Wed Nov 13 2024 wangxiao <wangxiao184@h-partners.com> - 8.0.4-8
|
||||
- use autosetup instead of setup in prep stage
|
||||
|
||||
* Tue Nov 12 2024 wangxiao <wangxiao184@h-partners.com> - 8.0.4-7
|
||||
- arm64: fix a potential segfault when unwind frame
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user