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
ac416d
Version: 1.0.3
8993ab
Release: 5%{?dist}
ac416d
License: GPLv2
ac416d
Group: Development/Debuggers
ac416d
Source: ptdump-%{version}.tar.gz
ac416d
URL: http://people.redhat.com/anderson/extensions/ptdump-%{version}.tar.gz
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
ac416d
Patch0: RPM_OPT_FLAGS.patch
ac416d
Patch1: ring_buffer_scope.patch
ac416d
Patch2: rhel8_build.patch
8993ab
Patch3: v1.0.7_update.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}
ac416d
%patch0 -p1 -b RPM_OPT_FLAGS.patch
ac416d
%patch1 -p1 -b ring_buffer_scope.patch
ac416d
%patch2 -p1 -b rhel8_build.patch
8993ab
%patch3 -p1 -b v1.0.7_update.patch
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
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