public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Orion Poplawski <orion@nwra.com>
To: git-commits@fedoraproject.org
Subject: [rpms/julia] epel10: Use relative symbolic links
Date: Tue, 01 Dec 2026 21:40:23 GMT	[thread overview]
Message-ID: <179616122340.1.7162300386251446214.rpms-julia-cce0a6e58693@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-12-01 21:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179616122340.1.7162300386251446214.rpms-julia-cce0a6e58693@fedoraproject.org \
    --to=orion@nwra.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox