Hello community, here is the log from the commit of package llvm10 for openSUSE:Factory checked in at 2020-11-17 21:23:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm10 (Old) and /work/SRC/openSUSE:Factory/.llvm10.new.24930 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm10" Tue Nov 17 21:23:58 2020 rev:8 rq:848704 version:10.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm10/llvm10.changes 2020-11-02 09:41:26.905670667 +0100 +++ /work/SRC/openSUSE:Factory/.llvm10.new.24930/llvm10.changes 2020-11-17 21:24:04.241305509 +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: ------------------ ++++++ llvm10.spec ++++++ --- /var/tmp/diff_new_pack.coPCVS/_old 2020-11-17 21:24:06.105307358 +0100 +++ /var/tmp/diff_new_pack.coPCVS/_new 2020-11-17 21:24:06.105307358 +0100 @@ -981,6 +981,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]
