update code
This commit is contained in:
parent
3bb4f0fd48
commit
d79406478d
29
crash.spec
29
crash.spec
@ -1,13 +1,11 @@
|
|||||||
Name: crash
|
Name: crash
|
||||||
Version: 7.2.6
|
Version: 7.2.6
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Linux kernel crash utility.
|
Summary: Linux kernel crash utility.
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: http://people.redhat.com/anderson
|
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
|
Patch0: lzo_snappy.patch
|
||||||
Patch1: use_system_readline_v3.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: ncurses-devel zlib-devel lzo-devel snappy-devel
|
||||||
BuildRequires: gcc gcc-c++ bison readline-devel
|
BuildRequires: gcc gcc-c++ bison readline-devel
|
||||||
Requires: binutils
|
Requires: binutils
|
||||||
|
|
||||||
Provides: bundled(libiberty) bundled(gdb) = 7.6
|
Provides: bundled(libiberty) bundled(gdb) = 7.6
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -53,11 +52,22 @@ rm -rf %{buildroot}
|
|||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
%make_install
|
%make_install
|
||||||
install -D -m 0644 crash.8 %{buildroot}%{_mandir}/man8/crash.8
|
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
|
%files
|
||||||
%{_bindir}/crash
|
%{_bindir}/%{name}
|
||||||
%doc README COPYING3
|
%doc README
|
||||||
|
%license COPYING3
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
@ -66,5 +76,8 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/crash/defs.h
|
|||||||
%{_mandir}/man8/crash.8*
|
%{_mandir}/man8/crash.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.2.6-2
|
||||||
|
- Package rebuild.
|
||||||
|
|
||||||
* Fri Aug 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.2.6-1
|
* Fri Aug 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.2.6-1
|
||||||
- Package init
|
- Package init.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user