Hello community, here is the log from the commit of package llvm9 for openSUSE:Factory checked in at 2020-11-24 22:11:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm9 (Old) and /work/SRC/openSUSE:Factory/.llvm9.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm9" Tue Nov 24 22:11:58 2020 rev:18 rq:849510 version:9.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm9/llvm9.changes 2020-09-30 19:54:44.440803445 +0200 +++ /work/SRC/openSUSE:Factory/.llvm9.new.5913/llvm9.changes 2020-11-24 22:12:45.695511232 +0100 @@ -1,0 +2,7 @@ +Sat Nov 14 22:09:41 UTC 2020 - Aaron Puchert <[email protected]> + +- Let CMake files in {llvm,clang}X-devel refer to the versioned + binaries that come with the package instead of the symlink + managed by update-alternatives. (boo#1178513) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm9.spec ++++++ --- /var/tmp/diff_new_pack.D32Z57/_old 2020-11-24 22:12:47.659513052 +0100 +++ /var/tmp/diff_new_pack.D32Z57/_new 2020-11-24 22:12:47.663513055 +0100 @@ -999,6 +999,13 @@ ln -s -f %{_sysconfdir}/alternatives/$p.1%{ext_man} %{buildroot}%{_mandir}/man1/$p.1%{ext_man} done +# Also rewrite the CMake files referring to the binaries. +sed -i "$( + for p in "${binfiles[@]}"; do + echo "s|\"\${_IMPORT_PREFIX}/bin/$p\"|\"\${_IMPORT_PREFIX}/bin/$p-%{_relver}\"|g" + done +)" %{buildroot}%{_libdir}/cmake/{llvm/LLVMExports,clang/ClangTargets}-relwithdebinfo.cmake + # rpm macro for version checking mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/ cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.llvm <<EOF _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
