diff --git a/juliaup.changes b/juliaup.changes index 282b7e9..39a9f92 100644 --- a/juliaup.changes +++ b/juliaup.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 21 06:19:39 UTC 2022 - Soc Virnyl Estela + +- disabled alternatives. need to modify the actual julia + package and contact package maintainer + ------------------------------------------------------------------- Thu Jul 21 05:53:04 UTC 2022 - Soc Virnyl Estela diff --git a/juliaup.spec b/juliaup.spec index 09c35b7..6691e67 100644 --- a/juliaup.spec +++ b/juliaup.spec @@ -78,8 +78,6 @@ Source2: cargo_config BuildRequires: cargo-packaging Obsoletes: julia < %{oldest_supported_julia_version} %provides_julia_versioned julia -Requires(post): update-alternatives -Requires(postun):update-alternatives %description A cross-platform installer for the Julia programming language. @@ -99,34 +97,14 @@ cp %{SOURCE2} .cargo/config %install %{cargo_install} -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -ln -sf %{_sysconfdir}/alternatives/julia %{buildroot}%{_bindir}/julia - -%post -update-alternatives --install \ - %{_bindir}/julia julia %{_bindir}/julialauncher 15 - -%post -n julia -update-alternatives --install \ - %{_bindir}/julia julia %{_bindir}/julialauncher 20 - -%postun -if [ ! -f %{_bindir}/julialauncher ] ; then - update-alternatives --remove julia %{_bindir}/julialauncher -fi - -%postun -n julia -if [ ! -f %{_bindir}/julia ] ; then - update-alternatives --remove julia %{_bindir}/julia -fi +ln -sf %{_bindir}/julialauncher %{buildroot}%{_bindir}/julia %files %license LICENSE %doc README.md -%{_bindir}/julia %{_bindir}/juliainstaller %{_bindir}/julialauncher %{_bindir}/juliaup -%ghost %_sysconfdir/alternatives/julia +%{_bindir}/julia %changelog