From 3b946d4b0a4b6cfe61c80714014401e772be205293e93c39ff5e22242458dbbb Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 11 Dec 2023 14:04:08 +0000 Subject: [PATCH] - Fix bundled openblas not copied over to custom build directory OBS-URL: https://build.opensuse.org/package/show/science/julia?expand=0&rev=126 --- julia.changes | 5 +++++ julia.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/julia.changes b/julia.changes index a1f5a80..f834c5d 100644 --- a/julia.changes +++ b/julia.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 11 14:02:22 UTC 2023 - Soc Virnyl Estela + +- Fix bundled openblas not copied over to custom build directory + ------------------------------------------------------------------- Mon Dec 11 06:45:55 UTC 2023 - Soc Virnyl Estela diff --git a/julia.spec b/julia.spec index a0195eb..98c2853 100644 --- a/julia.spec +++ b/julia.spec @@ -321,6 +321,12 @@ if [ "x%{_lib}" != xlib ] ; then cp -a %{_builddir}/%{buildsubdir}/build/usr/lib/* %{_builddir}/%{buildsubdir}/build/%{_libdir} rm -rf %{_builddir}/%{buildsubdir}/build/usr/lib/ ln -sf %{_lib} %{_builddir}/%{buildsubdir}/build/usr/lib + # make -C deps install-somepackage goes to top-level folder + cp -a %{_builddir}/%{buildsubdir/usr/lib/* %{_builddir/%{buildsubdir/build/%{_libdir} +else + # Since it's not there so we also just copy it anyway + cp -a %{_builddir}/%{buildsubdir/usr/lib/* %{_builddir/%{buildsubdir/build/%{_libdir} + rm -rf %{_builddir/%{buildsubdir}/usr/lib/ fi %check