From d79406478ddc54de630aa57a7cfedb7d36d421db Mon Sep 17 00:00:00 2001 From: zhuchunyi Date: Wed, 6 Nov 2019 19:04:54 +0800 Subject: [PATCH] update code --- crash.spec | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/crash.spec b/crash.spec index de6da0a..eca47bf 100644 --- a/crash.spec +++ b/crash.spec @@ -1,13 +1,11 @@ Name: crash Version: 7.2.6 -Release: 1 +Release: 2 Summary: Linux kernel crash utility. License: GPLv3 URL: http://people.redhat.com/anderson -Source0: http://people.redhat.com/anderson/crash-%{version}.tar.gz +Source0: http://people.redhat.com/anderson/%{name}-%{version}.tar.gz -#Patch0 and Patch1 are from fedora 29: -#https://src.fedoraproject.org/rpms/crash/tree/f29 Patch0: lzo_snappy.patch Patch1: use_system_readline_v3.patch @@ -18,6 +16,7 @@ Patch9002: fix-bitmap_len-calculation-overflow-problem-in-large.patch BuildRequires: ncurses-devel zlib-devel lzo-devel snappy-devel BuildRequires: gcc gcc-c++ bison readline-devel Requires: binutils + Provides: bundled(libiberty) bundled(gdb) = 7.6 %description @@ -53,11 +52,22 @@ rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} %make_install install -D -m 0644 crash.8 %{buildroot}%{_mandir}/man8/crash.8 -install -D -m 0644 defs.h %{buildroot}%{_includedir}/crash/defs.h +install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h + +%check + +%pre + +%preun + +%post + +%postun %files -%{_bindir}/crash -%doc README COPYING3 +%{_bindir}/%{name} +%doc README +%license COPYING3 %files devel %{_includedir}/* @@ -66,5 +76,8 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/crash/defs.h %{_mandir}/man8/crash.8* %changelog +* Mon Oct 21 2019 openEuler Buildteam - 7.2.6-2 +- Package rebuild. + * Fri Aug 30 2019 openEuler Buildteam - 7.2.6-1 -- Package init \ No newline at end of file +- Package init.