Blame SPECS/crash-ptdump-command.spec

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