2021-03-24 15:50:29 +00:00
|
|
|
%global reponame crash-gcore
|
|
|
|
|
|
|
|
Summary: Gcore extension module for the crash utility
|
|
|
|
Name: crash-gcore-command
|
2021-12-27 07:46:17 +00:00
|
|
|
Version: 1.6.3
|
|
|
|
Release: 1%{?dist}
|
2021-03-24 15:50:29 +00:00
|
|
|
License: GPLv2
|
|
|
|
Source0: https://github.com/fujitsu/crash-gcore/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
URL: https://github.com/fujitsu/crash-gcore
|
|
|
|
ExclusiveOS: Linux
|
|
|
|
ExclusiveArch: aarch64 ppc64le x86_64
|
|
|
|
BuildRequires: crash-devel >= 5.1.5
|
|
|
|
BuildRequires: gcc
|
|
|
|
Requires: crash >= 5.1.5
|
|
|
|
|
|
|
|
%description
|
|
|
|
Command for creating a core dump file of a user-space task that was
|
|
|
|
running in a kernel dump file.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{reponame}-%{version}
|
|
|
|
|
|
|
|
%build
|
2021-12-07 11:33:10 +00:00
|
|
|
%make_build CFLAGS="%{optflags} -Wl,-z,now" -C src -f gcore.mk
|
2021-03-24 15:50:29 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
install -m 0755 -d %{buildroot}%{_libdir}/crash/extensions
|
|
|
|
install -m 0755 -t %{buildroot}%{_libdir}/crash/extensions %{_builddir}/%{reponame}-%{version}/src/gcore.so
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{_libdir}/crash
|
|
|
|
%dir %{_libdir}/crash/extensions
|
|
|
|
%{_libdir}/crash/extensions/gcore.so
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
%changelog
|
2021-12-27 07:46:17 +00:00
|
|
|
* Mon Dec 27 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.3-1
|
|
|
|
- Rebase to upstream 1.6.3
|
|
|
|
|
2021-12-15 11:34:15 +00:00
|
|
|
* Wed Dec 15 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.2-5
|
|
|
|
- Rebuild for the compatibility issue
|
|
|
|
|
|
|
|
* Tue Dec 07 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.2-4
|
2021-12-07 11:33:10 +00:00
|
|
|
- Fix the hardening issue "FAIL: bind-now test because not linked with -Wl,-z,now"
|
|
|
|
|
2021-08-09 19:42:27 +00:00
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-3
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
2021-04-15 22:58:43 +00:00
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-2
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
2021-03-24 15:50:29 +00:00
|
|
|
* Fri Jan 22 2021 HATAYAMA Daisuke <d.hatayama@fujitsu.com> - 1.6.2-1
|
|
|
|
- Initial crash-gcore-command package
|