Blame SPECS/crash-ptdump-command.spec

8551b0
#
8551b0
# crash core analysis suite
8551b0
#
8551b0
Summary: ptdump extension module for the crash utility
8551b0
Name: crash-ptdump-command
8551b0
Version: 1.0.3
272353
Release: 3%{?dist}
8551b0
License: GPLv2
8551b0
Group: Development/Debuggers
8551b0
Source: ptdump-%{version}.tar.gz
8551b0
URL: http://people.redhat.com/anderson/extensions/ptdump-%{version}.tar.gz
8551b0
ExclusiveOS: Linux
8551b0
ExclusiveArch: x86_64
8551b0
Buildroot: %{_tmppath}/%{name}-root
8551b0
BuildRequires: crash-devel >= 5.1.5
8551b0
Requires: crash >= 5.1.5
8551b0
Patch0: RPM_OPT_FLAGS.patch
8551b0
Patch1: ring_buffer_scope.patch
272353
Patch2: v1.0.7_update.patch
8551b0
8551b0
%description
8551b0
Retrieve and decode the log buffer generated by the Intel(R) Processor
8551b0
Trace facility
8551b0
8551b0
%prep
8551b0
%setup -q -n ptdump-%{version}
8551b0
%patch0 -p1 -b RPM_OPT_FLAGS.patch
8551b0
%patch1 -p1 -b ring_buffer_scope.patch
272353
%patch2 -p1 -b v1.0.7_update.patch
8551b0
8551b0
%build
8551b0
make -f ptdump.mk
8551b0
8551b0
%install
8551b0
rm -Rf $RPM_BUILD_ROOT
8551b0
mkdir -p %{buildroot}%{_libdir}/crash/extensions/
8551b0
cp %{_builddir}/ptdump-%{version}/ptdump.so %{buildroot}%{_libdir}/crash/extensions/
8551b0
8551b0
%clean
8551b0
rm -rf %{buildroot}
8551b0
rm -Rf $RPM_BUILD_ROOT
8551b0
8551b0
%files
8551b0
%defattr(-,root,root)
8551b0
%{_libdir}/crash/extensions/ptdump.so
8551b0
%doc COPYING
8551b0
8551b0
%changelog
272353
* Mon Mar 16 2020 Dave Anderson <anderson@redhat.com> - 1.0.3-3.el7
272353
- ptdump: fix build warning: warning: this ‘if’ clause does not guard
272353
- ptdump: fix failure: ptdump: invalid size request: 0 type: "read page for write" 
272353
- ptdump: fix heap memory and fd leak when fault happens
272353
  Resolves: rhbz#1791525
272353
8551b0
* Wed May 31 2017 Dave Anderson <anderson@redhat.com> - 1.0.3-2.el7
8551b0
- Add RPM_OPT_FLAGS to gcc line in ptdump.mk
8551b0
  Resolves: rhbz#1450708
8551b0
- Set gdb scope to get appropriate ring_buffer structure
8551b0
  Resolves: rhbz#1451181
8551b0
8551b0
* Tue Mar 15 2016 Dave Anderson <anderson@redhat.com> - 1.0.3-1.el7
8551b0
- Fix for coverity scan issues generated by 1.0.2
8551b0
  Resolves: rhbz#1298172
8551b0
8551b0
* Mon Mar 14 2016 Dave Anderson <anderson@redhat.com> - 1.0.2-1.el7
8551b0
- Memory leak fix and coverity scan fixes.
8551b0
  Resolves: rhbz#1298172
8551b0
8551b0
* Mon Feb 29 2016 Dave Anderson <anderson@redhat.com> - 1.0.1-1.el7
8551b0
- Initial check-in.
8551b0
  Resolves: rhbz#1298172
8551b0
8551b0
* Tue Jan 26 2016 MUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com> - 1.0.1-1
8551b0
- Initial crash-ptdump-command package