Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package trace-cmd for openSUSE:Factory checked in at 2022-09-14 15:42:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trace-cmd (Old) and /work/SRC/openSUSE:Factory/.trace-cmd.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trace-cmd" Wed Sep 14 15:42:21 2022 rev:16 rq:1003497 version:3.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/trace-cmd/trace-cmd.changes 2020-06-09 00:10:03.102419414 +0200 +++ /work/SRC/openSUSE:Factory/.trace-cmd.new.2083/trace-cmd.changes 2022-09-14 15:42:22.315628423 +0200 @@ -1,0 +2,48 @@ +Wed Aug 24 07:51:55 UTC 2022 - Daniel Wagner <[email protected]> + +- Update to latest upstream version (3.1.2) + Splitted libtracecmd into a seperate project as it has + a different release cycle and doesn't align with the + trace-cmd frontend. + - Drop 0001-libtracecmd-use-major-version-as-SONAME.patch + - Drop 0002-trace-cmd-Remove-last-elements-of-local-libtracefs-a.patch + - Add 0001-build-Only-consider-trace-cmd-documentation.patch + - Rename makefile-bash.patch to 0002-build-Obey-package-guidelines-for-bash-completions.patch + +------------------------------------------------------------------- +Tue Feb 22 12:34:56 UTC 2022 - [email protected] + +- Force correct pkgconfig_dir location to fix build +- Force python3 during build + +------------------------------------------------------------------- +Thu Jan 20 17:21:13 UTC 2022 - Dario Faggioli <[email protected]> + +- New package, with python plugins + - Add 0002-trace-cmd-Remove-last-elements-of-local-libtracefs-a.patch + +------------------------------------------------------------------- +Thu Jan 20 12:27:39 UTC 2022 - Dario Faggioli <[email protected]> + +- Update to latest upstream version (2.9.6) + - Drop makefile-lib64.patch (not necessary any longer) +- Depend on libtraceevent and libtracefs own package, instead + of building (a copy of, at least potentially) them ourselves +- Build libtracecmd (and -devel) as separate package + - Add 0001-libtracecmd-use-major-version-as-SONAME.patch + - Drop trace-cmd-rpmlintrc (no more lint errors) +- Some spec file cleanup, e.g.: + - %setup --> %autosetup + - make --> %make_build + +------------------------------------------------------------------- +Thu Sep 24 08:23:29 UTC 2020 - Dario Faggioli <[email protected]> + +- Upgrade to version 2.9.1 + - Drop 0001-trace-cmd-fix-multiple-definition-compiler-errors.patch + - Patch is upstream, no backport needed any longer + - Update plugins location (trace-cmd --> traceevent) + - No need to explicitly remove kernelshark and its docs + - They're no longer build with trace-cmd + +------------------------------------------------------------------- Old: ---- 0001-trace-cmd-fix-multiple-definition-compiler-errors.patch makefile-bash.patch makefile-lib64.patch trace-cmd-2.8.3.tar.bz2 trace-cmd-rpmlintrc New: ---- 0001-build-Only-consider-trace-cmd-documentation.patch 0002-build-Obey-package-guidelines-for-bash-completions.patch trace-cmd-v3.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trace-cmd.spec ++++++ --- /var/tmp/diff_new_pack.ILbQTX/_old 2022-09-14 15:42:22.927629808 +0200 +++ /var/tmp/diff_new_pack.ILbQTX/_new 2022-09-14 15:42:22.931629817 +0200 @@ -1,7 +1,7 @@ # # spec file for package trace-cmd # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,52 +17,69 @@ Name: trace-cmd -Version: 2.8.3 +Version: 3.1.2 Release: 0 Summary: Configuration tool for Ftrace -License: GPL-2.0-only AND LGPL-2.1-only +License: GPL-2.0-only Group: Development/Tools/Debuggers -URL: https://elinux.org/Ftrace -Source0: trace-cmd-%{version}.tar.bz2 -Source1: trace-cmd-rpmlintrc -Patch1: makefile-lib64.patch -Patch2: makefile-bash.patch -Patch3: 0001-trace-cmd-fix-multiple-definition-compiler-errors.patch +URL: https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git +Source0: trace-cmd-v%{version}.tar.gz +Patch1: 0001-build-Only-consider-trace-cmd-documentation.patch +Patch2: 0002-build-Obey-package-guidelines-for-bash-completions.patch BuildRequires: asciidoc -BuildRequires: audit-devel -BuildRequires: docbook-xsl-stylesheets -BuildRequires: swig -%if 0%{?suse_version} > 1200 -BuildRequires: xsltproc -%else -BuildRequires: libxslt -%endif +BuildRequires: fdupes +BuildRequires: libtracecmd-devel +BuildRequires: libtraceevent-devel +BuildRequires: libtracefs-devel +BuildRequires: source-highlight +BuildRequires: xmlto +Recommends: libtraceevent1-plugins %description trace-cmd is a command-line tool for configuring Ftrace. +%package python3 +Summary: Python plugin support for trace-cmd +Group: Development/Libraries/Python +Requires: %{name} = %{version}-%{release} +Requires: python3 +BuildRequires: python3-devel +BuildRequires: swig +Provides: %{name}-python = %{version} + +%description python3 +Python plugin support for trace-cmd + %prep -%setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%autosetup -p1 -n trace-cmd-v%{version} %build -make %{?_smp_mflags} prefix=%{_prefix} trace-cmd -make %{?_smp_mflags} MANPAGE_DOCBOOK_XSL=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl doc +%make_build -j1 V=1 prefix=%{_prefix} libdir=%{_libdir} PYTHON_VERS=python3 all_cmd doc +for i in python/*.py ; do + sed -i 's/env python2/python3/g' $i +done +%make_build -j1 V=1 MANPAGE_DOCBOOK_XSL=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl doc %install -%make_install prefix=%{_prefix} install_cmd -%make_install prefix=%{_prefix} install_doc -rm %{buildroot}/%{_mandir}/man1/kernelshark.1 -rm -rf %{buildroot}/%{_datadir}/kernelshark +%make_install V=1 libdir=%{_libdir} prefix=%{_prefix} \ + pkgconfig_dir=%{_libdir}/pkgconfig \ + htmldir=%{_docdir}/%{name} pdfdir=%{_docdir}/%{name} \ + PYTHON_VERS=python3 \ + install install_doc install_python install_bash_completion +%fdupes %buildroot/%_prefix %files %{_bindir}/trace-cmd -%{_libdir}/trace-cmd %{_mandir}/man1/trace-cmd* %{_mandir}/man5/trace-cmd.dat* +%{_docdir}/%{name}/*.html %{_datadir}/bash-completion/completions/trace-cmd.bash %license COPYING +%doc README + +%files python3 +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/python +%doc Documentation/README.PythonPlugin %changelog ++++++ 0001-build-Only-consider-trace-cmd-documentation.patch ++++++ >From b805411e4a899f65fb39d2398381bcc3ee9a4306 Mon Sep 17 00:00:00 2001 From: Daniel Wagner <[email protected]> Date: Tue, 23 Aug 2022 15:30:42 +0200 Subject: [PATCH] build: Only consider trace-cmd documentation We are not interested to build the libtracecmd documentation. Unfortuantly, we can't control this from the top level Makefile, hence just disable it on source code level. Signed-off-by: Daniel Wagner <[email protected]> --- Documentation/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/Makefile b/Documentation/Makefile index ec364916d13f..5cc5acfc5eb2 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -5,7 +5,6 @@ doc_dir:=$(src)/Documentation export doc_dir SUBDIR += trace-cmd -SUBDIR += libtracecmd .PHONY: $(SUBDIR) -- 2.37.1 ++++++ 0002-build-Obey-package-guidelines-for-bash-completions.patch ++++++ >From 57d912170b3403131a4c349e410c4fed32a633c3 Mon Sep 17 00:00:00 2001 From: Mel Gorman <[email protected]> Date: Wed, 24 Aug 2022 10:02:55 +0200 Subject: [PATCH 2/2] build: Obey package guidelines for bash completions --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 91f628593ee4..79634d456e6d 100644 --- a/Makefile +++ b/Makefile @@ -115,7 +115,7 @@ HELP_DIR = -DHELP_DIR=$(html_install) HELP_DIR_SQ = '$(subst ','\'',$(HELP_DIR))' #' emacs highlighting gets confused by the above escaped quote. -BASH_COMPLETE_DIR ?= $(etcdir)/bash_completion.d +BASH_COMPLETE_DIR ?= $(prefix)/share/bash-completion/completions export PLUGIN_DIR_TRACECMD export PYTHON_DIR -- 2.37.1
