public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Use relative symbolic links
@ 2026-12-01 21:40 Orion Poplawski
0 siblings, 0 replies; only message in thread
From: Orion Poplawski @ 2026-12-01 21:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/julia
Branch : epel10
Commit : cce0a6e58693344aa2929abfca936b47d34df6ab
Author : Orion Poplawski <orion@nwra.com>
Date : 2022-10-28T07:40:16-06:00
Stats : +6/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/cce0a6e58693344aa2929abfca936b47d34df6ab?branch=epel10
Log:
Use relative symbolic links
---
diff --git a/julia.spec b/julia.spec
index 84b0fdd..6dcdc95 100644
--- a/julia.spec
+++ b/julia.spec
@@ -352,8 +352,8 @@ make %{commonopts} DESTDIR=%{buildroot} install
pushd %{buildroot}%{_libdir}/julia
%if 0%{?__isa_bits} == 64
rm -f libopenblas64_.so
- ln -s %{_libdir}/libopenblasp64_.so.0 libopenblas64_.so
- ln -s %{_libdir}/libopenblasp64_.so.0 libopenblas64_.so.0
+ ln -s ../libopenblasp64_.so.0 libopenblas64_.so
+ ln -s ../libopenblasp64_.so.0 libopenblas64_.so.0
# Raise an error in case of failure
realpath -e libopenblas64_.so
realpath -e libopenblas64_.so.0
@@ -362,14 +362,14 @@ pushd %{buildroot}%{_libdir}/julia
for LIB in spqr umfpack colamd cholmod ccolamd camd amd suitesparseconfig btf klu ldl rbio
do
rm -f lib${LIB}.so
- ln -s %{_libdir}/$(readelf -d %{_libdir}/lib${LIB}64_.so | sed -n '/SONAME/s/.*\(lib[^ ]*\.so\.[0-9]*\).*/\1/p') lib${LIB}.so
+ ln -s ../$(readelf -d %{_libdir}/lib${LIB}64_.so | sed -n '/SONAME/s/.*\(lib[^ ]*\.so\.[0-9]*\).*/\1/p') lib${LIB}.so
# Raise an error in case of failure
realpath -e lib${LIB}.so
done
%else
rm -f libopenblas.so
- ln -s %{_libdir}/libopenblasp.so.0 libopenblas.so
- ln -s %{_libdir}/libopenblasp.so.0 libopenblas.so.0
+ ln -s ../libopenblasp.so.0 libopenblas.so
+ ln -s ../libopenblasp.so.0 libopenblas.so.0
# Raise an error in case of failure
realpath -e libopenblas.so
realpath -e libopenblas.so.0
@@ -387,7 +387,7 @@ pushd %{buildroot}%{_libdir}/julia
# Needed when USE_SYSTEM_CSL=1
# https://github.com/JuliaLang/julia/issues/39637
- ln -sf %{_libdir}/libgcc_s.so.1 libgcc_s.so.1
+ ln -sf ../libgcc_s.so.1 libgcc_s.so.1
# Raise an error in case of failure
realpath -e libgcc_s.so.1
popd
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 21:40 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:40 [rpms/julia] epel10: Use relative symbolic links Orion Poplawski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox