Hello community,
here is the log from the commit of package perf for openSUSE:Factory checked in at 2019-10-31 22:21:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perf (Old)
and /work/SRC/openSUSE:Factory/.perf.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perf"
Thu Oct 31 22:21:48 2019 rev:50 rq:744273 version:MACRO
Changes:
--------
--- /work/SRC/openSUSE:Factory/perf/perf.changes 2019-06-14 20:43:22.574293560 +0200
+++ /work/SRC/openSUSE:Factory/.perf.new.2990/perf.changes 2019-10-31 22:21:49.440039298 +0100
@@ -1,0 +2,7 @@
+Wed Oct 30 13:41:51 UTC 2019 - Jiri Slaby
+
+- perf does not link with LTO, so define _lto_cflags %{nil}
+- add libzstd-devel to BuildRequires to support trace compression
+- fix gtk2 detection
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perf.spec ++++++
--- /var/tmp/diff_new_pack.Vq2JAg/_old 2019-10-31 22:21:50.288040441 +0100
+++ /var/tmp/diff_new_pack.Vq2JAg/_new 2019-10-31 22:21:50.296040451 +0100
@@ -16,6 +16,9 @@
#
+# perf does not link with LTO
+%define _lto_cflags %{nil}
+
Name: perf
%define version %(rpm -q --qf '%%{VERSION}' kernel-source)
Version: %{version}
@@ -32,6 +35,7 @@
BuildRequires: kernel-source >= 2.6.31
BuildRequires: libdw-devel
BuildRequires: libelf-devel
+BuildRequires: libzstd-devel
BuildRequires: xz-devel
BuildRequires: rubygem(asciidoctor)
%ifarch aarch64 ia64 x86_64 ppc64 ppc64le ppc %sparc
@@ -69,6 +73,9 @@
(cd /usr/src/linux ; tar -cf - COPYING CREDITS README tools include scripts Kbuild Makefile arch/*/{include,lib,Makefile} lib) | tar -xf -
chmod +x tools/perf/util/generate-cmdlist.sh
+# don't error out on deprecated definitions in gtk2.h
+sed -i 's@ignored "-Wstrict-prototypes"@&\n#pragma GCC diagnostic ignored "-Wdeprecated-declarations"@' tools/build/feature/test-gtk2.c
+
%build
cd tools/perf
export WERROR=0