From 65bf0d4b752252718eba64f6afcd87bd0d12f915 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 17 May 2022 04:53:49 -0400 Subject: [PATCH] import crash-gcore-command-1.6.3-1.el9 --- .crash-gcore-command.metadata | 1 + .gitignore | 1 + SPECS/crash-gcore-command.spec | 54 ++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 .crash-gcore-command.metadata create mode 100644 .gitignore create mode 100644 SPECS/crash-gcore-command.spec diff --git a/.crash-gcore-command.metadata b/.crash-gcore-command.metadata new file mode 100644 index 0000000..c41bc28 --- /dev/null +++ b/.crash-gcore-command.metadata @@ -0,0 +1 @@ +70f9352418f658080e988d5b7e7d3b4ce6a98f99 SOURCES/crash-gcore-command-1.6.3.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3242885 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/crash-gcore-command-1.6.3.tar.gz diff --git a/SPECS/crash-gcore-command.spec b/SPECS/crash-gcore-command.spec new file mode 100644 index 0000000..c7e67cf --- /dev/null +++ b/SPECS/crash-gcore-command.spec @@ -0,0 +1,54 @@ +%global reponame crash-gcore + +Summary: Gcore extension module for the crash utility +Name: crash-gcore-command +Version: 1.6.3 +Release: 1%{?dist} +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 +%make_build CFLAGS="%{optflags} -Wl,-z,now" -C src -f gcore.mk + +%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 +* Mon Dec 27 2021 Lianbo Jiang - 1.6.3-1 +- Rebase to upstream 1.6.3 + +* Wed Dec 15 2021 Lianbo Jiang - 1.6.2-5 +- Rebuild for the compatibility issue + +* Tue Dec 07 2021 Lianbo Jiang - 1.6.2-4 +- Fix the hardening issue "FAIL: bind-now test because not linked with -Wl,-z,now" + +* Mon Aug 09 2021 Mohan Boddu - 1.6.2-3 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Thu Apr 15 2021 Mohan Boddu - 1.6.2-2 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Fri Jan 22 2021 HATAYAMA Daisuke - 1.6.2-1 +- Initial crash-gcore-command package