Blame SPECS/crash-gcore-command.spec

115866
#
115866
# crash core analysis suite
115866
#
115866
Summary: Gcore extension module for the crash utility
115866
Name: crash-gcore-command
115866
Version: 1.3.1
4f469b
Release: 4%{?dist}
115866
License: GPLv2
115866
Group: Development/Debuggers
115866
Source: %{name}-%{version}.tar.gz
115866
URL: http://people.redhat.com/anderson/extensions/%{name}-%{version}.tar.gz
115866
# Vendor: FUJITSU LIMITED
115866
# Packager: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
115866
ExclusiveOS: Linux
115866
ExclusiveArch: x86_64 %{ix86} arm aarch64 ppc64 ppc64le
115866
Buildroot: %{_tmppath}/%{name}-root
115866
BuildRequires: crash-devel >= 5.1.5, zlib-devel lzo-devel snappy-devel
115866
Requires: crash >= 5.1.5
115866
Patch0: rhel8_build.patch
115866
Patch1: upstream_1.5.0_equiv.patch
115866
Patch2: arm64_thread_struct_fpsimd_state.patch
4f469b
Patch3: pid_link.patch
115866
115866
%description
115866
Command for creating a core dump file of a user-space task that was
115866
running in a kernel dumpfile.
115866
115866
%prep
115866
%setup -q -n %{name}-%{version}
115866
%patch0 -p1 -b rhel8_build.patch
115866
%patch1 -p1 -b upstream_1.5.0_equiv.patch
115866
%patch2 -p1 -b arm64_thread_struct_fpsimd_state.patch
4f469b
%patch3 -p1 -b pid_link.patch
115866
115866
%build
115866
make -f gcore.mk
115866
115866
%install
115866
rm -Rf $RPM_BUILD_ROOT
115866
mkdir -p %{buildroot}%{_libdir}/crash/extensions/
115866
cp %{_builddir}/%{name}-%{version}/gcore.so %{buildroot}%{_libdir}/crash/extensions/
115866
115866
%clean
115866
rm -rf %{buildroot}
115866
rm -Rf $RPM_BUILD_ROOT
115866
115866
%files
115866
%defattr(-,root,root)
115866
%{_libdir}/crash/extensions/gcore.so
115866
%doc COPYING
115866
115866
%changelog
4f469b
* Tue Jun 25 2019 Dave Anderson <anderson@redhat.com> - 1.3.1-4
4f469b
- Fix "invalid structure size: pid_link"
4f469b
  Resolves: rhbz#1722726
4f469b
115866
* Tue Dec  4 2018 Dave Anderson <anderson@redhat.com> - 1.3.1-3
115866
- Fix x86_64 "invalid structure member offset: thread_struct_fs"
115866
  Resolves: rhbz#1589019
115866
- Fix arm64 "invalid structure member offset: thread_struct_fpsimd_state"
115866
  Resolves: rhbz#1625810
115866
115866
* Wed Sep 10 2018 Dave Anderson <anderson@redhat.com> - 1.3.1-2
115866
- Address annocheck link issue
115866
  Resolves: rhbz#1630556
115866
115866
* Mon Aug 13 2018 Dave Anderson <anderson@redhat.com> - 1.3.1-1
115866
- Bump release for mass rebuild
115866
  Resolves: rhbz#1615509
115866
115866
* Thu Nov 6 2014 Dave Anderson <anderson@redhat.com> - 1.3.1-0
115866
- Rebase to 1.3.1 to address 32-bit x86 build error.
115866
- Resolves: rhbz#1077311
115866
115866
* Tue Nov 4 2014 Dave Anderson <anderson@redhat.com> - 1.3.0-0
115866
- Add aarch64 support
115866
- Resolves: rhbz#1077311
115866
- Add ppc64/ppc64le support
115866
- Resolves: rhbz#1125485
115866
115866
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2.1-2
115866
- Mass rebuild 2013-12-27
115866
115866
115866
* Tue Aug 20 2013 Dave Anderson <anderson@redhat.com> - 1.2.1-1
115866
  crash utility has added LZO and snappy compression in addition to zlib.
115866
115866
* Thu May 23 2013 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.2.1-0
115866
  Fixes for missing VDSO and vsyscall pages in core dump.
115866
115866
* Wed Nov 21 2012 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.2-0
115866
  Support recent kernels around 3.6.
115866
115866
* Tue Jan 31 2012 Dave Anderson <anderson@redhat.com> - 1.0-3
115866
  Address Pkgwrangler/rpmlint issues.
115866
  Resolves: rbhz#692799
115866
115866
* Wed Jan 25 2012 Dave Anderson <anderson@redhat.com> - 1.0-2
115866
  Compile with RPM_OPT_FLAGS and fix warnings generated from using it. 
115866
  Resolves: rbhz#692799
115866
115866
* Thu Apr 13 2011 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.0-1
115866
- Remove inclusion of kvmdump.h and unwind_x86_64.h due to non-supporting issue
115866
  on crash-devel package. Instead, use a new interface for them.
115866
- Remove ppc64, ia64, s390 and s390x from ExclusiveArch, leave x86_64
115866
  and %%{ix86} there.
115866
- Add descriptions in BuildRequires and Requires about crash and crash-devel.
115866
115866
* Wed Apr 6 2011 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.0-0
115866
- Initial crash-gcore-command package
115866