public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Include libjulia.so symlink in private Julia libdir
@ 2026-12-01 21:39 Milan Bouchet-Valat
0 siblings, 0 replies; only message in thread
From: Milan Bouchet-Valat @ 2026-12-01 21:39 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/julia
Branch : epel10
Commit : 39f6731c65067bcbc2795e1752d48bd98ac0b04a
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date : 2019-11-06T22:41:55+01:00
Stats : +14/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/39f6731c65067bcbc2795e1752d48bd98ac0b04a?branch=epel10
Log:
Include libjulia.so symlink in private Julia libdir
---
diff --git a/julia.spec b/julia.spec
index 5634f9d..4e106bc 100644
--- a/julia.spec
+++ b/julia.spec
@@ -16,7 +16,7 @@
Name: julia
Version: 1.2.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: High-level, high-performance dynamic language for technical computing
# Julia itself is MIT, with a few LGPLv2+ and GPLv2+ files
# libuv is MIT
@@ -241,6 +241,7 @@ pushd %{julia_builddir}%{_libdir}/julia
realpath -e libopenblas.so.0
%endif
popd
+
%check
# Disable tests known to fail currently
@@ -273,6 +274,14 @@ pushd %{buildroot}%{_prefix}/share/man/man1/
ln -s julia.1.gz julia-debug.1.gz
popd
+pushd %{buildroot}%{_libdir}/julia
+ # Some Julia packages rely on being able to use libjulia, but we only
+ # ship %%{_libdir}/libjulia.so in the -devel package
+ ln -s ../libjulia.so.1 libjulia.so
+ # Raise an error in case of failure
+ realpath -e libjulia.so
+popd
+
# Install .desktop file and icons
mkdir -p %{buildroot}%{_datarootdir}/icons/hicolor/scalable/apps/
mkdir -p %{buildroot}%{_datarootdir}/icons/hicolor/16x16/apps/
@@ -344,6 +353,10 @@ rm %{buildroot}%{_datarootdir}/icons/hicolor/icon-theme.cache
exit 0
%changelog
+* Tue Nov 5 2019 Milan Bouchet-Valat <nalimilan@club.fr> - 1.2.0-5
+- Include libjulia.so symlink in private Julia libdir so that packages
+ can call into libjulia even when julia-devel is not installed (fixes rhbz#1764797).
+
* Mon Oct 21 2019 Milan Bouchet-Valat <nalimilan@club.fr> - 1.2.0-4
- Unbundle SuiteSparse, mpfr and libunwind.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 21:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 21:39 [rpms/julia] epel10: Include libjulia.so symlink in private Julia libdir Milan Bouchet-Valat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox