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