diff --git a/crash-gcore-command.spec b/crash-gcore-command.spec index de8f20c..ca9a383 100644 --- a/crash-gcore-command.spec +++ b/crash-gcore-command.spec @@ -3,7 +3,7 @@ Summary: Gcore extension module for the crash utility Name: crash-gcore-command Version: 1.6.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2 Source0: https://github.com/fujitsu/crash-gcore/archive/v%{version}/%{name}-%{version}.tar.gz URL: https://github.com/fujitsu/crash-gcore @@ -21,7 +21,7 @@ running in a kernel dump file. %autosetup -n %{reponame}-%{version} %build -%make_build -C src -f gcore.mk +%make_build CFLAGS="%{optflags} -Wl,-z,now" -C src -f gcore.mk %install install -m 0755 -d %{buildroot}%{_libdir}/crash/extensions @@ -34,6 +34,9 @@ install -m 0755 -t %{buildroot}%{_libdir}/crash/extensions %{_builddir}/%{repona %license COPYING %changelog +* Tue Dec 07 2021 Mohan Boddu - 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