|
|
256295 |
%global reponame crash-gcore
|
|
|
256295 |
|
|
|
256295 |
Summary: Gcore extension module for the crash utility
|
|
|
256295 |
Name: crash-gcore-command
|
|
|
b45fa7 |
Version: 1.6.3
|
|
|
37748b |
Release: 2%{?dist}
|
|
|
256295 |
License: GPLv2
|
|
|
256295 |
Source0: https://github.com/fujitsu/crash-gcore/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
256295 |
URL: https://github.com/fujitsu/crash-gcore
|
|
|
256295 |
ExclusiveOS: Linux
|
|
|
256295 |
ExclusiveArch: aarch64 ppc64le x86_64
|
|
|
256295 |
BuildRequires: crash-devel >= 5.1.5
|
|
|
256295 |
BuildRequires: gcc
|
|
|
256295 |
Requires: crash >= 5.1.5
|
|
|
256295 |
|
|
|
37748b |
Patch0: 0001-coredump-use-MEMBER_-OFFSET-SIZE-instead-of-GCORE_-O.patch
|
|
|
37748b |
Patch1: 0002-gcore-defs-remove-definitions-and-initializations-fo.patch
|
|
|
37748b |
Patch2: 0003-gcore-fix-memory-allocation-failure-during-processin.patch
|
|
|
37748b |
Patch3: 0004-x86-Fix-failure-of-collecting-vsyscall-mapping-due-t.patch
|
|
|
37748b |
Patch4: 0005-coredump-fix-segmentation-fault-caused-by-type-misma.patch
|
|
|
37748b |
Patch5: 0006-elf-fix-warning-message-caused-by-type-mismatch-of-o.patch
|
|
|
37748b |
Patch6: 0007-coredump-fix-unexpected-truncation-of-generated-core.patch
|
|
|
37748b |
Patch7: 0008-gcore.mk-fix-mismatch-of-_FILE_OFFSET_BITS-when-buil.patch
|
|
|
37748b |
|
|
|
256295 |
%description
|
|
|
256295 |
Command for creating a core dump file of a user-space task that was
|
|
|
256295 |
running in a kernel dump file.
|
|
|
256295 |
|
|
|
256295 |
%prep
|
|
|
37748b |
%autosetup -n %{reponame}-%{version} -p1
|
|
|
256295 |
|
|
|
256295 |
%build
|
|
|
b45fa7 |
%make_build CFLAGS="%{optflags} -Wl,-z,now" -C src -f gcore.mk
|
|
|
256295 |
|
|
|
256295 |
%install
|
|
|
256295 |
install -m 0755 -d %{buildroot}%{_libdir}/crash/extensions
|
|
|
256295 |
install -m 0755 -t %{buildroot}%{_libdir}/crash/extensions %{_builddir}/%{reponame}-%{version}/src/gcore.so
|
|
|
256295 |
|
|
|
256295 |
%files
|
|
|
256295 |
%dir %{_libdir}/crash
|
|
|
256295 |
%dir %{_libdir}/crash/extensions
|
|
|
256295 |
%{_libdir}/crash/extensions/gcore.so
|
|
|
256295 |
%license COPYING
|
|
|
256295 |
|
|
|
256295 |
%changelog
|
|
|
37748b |
* Fri Nov 18 2022 Lianbo Jiang <lijiang@redhat.com> - 1.6.3-2
|
|
|
37748b |
- Update to the latest commit d2795659986d
|
|
|
37748b |
|
|
|
b45fa7 |
* Mon Dec 27 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.3-1
|
|
|
b45fa7 |
- Rebase to upstream 1.6.3
|
|
|
b45fa7 |
|
|
|
b45fa7 |
* Wed Dec 15 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.2-5
|
|
|
b45fa7 |
- Rebuild for the compatibility issue
|
|
|
b45fa7 |
|
|
|
b45fa7 |
* Tue Dec 07 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.2-4
|
|
|
b45fa7 |
- Fix the hardening issue "FAIL: bind-now test because not linked with -Wl,-z,now"
|
|
|
b45fa7 |
|
|
|
256295 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-3
|
|
|
256295 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
256295 |
Related: rhbz#1991688
|
|
|
256295 |
|
|
|
256295 |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-2
|
|
|
256295 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
256295 |
|
|
|
256295 |
* Fri Jan 22 2021 HATAYAMA Daisuke <d.hatayama@fujitsu.com> - 1.6.2-1
|
|
|
256295 |
- Initial crash-gcore-command package
|