public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Fix pcre2 library path and use realpath -e
@ 2026-12-01 21:38 Milan Bouchet-Valat
  0 siblings, 0 replies; only message in thread
From: Milan Bouchet-Valat @ 2026-12-01 21:38 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/julia
            Branch : epel10
            Commit : 7918e603a0bb715774d2b00b07f299c325eb052e
            Author : Milan Bouchet-Valat <nalimilan@club.fr>
            Date   : 2016-03-01T23:18:19+01:00
            Stats  : +11/-11 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/julia/c/7918e603a0bb715774d2b00b07f299c325eb052e?branch=epel10

            Log:
            Fix pcre2 library path and use realpath -e

This ensures we get an error for non-existent symlinks,
as was the case with pcre2.

---
diff --git a/julia.spec b/julia.spec
index 7a622c6..1306d1b 100644
--- a/julia.spec
+++ b/julia.spec
@@ -172,19 +172,19 @@ make %commonopts DESTDIR=%{buildroot} install
 # dependencies can be detected (just as what happens with the C linker).
 # Automatic dependency detection is smart enough to add Requires as needed.
 pushd %{buildroot}%{_libdir}/julia
-    ln -s $(realpath %{_libdir}/libarpack.so) libarpack.so
-    ln -s $(realpath %{_libdir}/libcholmod.so) libcholmod.so
-    ln -s $(realpath %{_libdir}/libdSFMT.so) libdSFMT.so
-    ln -s $(realpath %{_libdir}/libgit2.so) libgit2.so
-    ln -s $(realpath %{_libdir}/libfftw3.so) libfftw3.so
-    ln -s $(realpath %{_libdir}/libgmp.so) libgmp.so
-    ln -s $(realpath %{_libdir}/libmpfr.so) libmpfr.so
+    ln -s $(realpath -e %{_libdir}/libarpack.so) libarpack.so
+    ln -s $(realpath -e %{_libdir}/libcholmod.so) libcholmod.so
+    ln -s $(realpath -e %{_libdir}/libdSFMT.so) libdSFMT.so
+    ln -s $(realpath -e %{_libdir}/libgit2.so) libgit2.so
+    ln -s $(realpath -e %{_libdir}/libfftw3.so) libfftw3.so
+    ln -s $(realpath -e %{_libdir}/libgmp.so) libgmp.so
+    ln -s $(realpath -e %{_libdir}/libmpfr.so) libmpfr.so
 %ifarch %{ix86} x86_64
-    ln -s $(realpath %{_libdir}/libopenlibm.so) libopenlibm.so
+    ln -s $(realpath -e %{_libdir}/libopenlibm.so) libopenlibm.so
 %endif
-    ln -s $(realpath %{_libdir}/libopenspecfun.so) libopenspecfun.so
-    ln -s $(realpath %{_libdir}/libpcre2.so) libpcre2.so
-    ln -s $(realpath %{_libdir}/libumfpack.so) libumfpack.so
+    ln -s $(realpath -e %{_libdir}/libopenspecfun.so) libopenspecfun.so
+    ln -s $(realpath -e %{_libdir}/libpcre2-8.so) libpcre2-8.so
+    ln -s $(realpath -e %{_libdir}/libumfpack.so) libumfpack.so
 popd
 
 cp -p CONTRIBUTING.md LICENSE.md NEWS.md README.md %{buildroot}%{_docdir}/julia/

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-01 21:38 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:38 [rpms/julia] epel10: Fix pcre2 library path and use realpath -e 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