Update Source0, URL, add Source1 and update tarball from upstream release

This commit is contained in:
桐小哥 2020-12-12 10:09:46 +08:00 committed by sxt1001
parent 3ec2849557
commit 51cfffc583
3 changed files with 8 additions and 3 deletions

Binary file not shown.

View File

@ -1,10 +1,11 @@
Name: crash
Version: 7.2.8
Release: 1
Release: 2
Summary: Linux kernel crash utility.
License: GPLv3
URL: https://github.com/crash-utility/crash
Source0: https://github.com/crash-utility/crash/archive//%{name}-%{version}.tar.gz
URL: https://crash-utility.github.io
Source0: https://github.com/crash-utility/crash/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: http://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.gz
Patch0: lzo_snappy.patch
Patch1: use_system_readline_v3.patch
@ -43,6 +44,7 @@ created by manufacturer-specific firmware.
%autosetup -n %{name}-%{version} -p1
%build
cp %{SOURCE1} .
make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
%install
@ -74,6 +76,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h
%{_mandir}/man8/crash.8*
%changelog
* Sat Dec 12 2020 shixuantong <shixuantong@huawei.com> - 7.2.8-4
- Update Source0, URL, add Source1 and update tarball from upstream release
* Mon Aug 3 2020 chengquan <chengquan3@huawei.com> - 7.2.8-1
- Update software to v7.2.8

BIN
gdb-7.6.tar.gz Normal file

Binary file not shown.