diff --git a/julia.changes b/julia.changes index 5d0d6ad..efb7519 100644 --- a/julia.changes +++ b/julia.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat May 18 00:32:29 UTC 2024 - Soc Virnyl Estela + +- 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 diff --git a/julia.spec b/julia.spec index 2b0916a..cb5ecf3 100644 --- a/julia.spec +++ b/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