forked from pool/juliaup
This commit is contained in:
parent
b62ab00fe8
commit
3be399fc92
@ -99,7 +99,6 @@ cp %{SOURCE2} .cargo/config
|
|||||||
%install
|
%install
|
||||||
%{cargo_install}
|
%{cargo_install}
|
||||||
mkdir -p %{buildroot}/%{_sysconfdir}/update-alternatives
|
mkdir -p %{buildroot}/%{_sysconfdir}/update-alternatives
|
||||||
ln -sf %{_bindir}/julialauncher %{buildroot}/%{_sysconfdir}/update-alternatives/julia
|
|
||||||
ln -sf %{_sysconfdir}/update-alternatives/julia %{buildroot}/%{_bindir}/julia
|
ln -sf %{_sysconfdir}/update-alternatives/julia %{buildroot}/%{_bindir}/julia
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -117,12 +116,12 @@ if [ ! -f %{_bindir}/julia ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%ghost %_sysconfdir/alternatives/julia
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_bindir}/juliainstaller
|
%{_bindir}/juliainstaller
|
||||||
%{_bindir}/julialauncher
|
%{_bindir}/julialauncher
|
||||||
%{_bindir}/juliaup
|
%{_bindir}/juliaup
|
||||||
%{_bindir}/julia
|
%{_bindir}/julia
|
||||||
%ghost %_sysconfdir/alternatives/julia
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user