forked from pool/julia
- Inconsistencies on where sbinaries are located in openSUSE Leap and Tumbleweed
has caused leap rpm generation to fail after all the builds done successfully. OBS-URL: https://build.opensuse.org/package/show/science/julia?expand=0&rev=187
This commit is contained in:
parent
f24e77d885
commit
a84591d305
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 18 00:32:29 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
- Inconsistencies on where sbinaries are located in openSUSE Leap and Tumbleweed
|
||||
has caused leap rpm generation to fail after all the builds done successfully.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 17 07:31:28 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
|
24
julia.spec
24
julia.spec
@ -224,10 +224,10 @@ Requires: julia-compat-devel = %{version}
|
||||
Requires: julia-devel = %{version}
|
||||
%endif
|
||||
|
||||
Requires(post): %{_sbindir}/update-alternatives
|
||||
Requires(post): %{_sbindir}/ldconfig
|
||||
Requires(postun): %{_sbindir}/update-alternatives
|
||||
Requires(postun): %{_sbindir}/ldconfig
|
||||
Requires(post): /sbin/update-alternatives
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/update-alternatives
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
Recommends: curl
|
||||
Recommends: git
|
||||
@ -540,20 +540,20 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
patchelf --set-rpath "%{_libdir}/julia:%{_libdir}:%{_prefix}/lib" "%{buildroot}%{_libdir}/julia/libmpfr.so"
|
||||
|
||||
%post
|
||||
%{_sbindir}/update-alternatives --install %{_bindir}/julia \
|
||||
/sbin/update-alternatives --install %{_bindir}/julia \
|
||||
julia %{_bindir}/julia-base 5
|
||||
%{_sbindir}/ldconfig
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
if [ ! -f %{_bindir}/julia-base ] ; then
|
||||
%{_sbindir}/update-alternatives --remove julia %{_bindir}/julia-base
|
||||
/sbin/update-alternatives --remove julia %{_bindir}/julia-base
|
||||
fi
|
||||
%{_sbindir}/ldconfig
|
||||
/sbin/ldconfig
|
||||
|
||||
%post devel -p %{_sbindir}/ldconfig
|
||||
%postun devel -p %{_sbindir}/ldconfig
|
||||
%post -n %{libname} -p %{_sbindir}/ldconfig
|
||||
%postun -n %{libname} -p %{_sbindir}/ldconfig
|
||||
%post devel -p /sbin/ldconfig
|
||||
%postun devel -p /sbin/ldconfig
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc CONTRIBUTING.md NEWS.md README.md
|
||||
|
Loading…
Reference in New Issue
Block a user