Initial import (#1919347).
This commit is contained in:
parent
54a85ce760
commit
e0ed466213
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/crash-gcore-command-1.6.2.tar.gz
|
38
crash-gcore-command.spec
Normal file
38
crash-gcore-command.spec
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
%global reponame crash-gcore
|
||||||
|
|
||||||
|
Summary: Gcore extension module for the crash utility
|
||||||
|
Name: crash-gcore-command
|
||||||
|
Version: 1.6.2
|
||||||
|
Release: 1%{?dist}
|
||||||
|
License: GPLv2
|
||||||
|
Source0: https://github.com/fujitsu/crash-gcore/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
URL: https://github.com/fujitsu/crash-gcore
|
||||||
|
ExclusiveOS: Linux
|
||||||
|
ExclusiveArch: aarch64 ppc64le x86_64
|
||||||
|
BuildRequires: crash-devel >= 5.1.5
|
||||||
|
BuildRequires: gcc
|
||||||
|
Requires: crash >= 5.1.5
|
||||||
|
|
||||||
|
%description
|
||||||
|
Command for creating a core dump file of a user-space task that was
|
||||||
|
running in a kernel dump file.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{reponame}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build -C src -f gcore.mk
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -m 0755 -d %{buildroot}%{_libdir}/crash/extensions
|
||||||
|
install -m 0755 -t %{buildroot}%{_libdir}/crash/extensions %{_builddir}/%{reponame}-%{version}/src/gcore.so
|
||||||
|
|
||||||
|
%files
|
||||||
|
%dir %{_libdir}/crash
|
||||||
|
%dir %{_libdir}/crash/extensions
|
||||||
|
%{_libdir}/crash/extensions/gcore.so
|
||||||
|
%license COPYING
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jan 22 2021 HATAYAMA Daisuke <d.hatayama@fujitsu.com> - 1.6.2-1
|
||||||
|
- Initial crash-gcore-command package
|
Loading…
Reference in New Issue
Block a user