diff --git a/libreoffice.spec b/libreoffice.spec index 3662e40..26cd9c4 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -46,7 +46,7 @@ Version: 4.4.7 %if "%{beta}" != "" Release: 0.%{beta}.1 %else -Release: 1 +Release: 2 %endif License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic Group: Office @@ -3466,7 +3466,7 @@ mkdir -p %{buildroot}/%{py3_platsitedir} pushd %{buildroot}/%{py3_platsitedir} echo "import sys, os" > uno.py echo "sys.path.append('%{ooodir}/program')" >> uno.py -echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:%{baseinstdir}/program/fundamentalrc')" >> uno.py +echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:%{_libdir}/%{name}/program/fundamentalrc')" >> uno.py cat %{buildroot}%{ooodir}/program/uno.py >> uno.py rm -f %{buildroot}%{ooodir}/program/uno.py* mv -f %{buildroot}%{ooodir}/program/unohelper.py* .