Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perf for openSUSE:Factory checked in 
at 2023-01-11 14:35:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perf (Old)
 and      /work/SRC/openSUSE:Factory/.perf.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perf"

Wed Jan 11 14:35:51 2023 rev:70 rq:1057729 version:MACRO

Changes:
--------
--- /work/SRC/openSUSE:Factory/perf/perf.changes        2022-10-03 
13:47:42.225737713 +0200
+++ /work/SRC/openSUSE:Factory/.perf.new.32243/perf.changes     2023-01-11 
14:37:18.613995994 +0100
@@ -1,0 +2,29 @@
+Wed Jan 11 08:03:38 UTC 2023 - Jiri Slaby <jsl...@suse.cz>
+
+- fix build for 6.2
+
+-------------------------------------------------------------------
+Mon Jan  9 07:09:46 UTC 2023 - Jiri Slaby <jsl...@suse.cz>
+
+- drop perf-6.0-lock_contention_fix_a_build_error_on_32_bit.patch
+  (6.1 landed to TW)
+
+-------------------------------------------------------------------
+Wed Oct 12 06:40:13 UTC 2022 - Jiri Slaby <jsl...@suse.cz>
+
+- drop perf-5.15-don-t-install-headers-with-x-permissions.patch
+  (6.0 landed to TW)
+
+-------------------------------------------------------------------
+Fri Oct  7 15:58:23 UTC 2022 - Callum Farmer <gm...@opensuse.org>
+
+- Move bash-completion to subpackage so it isn't installed when
+  not needed
+
+-------------------------------------------------------------------
+Thu Oct  6 10:09:56 UTC 2022 - Andreas Schwab <sch...@suse.de>
+
+- Add a dummy -rebuild package to give OBS/Tumbleweed a hint when this
+  package needs a rebuild
+
+-------------------------------------------------------------------

Old:
----
  perf-5.15-don-t-install-headers-with-x-permissions.patch
  perf-6.0-lock_contention_fix_a_build_error_on_32_bit.patch

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

Other differences:
------------------
++++++ perf.spec ++++++
--- /var/tmp/diff_new_pack.gzLSl7/_old  2023-01-11 14:37:19.013998255 +0100
+++ /var/tmp/diff_new_pack.gzLSl7/_new  2023-01-11 14:37:19.017998278 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perf
 #
-# 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
@@ -33,9 +33,6 @@
 License:        GPL-2.0-only
 Group:          Development/Tools/Debuggers
 URL:            https://perf.wiki.kernel.org/
-# remove once 6.0 reaches Tumbleweed (incl. the if below)
-Patch0:         perf-5.15-don-t-install-headers-with-x-permissions.patch
-Patch1:         perf-6.0-lock_contention_fix_a_build_error_on_32_bit.patch
 BuildRequires:  OpenCSD-devel
 BuildRequires:  audit-devel
 %ifnarch %{arm}
@@ -93,6 +90,26 @@
 %description devel
 Development headers for perf. This is currently only dlfilter header.
 
+%package bash-completion
+Summary:        Bash completion for perf
+Group:          System/Shells
+Requires:       %{name}
+Requires:       bash-completion
+Supplements:    (%{name} and bash-completion)
+
+%description bash-completion
+bash command line completion support for perf.
+
+%package rebuild
+Summary:        Empty package to ensure rebuilding perf in OBS
+%requires_eq kernel-source
+
+%description rebuild
+This is an empty package that ensures perf is rebuilt every time
+kernel-default is rebuilt in OBS.
+
+There is no reason to install this package.
+
 %prep
 # copy necessary files from kernel-source since we need to modify them
 (cd %{_prefix}/src/linux ; tar -cf - COPYING CREDITS README tools include 
scripts Kbuild Makefile arch/*/{include,lib,Makefile} lib 
kernel/bpf/disasm.[ch]) | tar -xf -
@@ -104,13 +121,6 @@
 # skip info-from-txt generation (it's the same as man anyway)
 sed -i.old 's@\(all: .*\)info@\1@' tools/perf/Documentation/Makefile
 
-%if %{version_pure} == 519
-%patch0 -p1
-%endif
-%if %{version_pure} == 60
-%patch1 -p1
-%endif
-
 %build
 cd tools/perf
 export WERROR=0
@@ -143,7 +153,11 @@
        install install-doc
 
 mkdir -p %{buildroot}/%{_docdir}/perf/examples/bpf
+# === remove this when 6.2 hits factory
+%if %{version_pure} == 61
 mv %{buildroot}%{_prefix}/lib/perf/include/bpf/* 
%{buildroot}/%{_docdir}/perf/examples/bpf
+%endif
+# === up to here
 mv %{buildroot}%{_prefix}/lib/perf/examples/bpf/* 
%{buildroot}/%{_docdir}/perf/examples/bpf
 
 mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
@@ -163,7 +177,6 @@
 %{_bindir}/perf
 %{_bindir}/trace
 %{_prefix}/lib/%{name}-core
-%{_datadir}/bash-completion/completions/perf
 %{_datadir}/%{name}-core
 %{_mandir}/man1/perf*
 %dir %{_docdir}/perf/examples
@@ -173,8 +186,16 @@
 %files gtk
 %{_libdir}/libperf-gtk.so
 
+%files bash-completion
+%dir %{_datadir}/bash-completion
+%dir %{_datadir}/bash-completion/completions
+%{_datadir}/bash-completion/completions/perf
+
 %files devel
 %dir %{_includedir}/perf/
 %{_includedir}/perf/*.h
 
+%files rebuild
+%license COPYING
+
 %changelog

Reply via email to