From f89998f1fa435339034cde63413422438c4c5c69 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Wed, 24 Mar 2021 16:50:29 +0100 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/crash-gcore-command.git#e0ed4662132fe0da3823aa51817562c59c23d54b --- .gitignore | 1 + README.md | 3 +++ crash-gcore-command.spec | 38 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 43 insertions(+) create mode 100644 README.md create mode 100644 crash-gcore-command.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..d48a0db 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/crash-gcore-command-1.6.2.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..e2ee7f1 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# crash-gcore-command + +The crash-gcore-command package diff --git a/crash-gcore-command.spec b/crash-gcore-command.spec new file mode 100644 index 0000000..0285ef9 --- /dev/null +++ b/crash-gcore-command.spec @@ -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 - 1.6.2-1 +- Initial crash-gcore-command package diff --git a/sources b/sources new file mode 100644 index 0000000..b2c4cfc --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (crash-gcore-command-1.6.2.tar.gz) = 298262f8c28e22697c8878dd3c4a4af05842a62bd93cc143c5fa8e84add671dab66c859c1de1180f2582162816c437af1ecfb5dc38d321099d8d4fa1e87be149