diff --git a/julia.spec b/julia.spec index 0074f0b..e637ef2 100644 --- a/julia.spec +++ b/julia.spec @@ -445,7 +445,8 @@ mv %{buildroot}%{_bindir}/julia %{buildroot}%{_bindir}/julia-base mkdir -p %{buildroot}%{_sysconfdir}/alternatives if [ "x%{_lib}" != xlib ] ; then - ln -sf %{buildroot}%{_libdir}/julia %{_prefix}/lib/julia + mkdir -p %{buildroot}%{_prefix}/lib + ln -sf %{buildroot}%{_libdir}/julia %{buildroot}%{_prefix}/lib/julia fi ln -sf %{_sysconfdir}/alternatives/julia %{buildroot}%{_bindir}/julia @@ -485,6 +486,7 @@ fi %{_docdir}/julia/* %endif %{_datadir}/applications/julia.desktop +%{_prefix}/lib/julia/ %{_libdir}/julia/ %{_libdir}/libjulia.so.%{libjulia_sover_major}.%{libjulia_sover_minor} %{_mandir}/man1/julia.1%{?ext_man}