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: Fix symlink tests
Date: Tue, 01 Dec 2026 21:40:24 GMT [thread overview]
Message-ID: <179616122417.1.10235804043700119740.rpms-julia-1e08f79bba6a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/julia
Branch : epel10
Commit : 1e08f79bba6af97f13a0e3044bea92a63f7097f2
Author : Orion Poplawski <orion@nwra.com>
Date : 2022-10-29T08:11:21-06:00
Stats : +10/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/1e08f79bba6af97f13a0e3044bea92a63f7097f2?branch=epel10
Log:
Fix symlink tests
---
diff --git a/julia.spec b/julia.spec
index 6dcdc95..252a8ae 100644
--- a/julia.spec
+++ b/julia.spec
@@ -354,25 +354,25 @@ pushd %{buildroot}%{_libdir}/julia
rm -f libopenblas64_.so
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
+ # Raise an error in case of changing files
+ test -e %{_libdir}/libopenblas64_.so
+ test -e %{_libdir}/libopenblas64_.so.0
# Julia creates symlinks to SuiteSparse libraries linking to libopenblas rather than libopenblas64_
for LIB in spqr umfpack colamd cholmod ccolamd camd amd suitesparseconfig btf klu ldl rbio
do
rm -f 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
+ # Raise an error in case of changing files
+ test -e %{_libdir}/lib${LIB}.so
done
%else
rm -f libopenblas.so
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
+ # Raise an error in case of changing files
+ test -e %{_libdir}/libopenblas.so
+ test -e %{_libdir}/libopenblas.so.0
%endif
popd
@@ -388,8 +388,8 @@ pushd %{buildroot}%{_libdir}/julia
# Needed when USE_SYSTEM_CSL=1
# https://github.com/JuliaLang/julia/issues/39637
ln -sf ../libgcc_s.so.1 libgcc_s.so.1
- # Raise an error in case of failure
- realpath -e libgcc_s.so.1
+ # Raise an error in case of changing files
+ test -e %{_libdir}/libgcc_s.so.1
popd
# Use CA certificates from ca-certificates
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=179616122417.1.10235804043700119740.rpms-julia-1e08f79bba6a@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