Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libtracecmd for openSUSE:Factory 
checked in at 2022-12-04 14:58:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtracecmd (Old)
 and      /work/SRC/openSUSE:Factory/.libtracecmd.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libtracecmd"

Sun Dec  4 14:58:34 2022 rev:2 rq:1039895 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libtracecmd/libtracecmd.changes  2022-09-08 
14:22:02.258445176 +0200
+++ /work/SRC/openSUSE:Factory/.libtracecmd.new.1835/libtracecmd.changes        
2022-12-04 14:59:02.836509788 +0100
@@ -1,0 +2,16 @@
+Sat Dec  3 13:04:42 UTC 2022 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to release 1.2.0
+  * Process trace_clock for v7 trace.dat files
+  * Add network roles for time sync
+  * Have clock source TAI parse to seconds
+  * Use uncompressed size for file size
+  * Allow callers to save private data in tracecmd_input handlers
+  * Add filtering logic for iterating events
+  * Add man pages for iterator functions
+  * Add API for mapping between host and guests
+- Delete 0001-build-Only-consider-libtracecmd-documentation.patch,
+  0002-trace-cmd-library-Fix-decleration-of-msg_lseek.patch (merged)
+- Add static-assign.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-build-Only-consider-libtracecmd-documentation.patch
  0002-trace-cmd-library-Fix-decleration-of-msg_lseek.patch
  trace-cmd-libtracecmd-1.1.3.tar.gz

New:
----
  static-assign.patch
  trace-cmd-libtracecmd-1.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libtracecmd.spec ++++++
--- /var/tmp/diff_new_pack.1gdbrS/_old  2022-12-04 14:59:03.396513014 +0100
+++ /var/tmp/diff_new_pack.1gdbrS/_new  2022-12-04 14:59:03.400513037 +0100
@@ -18,19 +18,19 @@
 
 Name:           libtracecmd
 %define lname   libtracecmd1
-Version:        1.1.3
+Version:        1.2.0
 Release:        0
 Summary:        Library for creating and reading trace-cmd data files
 License:        LGPL-2.1-only
 Group:          Development/Libraries/C and C++
 URL:            https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git
-Source0:        trace-cmd-libtracecmd-%{version}.tar.gz
-Patch1:                0001-build-Only-consider-libtracecmd-documentation.patch
-Patch2:         0002-trace-cmd-library-Fix-decleration-of-msg_lseek.patch
-BuildRequires:  libzstd-devel
+Source:         
https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-libtracecmd-%version.tar.gz
+Patch1:         static-assign.patch
 BuildRequires:  asciidoc
+BuildRequires:  fdupes
 BuildRequires:  libtraceevent-devel
 BuildRequires:  libtracefs-devel
+BuildRequires:  libzstd-devel
 BuildRequires:  source-highlight
 BuildRequires:  xmlto
 
@@ -56,7 +56,7 @@
 %autosetup -p1 -n trace-cmd-libtracecmd-%{version}
 
 %build
-make -j1 V=1 prefix=%{_prefix} libdir=%{_libdir} libs
+%make_build V=1 prefix=%{_prefix} libdir=%{_libdir} libs
 make -j1 V=1 
MANPAGE_DOCBOOK_XSL=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl
 doc
 
 %install
@@ -65,6 +65,11 @@
      pkgconfig_dir=%{_libdir}/pkgconfig \
      htmldir=%{_docdir}/libtracecmd pdfdir=%{_docdir}/libtracecmd \
      install_libs install_doc
+# remove files already built&shipped in trace-cmd
+for i in man1 man5 man8; do
+       rm -Rf "%buildroot/%_mandir/$i"
+done
+%fdupes %buildroot/%_prefix
 
 %post -n %{lname} -p /sbin/ldconfig
 %postun -n %{lname} -p /sbin/ldconfig
@@ -77,7 +82,7 @@
 %{_includedir}/trace-cmd
 %{_libdir}/libtracecmd.so
 %{_libdir}/pkgconfig/*.pc
-%{_mandir}/man3/*
+%{_mandir}/man*/*
 %{_docdir}/libtracecmd
 %license COPYING.LIB
 %doc README

++++++ static-assign.patch ++++++
From: Jan Engelhardt <jeng...@inai.de>
Date: 2022-12-03 14:04:21.501944293 +0100
References: 
https://lists.opensuse.org/archives/list/fact...@lists.opensuse.org/thread/FPNDORIL6NDJD3HFQ76LQBIRBCWVG6TV/
Upstream: no

Mark a few vars as := in the hope to the cut the number of recursive
pkg-config calls at least by some amount. It's not a panacea,
you really must split the "configure" and the "build" steps
and not conflate them together. Use autotools/cmake/meson/whatever.
Not this.

---
 Makefile |   30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

Index: trace-cmd-libtracecmd-1.2.0/Makefile
===================================================================
--- trace-cmd-libtracecmd-1.2.0.orig/Makefile
+++ trace-cmd-libtracecmd-1.2.0/Makefile
@@ -221,8 +221,8 @@ LIBS ?= -ldl
 LIBTRACECMD_DIR = $(obj)/lib/trace-cmd
 LIBTRACECMD_STATIC = $(LIBTRACECMD_DIR)/libtracecmd.a
 LIBTRACECMD_SHARED = $(LIBTRACECMD_DIR)/libtracecmd.so.$(LIBTRACECMD_VERSION)
-LIBTRACECMD_SHARED_VERSION = $(shell echo $(LIBTRACECMD_SHARED) | sed -e 
's/\(\.so\.[0-9]*\).*/\1/')
-LIBTRACECMD_SHARED_SO = $(shell echo $(LIBTRACECMD_SHARED) | sed -e 
's/\(\.so\).*/\1/')
+LIBTRACECMD_SHARED_VERSION := $(shell echo $(LIBTRACECMD_SHARED) | sed -e 
's/\(\.so\.[0-9]*\).*/\1/')
+LIBTRACECMD_SHARED_SO := $(shell echo $(LIBTRACECMD_SHARED) | sed -e 
's/\(\.so\).*/\1/')
 
 export LIBTRACECMD_STATIC LIBTRACECMD_SHARED
 export LIBTRACECMD_SHARED_VERSION LIBTRACECMD_SHARED_SO
@@ -230,12 +230,12 @@ export LIBTRACECMD_SHARED_VERSION LIBTRA
 LIBTRACEEVENT=libtraceevent
 LIBTRACEFS=libtracefs
 
-TEST_LIBTRACEEVENT = $(shell sh -c "$(PKG_CONFIG) --atleast-version 
$(LIBTRACEEVENT_MIN_VERSION) $(LIBTRACEEVENT) > /dev/null 2>&1 && echo y")
-TEST_LIBTRACEFS = $(shell sh -c "$(PKG_CONFIG) --atleast-version 
$(LIBTRACEFS_MIN_VERSION) $(LIBTRACEFS) > /dev/null 2>&1 && echo y")
+TEST_LIBTRACEEVENT := $(shell sh -c "$(PKG_CONFIG) --atleast-version 
$(LIBTRACEEVENT_MIN_VERSION) $(LIBTRACEEVENT) > /dev/null 2>&1 && echo y")
+TEST_LIBTRACEFS := $(shell sh -c "$(PKG_CONFIG) --atleast-version 
$(LIBTRACEFS_MIN_VERSION) $(LIBTRACEFS) > /dev/null 2>&1 && echo y")
 
 ifeq ("$(TEST_LIBTRACEEVENT)", "y")
-LIBTRACEEVENT_CFLAGS = $(shell sh -c "$(PKG_CONFIG) --cflags $(LIBTRACEEVENT)")
-LIBTRACEEVENT_LDLAGS = $(shell sh -c "$(PKG_CONFIG) --libs $(LIBTRACEEVENT)")
+LIBTRACEEVENT_CFLAGS := $(shell sh -c "$(PKG_CONFIG) --cflags 
$(LIBTRACEEVENT)")
+LIBTRACEEVENT_LDLAGS := $(shell sh -c "$(PKG_CONFIG) --libs $(LIBTRACEEVENT)")
 else
 .PHONY: warning
 warning:
@@ -253,8 +253,8 @@ endif
 export LIBTRACEEVENT_CFLAGS LIBTRACEEVENT_LDLAGS
 
 ifeq ("$(TEST_LIBTRACEFS)", "y")
-LIBTRACEFS_CFLAGS = $(shell sh -c "$(PKG_CONFIG) --cflags $(LIBTRACEFS)")
-LIBTRACEFS_LDLAGS = $(shell sh -c "$(PKG_CONFIG) --libs $(LIBTRACEFS)")
+LIBTRACEFS_CFLAGS := $(shell sh -c "$(PKG_CONFIG) --cflags $(LIBTRACEFS)")
+LIBTRACEFS_LDLAGS := $(shell sh -c "$(PKG_CONFIG) --libs $(LIBTRACEFS)")
 else
 .PHONY: warning
 warning:
@@ -324,11 +324,11 @@ endif
 export ZLIB_LDLAGS
 
 ifndef NO_LIBZSTD
-TEST_LIBZSTD = $(shell sh -c "$(PKG_CONFIG) --atleast-version 1.4.0 libzstd > 
/dev/null 2>&1 && echo y")
+TEST_LIBZSTD := $(shell sh -c "$(PKG_CONFIG) --atleast-version 1.4.0 libzstd > 
/dev/null 2>&1 && echo y")
 
 ifeq ("$(TEST_LIBZSTD)", "y")
-LIBZSTD_CFLAGS = $(shell sh -c "$(PKG_CONFIG) --cflags libzstd")
-LIBZSTD_LDLAGS = $(shell sh -c "$(PKG_CONFIG) --libs libzstd")
+LIBZSTD_CFLAGS := $(shell sh -c "$(PKG_CONFIG) --cflags libzstd")
+LIBZSTD_LDLAGS := $(shell sh -c "$(PKG_CONFIG) --libs libzstd")
 CFLAGS += -DHAVE_ZSTD
 ZSTD_INSTALLED=1
 $(info    Have ZSTD compression support)
@@ -571,10 +571,10 @@ report_nopythondev: force
        $(Q)echo
 
 ifndef NO_PYTHON
-PYTHON_INCLUDES = `$(PKG_CONFIG) --cflags $(PYTHON_PKGCONFIG_VERS)`
-PYTHON_LDFLAGS = `$(PKG_CONFIG) --libs $(PYTHON_PKGCONFIG_VERS)` \
+PYTHON_INCLUDES := `$(PKG_CONFIG) --cflags $(PYTHON_PKGCONFIG_VERS)`
+PYTHON_LDFLAGS := `$(PKG_CONFIG) --libs $(PYTHON_PKGCONFIG_VERS)` \
                $(shell $(PYTHON_VERS)-config --ldflags)
-PYGTK_CFLAGS = `$(PKG_CONFIG) --cflags pygtk-2.0`
+PYGTK_CFLAGS := `$(PKG_CONFIG) --cflags pygtk-2.0`
 else
 PYTHON_INCLUDES =
 PYTHON_LDFLAGS =

++++++ trace-cmd-libtracecmd-1.1.3.tar.gz -> trace-cmd-libtracecmd-1.2.0.tar.gz 
++++++
++++ 10872 lines of diff (skipped)

Reply via email to