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-03 17:26:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perf (Old) and /work/SRC/openSUSE:Factory/.perf.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perf" Wed Nov 3 17:26:30 2021 rev:62 rq:928994 version:MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/perf/perf.changes 2021-07-29 21:33:01.692692435 +0200 +++ /work/SRC/openSUSE:Factory/.perf.new.1890/perf.changes 2021-11-03 17:27:28.833377082 +0100 @@ -1,0 +2,7 @@ +Wed Nov 3 10:10:21 UTC 2021 - Jiri Slaby <[email protected]> + +- Fix for kernel 5.15 + add perf-5.15-don-t-install-headers-with-x-permissions.patch +- skip info files generation which was enabled in 5.15 + +------------------------------------------------------------------- New: ---- perf-5.15-don-t-install-headers-with-x-permissions.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perf.spec ++++++ --- /var/tmp/diff_new_pack.oVaLF4/_old 2021-11-03 17:27:29.257377314 +0100 +++ /var/tmp/diff_new_pack.oVaLF4/_new 2021-11-03 17:27:29.257377314 +0100 @@ -40,8 +40,9 @@ License: GPL-2.0-only Group: Development/Tools/Debuggers URL: https://perf.wiki.kernel.org/ -Patch0: perf-5.14-don-t-install-headers-with-x-permissions.patch -Patch1: perf-5.14-remove-shebang-from-scripts-perl-python-.-pl-py.patch +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} @@ -96,10 +97,17 @@ # 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 +# 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 ++++++ perf-5.15-don-t-install-headers-with-x-permissions.patch ++++++ From: Jiri Slaby <[email protected]> Date: Mon, 26 Jul 2021 08:33:23 +0200 Subject: perf: don't install headers with x permissions Patch-mainline: submitted 2021/07/26 <[email protected]> References: fix x perm install install(1), by default, installs with rwxr-xr-x permissions. Modify perf's Makefile to pass '-m 644' when installing: * perf_dlfilter.h header * trace/strace/groups/* * scripts/perl/Perf-Trace-Util/lib/Perf/Trace/* * scripts/perl/*.pl * perf-completion.sh * Documentation/tips.txt * tests/attr.py * tests/attr/* * tests/shell/lib/*.sh All those are supposed to be non-executable. Either they are not scripts at all, or they don't have shebang. Signed-off-by: Jiri Slaby <[email protected]> Fixes: 0beb218315e0 (perf build: Install perf_dlfilter.h) Cc: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> --- tools/perf/Makefile.perf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index a3966f290297..d8b04214cb35 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -974,13 +974,13 @@ endif ifndef NO_LIBAUDIT $(call QUIET_INSTALL, strace/groups) \ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(STRACE_GROUPS_INSTDIR_SQ)'; \ - $(INSTALL) trace/strace/groups/* -t '$(DESTDIR_SQ)$(STRACE_GROUPS_INSTDIR_SQ)' + $(INSTALL) trace/strace/groups/* -m 644 -t '$(DESTDIR_SQ)$(STRACE_GROUPS_INSTDIR_SQ)' endif ifndef NO_LIBPERL $(call QUIET_INSTALL, perl-scripts) \ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl/Perf-Trace-Util/lib/Perf/Trace'; \ - $(INSTALL) scripts/perl/Perf-Trace-Util/lib/Perf/Trace/* -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl/Perf-Trace-Util/lib/Perf/Trace'; \ - $(INSTALL) scripts/perl/*.pl -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl'; \ + $(INSTALL) scripts/perl/Perf-Trace-Util/lib/Perf/Trace/* -m 644 -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl/Perf-Trace-Util/lib/Perf/Trace'; \ + $(INSTALL) scripts/perl/*.pl -m 644 -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl'; \ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl/bin'; \ $(INSTALL) scripts/perl/bin/* -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/perl/bin' endif @@ -997,22 +997,22 @@ endif $(INSTALL) $(DLFILTERS) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/dlfilters'; $(call QUIET_INSTALL, perf_completion-script) \ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(sysconfdir_SQ)/bash_completion.d'; \ - $(INSTALL) perf-completion.sh '$(DESTDIR_SQ)$(sysconfdir_SQ)/bash_completion.d/perf' + $(INSTALL) perf-completion.sh -m 644 '$(DESTDIR_SQ)$(sysconfdir_SQ)/bash_completion.d/perf' $(call QUIET_INSTALL, perf-tip) \ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(tip_instdir_SQ)'; \ - $(INSTALL) Documentation/tips.txt -t '$(DESTDIR_SQ)$(tip_instdir_SQ)' + $(INSTALL) Documentation/tips.txt -m 644 -t '$(DESTDIR_SQ)$(tip_instdir_SQ)' install-tests: all install-gtk $(call QUIET_INSTALL, tests) \ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests'; \ - $(INSTALL) tests/attr.py '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests'; \ + $(INSTALL) tests/attr.py -m 644 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests'; \ $(INSTALL) tests/pe-file.exe* '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests'; \ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/attr'; \ - $(INSTALL) tests/attr/* '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/attr'; \ + $(INSTALL) tests/attr/* -m 644 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/attr'; \ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell'; \ $(INSTALL) tests/shell/*.sh '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell'; \ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/lib'; \ - $(INSTALL) tests/shell/lib/*.sh '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/lib' + $(INSTALL) tests/shell/lib/*.sh -m 644 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/tests/shell/lib' install-bin: install-tools install-tests install-traceevent-plugins -- 2.33.1
