Hello community,

here is the log from the commit of package perf for openSUSE:Factory checked in 
at 2020-09-22 21:15:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perf (Old)
 and      /work/SRC/openSUSE:Factory/.perf.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perf"

Tue Sep 22 21:15:07 2020 rev:54 rq:836067 version:MACRO

Changes:
--------
--- /work/SRC/openSUSE:Factory/perf/perf.changes        2020-08-01 
12:32:58.798567974 +0200
+++ /work/SRC/openSUSE:Factory/.perf.new.4249/perf.changes      2020-09-22 
21:16:13.452194133 +0200
@@ -1,0 +2,11 @@
+Tue Sep 22 06:39:52 UTC 2020 - Jiri Slaby <jsl...@suse.com>
+
+- remove 
perf-cs-etm-move-definition-of-traceid_list-global-variable-from-header-file.patch
+  It's a 5.8 patch and we are already at 5.8.
+- do not use libexecdir after the latest TW changes
+- install bash completion to /usr, not /etc as is now the default
+- require libcap, so that we support capabilities
+- require babeltrace, so that we support conversion to CTF
+- clean up spec file
+
+-------------------------------------------------------------------

Old:
----
  
perf-cs-etm-move-definition-of-traceid_list-global-variable-from-header-file.patch

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

Other differences:
------------------
++++++ perf.spec ++++++
--- /var/tmp/diff_new_pack.ZzC0tp/_old  2020-09-22 21:16:18.092198193 +0200
+++ /var/tmp/diff_new_pack.ZzC0tp/_new  2020-09-22 21:16:18.096198196 +0200
@@ -16,6 +16,10 @@
 #
 
 
+# a bug in dwz leaves temporary trace-*.debug.#dwz#.* on 64 bits in place
+# remove this once fixed, see:
+# https://sourceware.org/bugzilla/show_bug.cgi?id=26645
+%define _find_debuginfo_dwz_opts %{nil}
 # perf does not link with LTO
 %define _lto_cflags %{nil}
 %define version %(rpm -q --qf '%%{VERSION}' kernel-source)
@@ -32,14 +36,17 @@
 License:        GPL-2.0-only
 Group:          Development/Tools/Debuggers
 URL:            https://perf.wiki.kernel.org/
-Patch1:         
perf-cs-etm-move-definition-of-traceid_list-global-variable-from-header-file.patch
 BuildRequires:  OpenCSD-devel
 BuildRequires:  audit-devel
+%ifnarch %{arm}
+BuildRequires:  babeltrace-devel
+%endif
 BuildRequires:  binutils-devel
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  gtk2-devel
 BuildRequires:  kernel-source >= 2.6.31
+BuildRequires:  libcap-devel
 BuildRequires:  libdw-devel
 BuildRequires:  libelf-devel
 BuildRequires:  libzstd-devel
@@ -77,19 +84,39 @@
 cd tools/perf
 export WERROR=0
 # PASS rpm optflags as EXTRA_FLAGS,  passing as CFLAGS overrides and breaks 
build
-make %{?_smp_mflags} -f Makefile.perf PYTHON=python3 
EXTRA_CFLAGS="%{optflags}" ASCIIDOC8=1 prefix=%{_prefix} libdir=%{_libdir} 
perfexecdir=lib/%{name}-core all doc %{_perf_unwind} 
tipdir=share/doc/packages/perf USE_ASCIIDOCTOR=1 CORESIGHT=1
+make %{?_smp_mflags} -f Makefile.perf PYTHON=python3 \
+       EXTRA_CFLAGS="%{optflags}" \
+       ASCIIDOC8=1 USE_ASCIIDOCTOR=1 CORESIGHT=1 \
+       prefix=%{_prefix} \
+       libdir=%{_libdir} \
+       perfexecdir=lib/%{name}-core \
+       tipdir=share/doc/packages/perf \
+       %{_perf_unwind} \
+       all doc
 
 %install
 cd tools/perf
 export WERROR=0
-make -f Makefile.perf V=1 PYTHON=python3 EXTRA_CFLAGS="%{optflags}" 
prefix=%{_prefix} libdir=%{_libdir} perfexecdir=lib/%{name}-core 
DESTDIR=%{buildroot} install install-doc %{_perf_unwind} 
tipdir=share/doc/packages/perf USE_ASCIIDOCTOR=1 CORESIGHT=1
+make -f Makefile.perf V=1 PYTHON=python3 EXTRA_CFLAGS="%{optflags}" \
+       ASCIIDOC8=1 USE_ASCIIDOCTOR=1 CORESIGHT=1 \
+       prefix=%{_prefix} \
+       libdir=%{_libdir} \
+       perfexecdir=lib/%{name}-core \
+       tipdir=share/doc/packages/perf \
+       DESTDIR=%{buildroot} \
+       %{_perf_unwind} \
+       install install-doc
+
 mkdir -p %{buildroot}/%{_docdir}/perf/examples/bpf
 mv %{buildroot}%{_prefix}/lib/perf/include/bpf/* 
%{buildroot}/%{_docdir}/perf/examples/bpf
 mv %{buildroot}%{_prefix}/lib/perf/examples/bpf/* 
%{buildroot}/%{_docdir}/perf/examples/bpf
 
+mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
+mv %{buildroot}%{_sysconfdir}/bash_completion.d/perf 
%{buildroot}%{_datadir}/bash-completion/completions/
+
 %files
-%defattr(-, root, root)
-%attr(0644, root, root) %doc COPYING CREDITS README tools/perf/design.txt
+%license COPYING
+%doc CREDITS README tools/perf/design.txt
 %if 0%{?suse_version} > 1315
 %attr(0644, root, root) %doc %{_docdir}/perf/tips.txt
 %endif
@@ -101,11 +128,10 @@
 %dir %{_libdir}/traceevent/plugins
 %{_libdir}/traceevent/plugins/plugin_*.so
 %endif
-%attr(0644, -, -) %{_sysconfdir}/bash_completion.d/perf
-%{_libexecdir}/%{name}-core
-%{_datarootdir}/%{name}-core
+%{_prefix}/lib/%{name}-core
+%{_datadir}/bash-completion/completions/perf
+%{_datadir}/%{name}-core
 %{_mandir}/man1/perf*
-%dir %{_docdir}/perf
 %dir %{_docdir}/perf/examples
 %dir %{_docdir}/perf/examples/bpf
 %{_docdir}/perf/examples/bpf/*


Reply via email to