695d92
%global reponame crash-trace
695d92
695d92
Summary: Trace extension module for the crash utility
695d92
Name: crash-trace-command
695d92
Version: 3.0
695d92
Release: 6%{?dist}
695d92
License: GPLv2
695d92
Source: https://github.com/fujitsu/crash-trace/archive/v%{version}/%{name}-%{version}.tar.gz
695d92
URL: https://github.com/fujitsu/crash-trace
695d92
ExclusiveOS: Linux
695d92
ExclusiveArch: aarch64 ppc64le s390x x86_64
695d92
BuildRequires: crash-devel >= 7.2.0-2
695d92
BuildRequires: gcc
695d92
Requires: trace-cmd
695d92
Requires: crash >= 7.2.0-2
695d92
695d92
Patch0001: 0001-Makefile-set-DT_SONAME-to-trace.so.patch
695d92
Patch0002: 0002-Makefile-fix-build-failure-on-aarch64-and-ppc64le.patch
695d92
695d92
%description
695d92
Command for reading ftrace data from a dump file.
695d92
695d92
%prep
695d92
%autosetup -n %{reponame}-%{version}
695d92
695d92
%build
695d92
%make_build
695d92
695d92
%install
695d92
install -m 0755 -d %{buildroot}%{_libdir}/crash/extensions
695d92
install -m 0755 -t %{buildroot}%{_libdir}/crash/extensions %{_builddir}/%{reponame}-%{version}/trace.so
695d92
695d92
%files
695d92
%dir %{_libdir}/crash
695d92
%dir %{_libdir}/crash/extensions
695d92
%{_libdir}/crash/extensions/trace.so
695d92
%license COPYING
695d92
695d92
%changelog
695d92
* Wed Dec 15 2021 Lianbo Jiang <lijiang@redhat.com> - 3.0-6
695d92
- Rebuild for the compatibility issue
695d92
695d92
* Thu Dec 09 2021 Lianbo Jiang <lijiang@redhat.com> - 3.0-5
695d92
- Fix the hardening issue "FAIL: bind-now test because not linked with -Wl,-z,now"
695d92
695d92
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.0-4
695d92
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
695d92
  Related: rhbz#1991688
695d92
695d92
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.0-3
695d92
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
695d92
695d92
* Fri Feb 19 2021 HATAYAMA Daisuke <d.hatayama@fujitsu.com> - 3.0-2
695d92
- Makefile: set DT_SONAME to trace.so
695d92
- Makefile: fix build failure on aarch64 and ppc64le
695d92
* Fri Jan 22 2021 HATAYAMA Daisuke <d.hatayama@fujitsu.com> - 3.0-1
695d92
- Initial crash-trace-command package