From a71d41c1d908b1b8625b033b132b168de788aec3 Mon Sep 17 00:00:00 2001 From: Milan Bouchet-Valat Date: Feb 16 2021 13:28:55 +0000 Subject: Fix libgfortran.so dependency on 64-bit --- diff --git a/julia.spec b/julia.spec index 601adff..e336d75 100644 --- a/julia.spec +++ b/julia.spec @@ -19,7 +19,7 @@ Name: julia Version: 1.6.0 -Release: 0.2.rc1%{?dist} +Release: 0.3.rc1%{?dist} Summary: High-level, high-performance dynamic language for technical computing # Julia itself is MIT, with a few LGPLv2+ and GPLv2+ files # libuv is MIT @@ -81,8 +81,13 @@ Requires: ca-certificates Requires: p7zip-plugins # Libraries used by CompilerSupportLibraries_jll # but not detected as they are dlopen()ed but not linked to +%if 0%{?__isa_bits} == 64 +Requires: libgfortran.so.5()(64bit) +Requires: libgomp.so.1()(64bit) +%else Requires: libgfortran.so.5 Requires: libgomp.so.1 +%endif # https://bugzilla.redhat.com/show_bug.cgi?id=1158026 # https://github.com/JuliaLang/julia/issues/30087 ExcludeArch: s390x ppc64le %{arm} aarch64 @@ -400,6 +405,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop exit 0 %changelog +* Tue Feb 16 2021 Milan Bouchet-Valat - 1.6.0-0.3.rc1 +- Fix libgfortran.so dependency on 64-bit. + * Mon Feb 15 2021 Milan Bouchet-Valat - 1.6.0-0.2.rc1 - Fix libgfortran.so version.