This commit is contained in:
parent
e54d41ac2d
commit
4ceed53cc6
@ -566,18 +566,13 @@ patchelf --set-rpath "%{_libdir}/julia:%{_libdir}:%{_prefix}/lib" "%{buildroot}%
|
||||
%post
|
||||
%{_sbindir}/update-alternatives --install %{_bindir}/julia \
|
||||
julia %{_bindir}/julia-base 5
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
if [ ! -f %{_bindir}/julia-base ] ; then
|
||||
%{_sbindir}/update-alternatives --remove julia %{_bindir}/julia-base
|
||||
fi
|
||||
/sbin/ldconfig
|
||||
|
||||
%post devel -p /sbin/ldconfig
|
||||
%postun devel -p /sbin/ldconfig
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %{libname}
|
||||
|
||||
%files
|
||||
%doc CONTRIBUTING.md NEWS.md README.md
|
||||
|
Loading…
Reference in New Issue
Block a user