From 6e302b0a42f86f592aa3939ebe2584854c2f7fc5bee6295337bc6e2697abc788 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 25 Dec 2023 13:36:00 +0000 Subject: [PATCH] - Update specfile: * symlink libLLVM-14jl.so to standard LD_LIBRARY_PATH * new Recommends: - libcurl-devel for new recommends - openssh-clients for ssh operations - curl for any curl operation OBS-URL: https://build.opensuse.org/package/show/science/julia?expand=0&rev=166 --- julia.changes | 10 ++++++++++ julia.spec | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/julia.changes b/julia.changes index 7a2f426..160bab3 100644 --- a/julia.changes +++ b/julia.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Dec 25 13:32:14 UTC 2023 - Soc Virnyl Estela + +- Update specfile: + * symlink libLLVM-14jl.so to standard LD_LIBRARY_PATH + * new Recommends: + - libcurl-devel for new recommends + - openssh-clients for ssh operations + - curl for any curl operation + ------------------------------------------------------------------- Mon Dec 25 09:25:09 UTC 2023 - Soc Virnyl Estela diff --git a/julia.spec b/julia.spec index 662509d..e42be8d 100644 --- a/julia.spec +++ b/julia.spec @@ -150,13 +150,18 @@ Requires(post): %{_sbindir}/update-alternatives Requires(post): %{_sbindir}/ldconfig Requires(postun):%{_sbindir}/update-alternatives Requires(postun):%{_sbindir}/ldconfig + Recommends: arpack-ng-devel +Recommends: curl Recommends: git Recommends: gmp-devel +Recommends: libcurl-devel Recommends: mpfr-devel Recommends: openspecfun-devel +Recommends: openssh-clients Recommends: pcre2-devel Recommends: suitesparse-devel + %if 0%{?compat_mode} == 0 Name: julia %else @@ -476,6 +481,11 @@ fi ln -sf %{_sysconfdir}/alternatives/julia %{buildroot}%{_bindir}/julia +# Julia has a custom compiled LLVM sofile with a good name. We need +# it to be discoverable in LD_LIBRARY_PATHs +# so it can be dlopened for libLLVM_jll +ln -sf %{_libdir}/libLLVM-14jl.so %{buildroot}%{_libdir}/julia/libLLVM-14jl.so + # Convert all eol encodings to Unix find %{buildroot} -type f -execdir dos2unix -k {} \; @@ -526,6 +536,7 @@ fi %{_prefix}/lib/julia %{_libdir}/julia/ %{_mandir}/man1/julia.1%{?ext_man} +%{_libdir}/libLLVM-14jl.so %dir %{_sysconfdir}/julia/ %config(noreplace) %{_sysconfdir}/julia/startup.jl