public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Also bundle mbedTLS
@ 2026-12-01 21:40 Milan Bouchet-Valat
0 siblings, 0 replies; only message in thread
From: Milan Bouchet-Valat @ 2026-12-01 21:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/julia
Branch : epel10
Commit : 16d6a72ae5020fac34abe47f6cee78e3a2d2994e
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date : 2024-06-06T22:23:24+02:00
Stats : +10/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/16d6a72ae5020fac34abe47f6cee78e3a2d2994e?branch=epel10
Log:
Also bundle mbedTLS
---
diff --git a/julia.spec b/julia.spec
index 661ea9f..4ff7929 100644
--- a/julia.spec
+++ b/julia.spec
@@ -23,6 +23,8 @@
%global gmpversion 6.3.0
+%global mbedtlsversion 2.28.6
+
%global juliasyntaxcommit 4f1731d6ce7c2465fc21ea245110b7a39f34658a
%global juliasyntaxhighlightingcommit 4110caaf4fcdf0c614fd3ecd7c5bf589ca82ac63
@@ -60,6 +62,7 @@ Source9: https://api.github.com/repos/intel/ittapi/tarball/%{ittapicommit
Source10: https://api.github.com/repos/JuliaLang/JuliaSyntaxHighlighting.jl/tarball/%{juliasyntaxhighlightingcommit}#/JuliaSyntaxHiglighting-%{juliasyntaxhighlightingcommit}.tar.gz
Source11: https://curl.se/download/curl-%{curlversion}.tar.bz2
Source12: https://api.github.com/repos/libssh2/libssh2/tarball/%{libssh2commit}#/libssh2-%{libssh2commit}.tar.gz
+Source13: https://github.com/Mbed-TLS/mbedtls/archive/v%{mbedtlsversion}.tar.gz#/mbedtls-%{mbedtlsversion}.tar.gz
# https://github.com/JuliaLang/julia/pull/54143
Patch0: julia-Fix-make-install-from-tarballs.patch
# https://github.com/JuliaLang/julia/pull/54367
@@ -73,8 +76,10 @@ Provides: bundled(ittapi) = %{ittapiversion}
Provides: bundled(gmp) = %{gmpversion}
# Fedora libssh2 and libcurl link to a recent OpenSSL, which creates conflicts
# with packages that load the LTS version and expect Julia not to link to another one
+# mbedTLS needs to be bundled too when bundling these two libraries
Provides: bundled(libssh2) = %{libssh2version}
Provides: bundled(libcurl) = %{curlversion}
+Provides: bundled(mbedtls) = %{mbedtlsversion}
BuildRequires: ca-certificates
BuildRequires: desktop-file-utils
BuildRequires: dSFMT-devel
@@ -203,6 +208,7 @@ pushd deps/srccache
cp -p %SOURCE10 .
cp -p %SOURCE11 .
cp -p %SOURCE12 .
+ cp -p %SOURCE13 .
popd
cp -p %SOURCE6 contrib/julia.svg
@@ -260,7 +266,7 @@ cp -p %SOURCE6 contrib/julia.svg
%endif
# About build, build_libdir and build_bindir, see https://github.com/JuliaLang/julia/issues/5063#issuecomment-32628111
-%global commonopts USE_SYSTEM_LLVM=0 USE_SYSTEM_LIBUNWIND=0 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_GMP=0 USE_SYSTEM_MPFR=1 USE_SYSTEM_LIBSUITESPARSE=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_LIBUV=0 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_LIBSSH2=0 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_CURL=0 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_LIBM=0 USE_SYSTEM_OPENLIBM=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_NGHTTP2=1 USE_SYSTEM_CSL=1 USE_SYSTEM_LIBBLASTRAMPOLINE=0 USE_SYSTEM_LIBWHICH=0 USE_BINARYBUILDER=0 USE_BINARYBUILDER_LLVM=0 BUNDLE_DEBUG_LIBS=0 JULIA_SPLITDEBUG=1 TAGGED_RELEASE_BANNER="Fedora %{fedora} build" VERBOSE=1 %{march} %{cpu_target} %{blas} %{suitesparse_lib} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{_builddir}/%{buildsubdir}/build%{_prefix} build_libdir=%{_builddir}/%{buildsubdir}/build%{_libdir} JULIA_CPU_THREADS=$(echo %{?_smp_mflags} | sed s/-j//)
+%global commonopts USE_SYSTEM_LLVM=0 USE_SYSTEM_LIBUNWIND=0 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_GMP=0 USE_SYSTEM_MPFR=1 USE_SYSTEM_LIBSUITESPARSE=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_LIBUV=0 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_LIBSSH2=0 USE_SYSTEM_MBEDTLS=0 USE_SYSTEM_CURL=0 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_LIBM=0 USE_SYSTEM_OPENLIBM=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_NGHTTP2=1 USE_SYSTEM_CSL=1 USE_SYSTEM_LIBBLASTRAMPOLINE=0 USE_SYSTEM_LIBWHICH=0 USE_BINARYBUILDER=0 USE_BINARYBUILDER_LLVM=0 BUNDLE_DEBUG_LIBS=0 JULIA_SPLITDEBUG=1 TAGGED_RELEASE_BANNER="Fedora %{fedora} build" VERBOSE=1 %{march} %{cpu_target} %{blas} %{suitesparse_lib} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{_builddir}/%{buildsubdir}/build%{_prefix} build_libdir=%{_builddir}/%{buildsubdir}/build%{_libdir} JULIA_CPU_THREADS=$(echo %{?_smp_mflags} | sed s/-j//)
%build
@@ -519,6 +525,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
exit 0
%changelog
+* Tue Jun 6 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.8-beta1
+- Again really fix error when using CURL with OpenSSL_jll.
+
* Sun May 5 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.7-beta1
- Really fix error when using CURL with OpenSSL_jll.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 21:40 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:40 [rpms/julia] epel10: Also bundle mbedTLS 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