SHA256
1
0
forked from pool/julia

- 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
This commit is contained in:
Soc Virnyl Estela 2023-12-25 13:36:00 +00:00 committed by Git OBS Bridge
parent 01f829a0cd
commit 6e302b0a42
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Dec 25 13:32:14 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- 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 <uncomfy+openbuildservice@uncomfyhalomacro.pl>

View File

@ -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