From 468bcf71fbcaef6b23e62996911d0fd0fdf73509 Mon Sep 17 00:00:00 2001 From: HATAYAMA Daisuke Date: Thu, 18 Feb 2021 20:00:52 +0900 Subject: [PATCH] Initial import (#1919349). --- .gitignore | 1 + crash-trace-command.spec | 38 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 crash-trace-command.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a93eb47 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/crash-trace-command-3.0.tar.gz diff --git a/crash-trace-command.spec b/crash-trace-command.spec new file mode 100644 index 0000000..f79767d --- /dev/null +++ b/crash-trace-command.spec @@ -0,0 +1,38 @@ +%global reponame crash-trace + +Summary: Trace extension module for the crash utility +Name: crash-trace-command +Version: 3.0 +Release: 1%{?dist} +License: GPLv2 +Source: https://github.com/fujitsu/crash-trace/archive/v%{version}/%{name}-%{version}.tar.gz +URL: https://github.com/fujitsu/crash-trace +ExclusiveOS: Linux +ExclusiveArch: aarch64 ppc64le s390x x86_64 +BuildRequires: crash-devel >= 7.2.0-2 +BuildRequires: gcc +Requires: trace-cmd +Requires: crash >= 7.2.0-2 + +%description +Command for reading ftrace data from a dump file. + +%prep +%autosetup -n %{reponame}-%{version} + +%build +%make_build + +%install +install -m 0755 -d %{buildroot}%{_libdir}/crash/extensions +install -m 0755 -t %{buildroot}%{_libdir}/crash/extensions %{_builddir}/%{reponame}-%{version}/trace.so + +%files +%dir %{_libdir}/crash +%dir %{_libdir}/crash/extensions +%{_libdir}/crash/extensions/trace.so +%license COPYING + +%changelog +* Fri Jan 22 2021 HATAYAMA Daisuke - 3.0-1 +- Initial crash-trace-command package diff --git a/sources b/sources new file mode 100644 index 0000000..f9350ef --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (crash-trace-command-3.0.tar.gz) = 1158b276684f664b94e0a1075341331c3f043b4d452c4c05f3e91f3e81c822033b1d6a478d816c8e0d6c995faa2c1f303929cb4d7d9ff3cb891929d3067eba7d