public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Bouchet-Valat <nalimilan@club.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/julia] epel10: Fix missing symlinks to libarpack, libpcre, libgmp and libmpfr
Date: Tue, 01 Dec 2026 21:37:48 GMT [thread overview]
Message-ID: <179616106852.1.2985718071332719678.rpms-julia-132851a8aad5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/julia
Branch : epel10
Commit : 132851a8aad5e9d1ef62e7fe8152accbdfea90d7
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date : 2014-10-12T15:42:52+02:00
Stats : +21/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/132851a8aad5e9d1ef62e7fe8152accbdfea90d7?branch=epel10
Log:
Fix missing symlinks to libarpack, libpcre, libgmp and libmpfr
They could prevent Julia from working correcly if the -devel packages
were missing. Fix invalid hard-coded reference to /usr/lib64.
---
diff --git a/julia.spec b/julia.spec
index e615af6..68a5958 100644
--- a/julia.spec
+++ b/julia.spec
@@ -8,7 +8,7 @@
Name: julia
Version: 0.3.1
-Release: 2%{dist}
+Release: 3%{dist}
Summary: High-level, high-performance dynamic language for technical computing
Group: Development/Languages
# Julia itself is MIT, with a few LGPLv2+ and GPLv2+ files
@@ -32,12 +32,12 @@ BuildRequires: fftw-devel >= 3.3.2
BuildRequires: gcc-gfortran
# Needed to test package installation
BuildRequires: git
-BuildRequires: gmp-devel
+BuildRequires: gmp-devel >= 5.0
BuildRequires: ImageMagick
BuildRequires: libunwind-devel
BuildRequires: llvm-devel
BuildRequires: llvm-static
-BuildRequires: mpfr-devel
+BuildRequires: mpfr-devel >= 3.0
BuildRequires: openblas-devel
BuildRequires: openlibm-devel >= 0.4
BuildRequires: openspecfun-devel >= 0.4
@@ -58,9 +58,9 @@ Requires: dSFMT
Requires: fftw >= 3.3.2
# Needed for package installation
Requires: git
-Requires: gmp
+Requires: gmp >= 5.0
Requires: julia-common = %{version}-%{release}
-Requires: mpfr
+Requires: mpfr >= 3.0
Requires: openblas-threads
Requires: openlibm >= 0.4
Requires: openspecfun >= 0.4
@@ -272,18 +272,26 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
/sbin/ldconfig
# Julia currently needs the unversioned .so files:
# https://github.com/JuliaLang/julia/issues/6742
-ln -sf /usr/lib64/libdSFMT.so.2 %{_libdir}/julia/libdSFMT.so
-ln -sf /usr/lib64/libopenlibm.so.1 %{_libdir}/julia/libopenlibm.so
-ln -sf /usr/lib64/libopenspecfun.so.1 %{_libdir}/julia/libopenspecfun.so
+ln -sf %{_libdir}/libarpack.so.2 %{_libdir}/julia/libarpack.so
+ln -sf %{_libdir}/libdSFMT.so.2 %{_libdir}/julia/libdSFMT.so
+ln -sf %{_libdir}/libgmp.so.10 %{_libdir}/julia/libgmp.so
+ln -sf %{_libdir}/libmpfr.so.4 %{_libdir}/julia/libmpfr.so
+ln -sf %{_libdir}/libopenlibm.so.1 %{_libdir}/julia/libopenlibm.so
+ln -sf %{_libdir}/libopenspecfun.so.1 %{_libdir}/julia/libopenspecfun.so
+ln -sf %{_libdir}/libpcre.so.1 %{_libdir}/julia/libpcre.so
/bin/touch --no-create %{_datarootdir}/icons/hicolor &>/dev/null || :
exit 0
%postun
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
+ rm -f %{_libdir}/julia/libarpack.so
rm -f %{_libdir}/julia/libdSFMT.so
+ rm -f %{_libdir}/julia/libgmp.so
+ rm -f %{_libdir}/julia/libmpfr.so
rm -f %{_libdir}/julia/libopenlibm.so
rm -f %{_libdir}/julia/libopenspecfun.so
+ rm -f %{_libdir}/julia/libpcre.so
/bin/touch --no-create %{_datarootdir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datarootdir}/icons/hicolor &>/dev/null || :
fi
@@ -293,6 +301,11 @@ exit 0
/usr/bin/gtk-update-icon-cache %{_datarootdir}/icons/hicolor &>/dev/null || :
%changelog
+* Sun Oct 12 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.3.1-3
+- Fix missing symlinks to libarpack, libpcre, libgmp and libmpfr, which could
+ prevent Julia from working correcly if the -devel packages were missing.
+- Fix invalid hard-coded reference to /usr/lib64.
+
* Fri Sep 26 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.3.1-2
- Add git to dependencies, as it is needed to install packages.
reply other threads:[~2026-12-01 21:37 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=179616106852.1.2985718071332719678.rpms-julia-132851a8aad5@fedoraproject.org \
--to=nalimilan@club.fr \
--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