Blame SPECS/crash-gcore-command.spec

6cd514
#
6cd514
# crash core analysis suite
6cd514
#
f17523
%global reponame crash-gcore
6cd514
Summary: Gcore extension module for the crash utility
6cd514
Name: crash-gcore-command
f17523
Version: 1.6.3
9a524e
Release: 2%{?dist}
6cd514
License: GPLv2
6cd514
Group: Development/Debuggers
f17523
Source: https://github.com/fujitsu/crash-gcore/archive/v%{version}/%{name}-%{version}.tar.gz
f17523
URL: https://github.com/fujitsu/crash-gcore
6cd514
# Vendor: FUJITSU LIMITED
6cd514
# Packager: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
6cd514
ExclusiveOS: Linux
6cd514
ExclusiveArch: x86_64 %{ix86} arm aarch64 ppc64 ppc64le
6cd514
Buildroot: %{_tmppath}/%{name}-root
6cd514
BuildRequires: crash-devel >= 5.1.5, zlib-devel lzo-devel snappy-devel
6cd514
Requires: crash >= 5.1.5
f17523
Patch0: 0001-coredump-use-MEMBER_-OFFSET-SIZE-instead-of-GCORE_-O.patch
f17523
Patch1: 0002-gcore-defs-remove-definitions-and-initializations-fo.patch
f17523
Patch2: 0003-gcore-fix-memory-allocation-failure-during-processin.patch
6cd514
6cd514
%description
6cd514
Command for creating a core dump file of a user-space task that was
6cd514
running in a kernel dumpfile.
6cd514
6cd514
%prep
f17523
%setup -q -n %{reponame}-%{version}
f17523
%patch0 -p1
f17523
%patch1 -p1
f17523
%patch2 -p1
6cd514
6cd514
%build
f17523
make CFLAGS="%{optflags} -Wl,-z,now" -C src -f gcore.mk
6cd514
6cd514
%install
6cd514
rm -Rf $RPM_BUILD_ROOT
6cd514
mkdir -p %{buildroot}%{_libdir}/crash/extensions/
f17523
cp %{_builddir}/%{reponame}-%{version}/src/gcore.so %{buildroot}%{_libdir}/crash/extensions/
6cd514
6cd514
%clean
6cd514
rm -rf %{buildroot}
6cd514
rm -Rf $RPM_BUILD_ROOT
6cd514
6cd514
%files
6cd514
%defattr(-,root,root)
6cd514
%{_libdir}/crash/extensions/gcore.so
6cd514
%doc COPYING
6cd514
6cd514
%changelog
9a524e
* Tue Apr 12 2022 Tao Liu <ltao@redhat.com> - 1.6.3-2
f17523
- Rebase to upstream crash-gcore-command-1.6.3
f17523
- Fix memory allocation failure issue
9a524e
- Resolves: rhbz#2060355
f17523
37fa0b
* Wed Dec 2 2020 Bhupesh Sharma <bhsharma@redhat.com> - 1.6.0-1
37fa0b
- Rebase crash-gcore-command to github upstream version crash-gcore-command-1.6.0
37fa0b
  Resolves: rhbz#1903465
37fa0b
f06562
* Wed Jul 8 2020 Bhupesh Sharma <bhsharma@redhat.com> - 1.5.1-1
f06562
- Rebase crash-gcore-command to github upstream version crash-gcore-command-1.5.1
f06562
  Resolves: rhbz#1851747
f06562
aef7ef
* Tue Jun 25 2019 Dave Anderson <anderson@redhat.com> - 1.3.1-4
aef7ef
- Fix "invalid structure size: pid_link"
aef7ef
  Resolves: rhbz#1722726
aef7ef
6cd514
* Tue Dec  4 2018 Dave Anderson <anderson@redhat.com> - 1.3.1-3
6cd514
- Fix x86_64 "invalid structure member offset: thread_struct_fs"
6cd514
  Resolves: rhbz#1589019
6cd514
- Fix arm64 "invalid structure member offset: thread_struct_fpsimd_state"
6cd514
  Resolves: rhbz#1625810
6cd514
6cd514
* Wed Sep 10 2018 Dave Anderson <anderson@redhat.com> - 1.3.1-2
6cd514
- Address annocheck link issue
6cd514
  Resolves: rhbz#1630556
6cd514
6cd514
* Mon Aug 13 2018 Dave Anderson <anderson@redhat.com> - 1.3.1-1
6cd514
- Bump release for mass rebuild
6cd514
  Resolves: rhbz#1615509
6cd514
6cd514
* Thu Nov 6 2014 Dave Anderson <anderson@redhat.com> - 1.3.1-0
6cd514
- Rebase to 1.3.1 to address 32-bit x86 build error.
6cd514
- Resolves: rhbz#1077311
6cd514
6cd514
* Tue Nov 4 2014 Dave Anderson <anderson@redhat.com> - 1.3.0-0
6cd514
- Add aarch64 support
6cd514
- Resolves: rhbz#1077311
6cd514
- Add ppc64/ppc64le support
6cd514
- Resolves: rhbz#1125485
6cd514
6cd514
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2.1-2
6cd514
- Mass rebuild 2013-12-27
6cd514
6cd514
6cd514
* Tue Aug 20 2013 Dave Anderson <anderson@redhat.com> - 1.2.1-1
6cd514
  crash utility has added LZO and snappy compression in addition to zlib.
6cd514
6cd514
* Thu May 23 2013 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.2.1-0
6cd514
  Fixes for missing VDSO and vsyscall pages in core dump.
6cd514
6cd514
* Wed Nov 21 2012 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.2-0
6cd514
  Support recent kernels around 3.6.
6cd514
6cd514
* Tue Jan 31 2012 Dave Anderson <anderson@redhat.com> - 1.0-3
6cd514
  Address Pkgwrangler/rpmlint issues.
6cd514
  Resolves: rbhz#692799
6cd514
6cd514
* Wed Jan 25 2012 Dave Anderson <anderson@redhat.com> - 1.0-2
6cd514
  Compile with RPM_OPT_FLAGS and fix warnings generated from using it. 
6cd514
  Resolves: rbhz#692799
6cd514
6cd514
* Thu Apr 13 2011 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.0-1
6cd514
- Remove inclusion of kvmdump.h and unwind_x86_64.h due to non-supporting issue
6cd514
  on crash-devel package. Instead, use a new interface for them.
6cd514
- Remove ppc64, ia64, s390 and s390x from ExclusiveArch, leave x86_64
6cd514
  and %%{ix86} there.
6cd514
- Add descriptions in BuildRequires and Requires about crash and crash-devel.
6cd514
6cd514
* Wed Apr 6 2011 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.0-0
6cd514
- Initial crash-gcore-command package
6cd514