package init
This commit is contained in:
commit
aa35f0eff8
BIN
crash-gcore-command-1.3.1.tar.gz
Normal file
BIN
crash-gcore-command-1.3.1.tar.gz
Normal file
Binary file not shown.
38
crash-gcore-command.spec
Normal file
38
crash-gcore-command.spec
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
Name: crash-gcore-command
|
||||||
|
Version: 1.3.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Command of Gcore for Crash utility
|
||||||
|
|
||||||
|
License: GPLv2
|
||||||
|
URL: http://people.redhat.com/anderson/extensions/%{name}-%{version}.tar.gz
|
||||||
|
Source: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
|
BuildRequires: zlib-devel lzo-devel snappy-devel crash-devel >= 5.1.5
|
||||||
|
Requires: crash >= 5.1.5
|
||||||
|
|
||||||
|
%description
|
||||||
|
The crash-gcore-command packages contain an extension module for the crash utility
|
||||||
|
that adds a "gcore" command which can create a core dump file of a user-space task
|
||||||
|
that was running in a kernel dumpfile.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build -f gcore.mk
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -D %{_builddir}/%{name}-%{version}/gcore.so %{buildroot}%{_libdir}/crash/extensions/gcore.so
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING
|
||||||
|
%{_libdir}/crash/extensions/gcore.so
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Nov 28 2019 daiqianwen <daiqianwen@huawei.com> - 1.3.1-1
|
||||||
|
- Package init
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user