Hello community, here is the log from the commit of package llvm7 for openSUSE:Factory checked in at 2018-10-23 20:41:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm7 (Old) and /work/SRC/openSUSE:Factory/.llvm7.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm7" Tue Oct 23 20:41:35 2018 rev:3 rq:643906 version:7.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm7/llvm7.changes 2018-10-22 11:24:34.251082280 +0200 +++ /work/SRC/openSUSE:Factory/.llvm7.new/llvm7.changes 2018-10-23 20:42:38.840382528 +0200 @@ -1,0 +2,7 @@ +Tue Oct 23 07:52:09 UTC 2018 - [email protected] + +- opt-viewer-Find-style-css-in-usr-share.patch + * Make sure opt-viewer installed in /usr/bin can find resources + from /usr/share/opt-viewer. (boo#1112730) + +------------------------------------------------------------------- New: ---- opt-viewer-Find-style-css-in-usr-share.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm7.spec ++++++ --- /var/tmp/diff_new_pack.ESrbhV/_old 2018-10-23 20:42:40.880380091 +0200 +++ /var/tmp/diff_new_pack.ESrbhV/_new 2018-10-23 20:42:40.884380086 +0200 @@ -99,6 +99,7 @@ Patch21: tests-use-python3.patch Patch22: llvm-better-detect-64bit-atomics-support.patch Patch23: llvm-unittests-Don-t-install-TestPlugin.so.patch +Patch24: opt-viewer-Find-style-css-in-usr-share.patch BuildRequires: binutils-devel >= 2.21.90 BuildRequires: binutils-gold BuildRequires: cmake @@ -520,6 +521,7 @@ %patch21 -p1 %patch22 -p1 %patch23 -p1 +%patch24 -p1 pushd cfe-%{_relver}.src %patch1 -p1 ++++++ opt-viewer-Find-style-css-in-usr-share.patch ++++++ Index: llvm-7.0.0.src/tools/opt-viewer/opt-viewer.py =================================================================== --- llvm-7.0.0.src.orig/tools/opt-viewer/opt-viewer.py +++ llvm-7.0.0.src/tools/opt-viewer/opt-viewer.py @@ -252,8 +252,7 @@ def generate_report(all_remarks, sorted_remarks = sorted(optrecord.itervalues(all_remarks), key=lambda r: (r.File, r.Line, r.Column, r.PassWithDiffPrefix, r.yaml_tag, r.Function)) IndexRenderer(output_dir, should_display_hotness, max_hottest_remarks_on_index).render(sorted_remarks) - shutil.copy(os.path.join(os.path.dirname(os.path.realpath(__file__)), - "style.css"), output_dir) + shutil.copy("/usr/share/opt-viewer/style.css", output_dir) _render_file_bound = functools.partial(_render_file, source_dir, output_dir, context, no_highlight) if should_print_progress:
