Blame SPECS/crash-ptdump-command.spec

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