From dff0d597bd31a287e4671b1bc39e20aaf27d42c70144823410906fed1b058c1f Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Thu, 24 Nov 2022 14:26:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/science/juliaup?expand=0&rev=54 --- juliaup.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/juliaup.spec b/juliaup.spec index 76d4135..1e9e769 100644 --- a/juliaup.spec +++ b/juliaup.spec @@ -17,6 +17,7 @@ %global oldest_supported_julia_version 0.7.0 +%global latest_julia_version 1.8.3 %global rustflags -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2 # Based on the latest stable release in the https://julialang.org/ website @@ -129,7 +130,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/alternatives %post "%_sbindir/update-alternatives" --install \ - "%{_bindir}/julia" julia "%{_bindir}/julialauncher" 15 + "%{_bindir}/julia" julia "%{_bindir}/julialauncher" $(printf %{latest_julia_version} | sed 's/\.//g') %pre if [ "$1" -gt 0 ] && [ -f %{_sbindir}/update-alternatives ] ; then @@ -154,6 +155,5 @@ ln -sf %{_bindir}/julia %{buildroot}%{_bindir}/julialauncher %{_bindir}/juliainstaller %{_bindir}/julialauncher %{_bindir}/juliaup -%{_bindir}/julia %changelog