- Use binjulialauncher feature.

- Add /etc/alternatives/julia to ghost files.

OBS-URL: https://build.opensuse.org/package/show/science/juliaup?expand=0&rev=87
This commit is contained in:
Soc Virnyl Estela 2023-12-12 19:38:16 +00:00 committed by Git OBS Bridge
parent c885d5b207
commit 792dae2f70
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 12 19:37:00 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- Use binjulialauncher feature.
- Add /etc/alternatives/julia to ghost files.
-------------------------------------------------------------------
Sun Dec 10 13:20:59 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>

View File

@ -49,13 +49,11 @@ release channel abstraction.
%autosetup -a1 -p1
%build
%{cargo_build} --no-default-features
%{cargo_build} --no-default-features -F binjulialauncher
%install
%{cargo_install} --no-default-features
%{cargo_install} --no-default-features -F binjulialauncher
# We are doing alternatives so we move julia as julialauncher
mv %{buildroot}%{_bindir}/julia %{buildroot}%{_bindir}/julialauncher
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
ln -sf %{_sysconfdir}/alternatives/julia %{buildroot}%{_bindir}/julia
@ -74,5 +72,6 @@ fi
%{_bindir}/juliaup
%{_bindir}/julialauncher
%ghost %{_bindir}/julia
%ghost %{_sysconfdir}/alternatives/julia
%changelog