Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crash for openSUSE:Factory checked in at 2023-01-21 19:10:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crash (Old) and /work/SRC/openSUSE:Factory/.crash.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crash" Sat Jan 21 19:10:57 2023 rev:183 rq:1060047 version:7.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/crash/crash.changes 2022-12-15 19:25:36.724195200 +0100 +++ /work/SRC/openSUSE:Factory/.crash.new.32243/crash.changes 2023-01-21 19:11:21.969231646 +0100 @@ -1,0 +2,7 @@ +Fri Jan 20 00:17:52 UTC 2023 - David Mair <[email protected]> + +- Added crash-trace-2021-02-08.tar.bz2 and modified project to + create the crash-trace package. If installed with crash installed + the extension can be used for diagnosing kernel trace data. + +------------------------------------------------------------------- New: ---- crash-trace-2021-02-08.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crash.spec ++++++ --- /var/tmp/diff_new_pack.xjLh7k/_old 2023-01-21 19:11:24.661247014 +0100 +++ /var/tmp/diff_new_pack.xjLh7k/_new 2023-01-21 19:11:24.685247151 +0100 @@ -1,7 +1,7 @@ # # spec file for package crash # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,6 +20,7 @@ %define whitepaper_version 2003 %define scripts_version 2008-02-08 %define gcore_version 2011-09-22 +%define trace_version 2021-02-08 %if 0%{!?have_snappy:1} %if 0%{?suse_version} >= 1310 @@ -51,6 +52,10 @@ %else %define build_gcore 0 %endif + +# Not limited by architecture for now +%define build_trace 1 + %define build_kmp 1 %if 0%{?suse_version} <= 1500 && 0%{?suse_version} >= 1315 # kernel is missing on 32bit SLE - cannot build a KMP @@ -73,6 +78,7 @@ Source6: Module.supported Source7: http://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.gz.sig Source8: gnu.keyring +Source9: crash-trace-%{trace_version}.tar.bz2 Source95: get-kernel-flavors.sh Source96: depmod.sh Source97: mkinitrd.sh @@ -256,6 +262,25 @@ %endif +%if %build_trace + +%package trace +Requires: %{name} = %{version} +Summary: Trace extension for crash +License: GPL-2.0-or-later +Group: Development/Tools/Debuggers + +%description trace +Crash extension to show or dump tracing information + + + +Authors: +-------- + Lai Jiangshan <[email protected]> + +%endif + %package %kmp_pkg Summary: Memory driver for the crash utility License: GPL-2.0-only @@ -325,6 +350,10 @@ cd extensions tar xfvj %{S:5} cd - +## crash-trace extension +cd extensions +tar xfvj %{S:9} +cd - %patch12 -p1 %patch16 -p1 %patch29 -p1 @@ -373,6 +402,9 @@ %if %build_gcore install -m 0644 extensions/gcore.so $RPM_BUILD_ROOT/%{_libdir}/crash/extensions %endif +%if %build_trace +install -m 0644 extensions/trace.so $RPM_BUILD_ROOT/%{_libdir}/crash/extensions +%endif %if %build_eppic install -m 0644 extensions/eppic.so $RPM_BUILD_ROOT/%{_libdir}/crash/extensions %endif @@ -442,4 +474,11 @@ %doc extensions/README.gcore %endif +%if %build_trace + +%files trace +%defattr(-,root,root) +%{_libdir}/crash/extensions/trace.so +%endif + %changelog
