Blame SPECS/crash-ptdump-command.spec

ac416d
#
ac416d
# crash core analysis suite
ac416d
#
ac416d
Summary: ptdump extension module for the crash utility
ac416d
Name: crash-ptdump-command
b3787b
Version: 1.0.7
5b7cf4
Release: 2%{?dist}
ac416d
License: GPLv2
ac416d
Group: Development/Debuggers
b3787b
Source: https://github.com/crash-utility/crash-extensions/blob/master/ptdump-%{version}.tar.gz
b3787b
URL: https://crash-utility.github.io/extensions.html
ac416d
ExclusiveOS: Linux
ac416d
ExclusiveArch: x86_64
ac416d
Buildroot: %{_tmppath}/%{name}-root
ac416d
BuildRequires: crash-devel >= 5.1.5
ac416d
Requires: crash >= 5.1.5
b3787b
Patch0: rhel8_build.patch
5b7cf4
Patch1: 0001-Fix-for-the-topa_entry-issue.patch
5b7cf4
Patch2: 0002-Fix-for-the-invalid-ring_buffer-issue.patch
5b7cf4
Patch3: 0003-Do-not-dump-on-the-Single-Range-Output-mode.patch
ac416d
ac416d
%description
ac416d
Retrieve and decode the log buffer generated by the Intel(R) Processor
ac416d
Trace facility
ac416d
ac416d
%prep
ac416d
%setup -q -n ptdump-%{version}
b3787b
%patch0 -p1 -b rhel8_build.patch
5b7cf4
%patch1 -p1
5b7cf4
%patch2 -p1
5b7cf4
%patch3 -p1
ac416d
ac416d
%build
ac416d
make -f ptdump.mk
ac416d
ac416d
%install
ac416d
rm -Rf $RPM_BUILD_ROOT
ac416d
mkdir -p %{buildroot}%{_libdir}/crash/extensions/
ac416d
cp %{_builddir}/ptdump-%{version}/ptdump.so %{buildroot}%{_libdir}/crash/extensions/
ac416d
ac416d
%clean
ac416d
rm -rf %{buildroot}
ac416d
rm -Rf $RPM_BUILD_ROOT
ac416d
ac416d
%files
ac416d
%defattr(-,root,root)
ac416d
%{_libdir}/crash/extensions/ptdump.so
ac416d
%doc COPYING
ac416d
ac416d
%changelog
5b7cf4
* Thu Jul 14 2022 Lianbo Jiang <lijiang@redhat.com> - 1.0.7-2
5b7cf4
- Fix for "current buffer not found"
5b7cf4
- Fix for "invalid kernel virtual address: 0  type: struct topa_entry"
5b7cf4
- Fix for "invalid ring_buffer"
5b7cf4
  Resolves: rhbz#1838927
5b7cf4
b3787b
* Wed Jul 8 2020 Bhupesh Sharma <bhsharma@redhat.com> - 1.0.7-1
b3787b
- ptdump: Rebase to upstream extension version ptdump-1.0.7 (github)
b3787b
  Resolves: rhbz#1851749
b3787b
8993ab
* Wed Jan 29 2020 Dave Anderson <anderson@redhat.com> - 1.0.3-5
8993ab
- ptdump: fix build warning: warning: this ‘if’ clause does not guard
8993ab
- ptdump: fix failure: ptdump: invalid size request: 0 type: "read page for write" 
8993ab
- ptdump: fix heap memory and fd leak when fault happens
8993ab
  Resolves: rhbz#1786497
8993ab
ac416d
* Wed Sep 19 2018 Dave Anderson <anderson@redhat.com> - 1.0.3-4
ac416d
- Address annocheck link issue
ac416d
  Resolves: rhbz#1630557
ac416d
ac416d
* Mon Aug 13 2018 Dave Anderson <anderson@redhat.com> - 1.0.3-3
ac416d
- Bump release for mass rebuild
ac416d
  Resolves: rhbz#1615510
ac416d
ac416d
* Wed May 31 2017 Dave Anderson <anderson@redhat.com> - 1.0.3-2.el7
ac416d
- Add RPM_OPT_FLAGS to gcc line in ptdump.mk
ac416d
  Resolves: rhbz#1450708
ac416d
- Set gdb scope to get appropriate ring_buffer structure
ac416d
  Resolves: rhbz#1451181
ac416d
ac416d
* Tue Mar 15 2016 Dave Anderson <anderson@redhat.com> - 1.0.3-1.el7
ac416d
- Fix for coverity scan issues generated by 1.0.2
ac416d
  Resolves: rhbz#1298172
ac416d
ac416d
* Mon Mar 14 2016 Dave Anderson <anderson@redhat.com> - 1.0.2-1.el7
ac416d
- Memory leak fix and coverity scan fixes.
ac416d
  Resolves: rhbz#1298172
ac416d
ac416d
* Mon Feb 29 2016 Dave Anderson <anderson@redhat.com> - 1.0.1-1.el7
ac416d
- Initial check-in.
ac416d
  Resolves: rhbz#1298172
ac416d
ac416d
* Tue Jan 26 2016 MUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com> - 1.0.1-1
ac416d
- Initial crash-ptdump-command package