diff --git a/SOURCES/0001-Makefile-set-DT_SONAME-to-trace.so.patch b/SOURCES/0001-Makefile-set-DT_SONAME-to-trace.so.patch index dff068d..208e4d7 100644 --- a/SOURCES/0001-Makefile-set-DT_SONAME-to-trace.so.patch +++ b/SOURCES/0001-Makefile-set-DT_SONAME-to-trace.so.patch @@ -30,7 +30,7 @@ index a9e0a21..b4573b4 100755 trace.so: $(INCDIR)/defs.h trace.c - gcc $(RPM_OPT_FLAGS) -Wall -I$(INCDIR) -nostartfiles -shared -rdynamic -o trace.so trace.c -fPIC -D$(TARGET) $(TARGET_CFLAGS) -+ gcc $(RPM_OPT_FLAGS) -Wall -I$(INCDIR) -nostartfiles -shared -rdynamic -Wl,-soname,trace.so -o trace.so trace.c -fPIC -D$(TARGET) $(TARGET_CFLAGS) ++ gcc $(RPM_OPT_FLAGS) -Wall -I$(INCDIR) -nostartfiles -shared -rdynamic -Wl,-z,now -Wl,-soname,trace.so -o trace.so trace.c -fPIC -D$(TARGET) $(TARGET_CFLAGS) -- 2.29.2 diff --git a/SPECS/crash-trace-command.spec b/SPECS/crash-trace-command.spec index 52ca32e..5f30e3a 100644 --- a/SPECS/crash-trace-command.spec +++ b/SPECS/crash-trace-command.spec @@ -3,7 +3,7 @@ Summary: Trace extension module for the crash utility Name: crash-trace-command Version: 3.0 -Release: 4%{?dist} +Release: 6%{?dist} License: GPLv2 Source: https://github.com/fujitsu/crash-trace/archive/v%{version}/%{name}-%{version}.tar.gz URL: https://github.com/fujitsu/crash-trace @@ -37,6 +37,12 @@ install -m 0755 -t %{buildroot}%{_libdir}/crash/extensions %{_builddir}/%{repona %license COPYING %changelog +* Wed Dec 15 2021 Lianbo Jiang - 3.0-6 +- Rebuild for the compatibility issue + +* Thu Dec 09 2021 Lianbo Jiang - 3.0-5 +- Fix the hardening issue "FAIL: bind-now test because not linked with -Wl,-z,now" + * Mon Aug 09 2021 Mohan Boddu - 3.0-4 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688