Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perf for openSUSE:Factory checked in 
at 2021-11-25 23:05:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perf (Old)
 and      /work/SRC/openSUSE:Factory/.perf.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perf"

Thu Nov 25 23:05:35 2021 rev:63 rq:933728 version:MACRO

Changes:
--------
--- /work/SRC/openSUSE:Factory/perf/perf.changes        2021-11-03 
17:27:28.833377082 +0100
+++ /work/SRC/openSUSE:Factory/.perf.new.1895/perf.changes      2021-11-25 
23:05:50.397258354 +0100
@@ -1,0 +2,24 @@
+Wed Nov 24 19:43:08 UTC 2021 - Tony Jones <to...@suse.com>
+
+- Fix build error due to stale conditional around %files devel
+
+-------------------------------------------------------------------
+Wed Nov 24 13:44:08 UTC 2021 - Jan Engelhardt <jeng...@inai.de>
+
+- Split gtk portion into separate package (pulls in about 40
+  packages for graphic systems that are not desired on text
+  shells).
+- Downgrade Requires: kernel to Recommends:. We are long past
+  2.6.31 (its existence is pretty much guaranteed), and it forces
+  installation of a distro kernel on systems that compile their own.
+
+-------------------------------------------------------------------
+Mon Nov 15 07:29:25 UTC 2021 - Jiri Slaby <jsl...@suse.cz>
+
+- Cleanup for < 5.14
+  * Remove:
+    perf-5.14-don-t-install-headers-with-x-permissions.patch
+    perf-5.14-remove-shebang-from-scripts-perl-python-.-pl-py.patch
+  * -devel is always built
+
+-------------------------------------------------------------------

Old:
----
  perf-5.14-don-t-install-headers-with-x-permissions.patch
  perf-5.14-remove-shebang-from-scripts-perl-python-.-pl-py.patch

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

Other differences:
------------------
++++++ perf.spec ++++++
--- /var/tmp/diff_new_pack.EMbRK3/_old  2021-11-25 23:05:50.861256754 +0100
+++ /var/tmp/diff_new_pack.EMbRK3/_new  2021-11-25 23:05:50.865256740 +0100
@@ -24,9 +24,6 @@
 %define _lto_cflags %{nil}
 %define version %(rpm -q --qf '%%{VERSION}' kernel-source)
 %define version_pure %(echo %{version}|sed 
's@\\([0-9]*\\)\\.\\([0-9]*\\).*@\\1\\2@')
-%if %{version_pure} >= 514
-%bcond_without devel
-%endif
 %ifarch s390x s390
 %define         _perf_unwind NO_LIBUNWIND=1
 %else
@@ -41,8 +38,6 @@
 Group:          Development/Tools/Debuggers
 URL:            https://perf.wiki.kernel.org/
 Patch0:         perf-5.15-don-t-install-headers-with-x-permissions.patch
-Patch1:         perf-5.14-don-t-install-headers-with-x-permissions.patch
-Patch2:         perf-5.14-remove-shebang-from-scripts-perl-python-.-pl-py.patch
 BuildRequires:  OpenCSD-devel
 BuildRequires:  audit-devel
 %ifnarch %{arm}
@@ -65,12 +60,13 @@
 BuildRequires:  xz-devel
 BuildRequires:  zlib-devel
 BuildRequires:  rubygem(asciidoctor)
-Requires:       kernel >= 2.6.31
-%{perl_requires}
-%{?libperl_requires}
 %ifarch aarch64 ia64 x86_64 ppc64 ppc64le ppc %sparc
 BuildRequires:  libnuma-devel
 %endif
+Recommends:     kernel >= 2.6.31
+Recommends:     perf-gtk
+%{perl_requires}
+%{?libperl_requires}
 
 %description
 This package provides a userspace tool 'perf', which monitors performance for
@@ -79,7 +75,14 @@
 This subsystem utilizes the Performance Monitoring Unit (PMU) / hardware
 counters of the underlying cpu architecture (if supported).
 
-%if %{with devel}
+%package gtk
+Summary:        Gtk browser for perf-report
+Group:          Development/Tools/Other
+Requires:       %{name} = %{version}
+
+%description gtk
+A GTK2 frontend for perf-report. (Use `perf report --gtk`.)
+
 %package devel
 Summary:        Development headers for perf
 Group:          Development/Libraries/Other
@@ -87,7 +90,6 @@
 
 %description devel
 Development headers for perf. This is currently only dlfilter header.
-%endif
 
 %prep
 # copy necessary files from kernel-source since we need to modify them
@@ -100,14 +102,7 @@
 # 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} >= 514
-%if %{version_pure} >= 515
 %patch0 -p1
-%else
-%patch1 -p1
-%endif
-%patch2 -p1
-%endif
 
 %build
 cd tools/perf
@@ -158,7 +153,6 @@
 %endif
 %{_bindir}/perf
 %{_bindir}/trace
-%{_libdir}/libperf-gtk.so
 %{_prefix}/lib/%{name}-core
 %{_datadir}/bash-completion/completions/perf
 %{_datadir}/%{name}-core
@@ -167,10 +161,11 @@
 %dir %{_docdir}/perf/examples/bpf
 %{_docdir}/perf/examples/bpf/*
 
-%if %{with devel}
+%files gtk
+%{_libdir}/libperf-gtk.so
+
 %files devel
 %dir %{_includedir}/perf/
 %{_includedir}/perf/*.h
-%endif
 
 %changelog

Reply via email to