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>
|
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}
|
Requires: julia-devel = %{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires(post): %{_sbindir}/update-alternatives
|
Requires(post): /sbin/update-alternatives
|
||||||
Requires(post): %{_sbindir}/ldconfig
|
Requires(post): /sbin/ldconfig
|
||||||
Requires(postun): %{_sbindir}/update-alternatives
|
Requires(postun): /sbin/update-alternatives
|
||||||
Requires(postun): %{_sbindir}/ldconfig
|
Requires(postun): /sbin/ldconfig
|
||||||
|
|
||||||
Recommends: curl
|
Recommends: curl
|
||||||
Recommends: git
|
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"
|
patchelf --set-rpath "%{_libdir}/julia:%{_libdir}:%{_prefix}/lib" "%{buildroot}%{_libdir}/julia/libmpfr.so"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{_sbindir}/update-alternatives --install %{_bindir}/julia \
|
/sbin/update-alternatives --install %{_bindir}/julia \
|
||||||
julia %{_bindir}/julia-base 5
|
julia %{_bindir}/julia-base 5
|
||||||
%{_sbindir}/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ ! -f %{_bindir}/julia-base ] ; then
|
if [ ! -f %{_bindir}/julia-base ] ; then
|
||||||
%{_sbindir}/update-alternatives --remove julia %{_bindir}/julia-base
|
/sbin/update-alternatives --remove julia %{_bindir}/julia-base
|
||||||
fi
|
fi
|
||||||
%{_sbindir}/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%post devel -p %{_sbindir}/ldconfig
|
%post devel -p /sbin/ldconfig
|
||||||
%postun devel -p %{_sbindir}/ldconfig
|
%postun devel -p /sbin/ldconfig
|
||||||
%post -n %{libname} -p %{_sbindir}/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
%postun -n %{libname} -p %{_sbindir}/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc CONTRIBUTING.md NEWS.md README.md
|
%doc CONTRIBUTING.md NEWS.md README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user