SHA256
1
0
forked from pool/juliaup

Accepting request 1132768 from science

- Use binjulialauncher feature.
- Add /etc/alternatives/julia to ghost files.

OBS-URL: https://build.opensuse.org/request/show/1132768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/juliaup?expand=0&rev=14
This commit is contained in:
Ana Guerrero 2023-12-13 17:35:19 +00:00 committed by Git OBS Bridge
commit 0b2a26c43f
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