]> git.pld-linux.org Git - packages/libreoffice.git/blobdiff - libreoffice.spec
adjust jvm path to libreoffice expectations
[packages/libreoffice.git] / libreoffice.spec
index 8ba5fbcd610abc78cc0327fd71153f2777c94f11..694a3a38c0dc126a66e698b4fd12a53db217182e 100644 (file)
@@ -333,6 +333,8 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _noautostrip    .*%{_datadir}/.*
 %define                _noautochrpath  .*%{_datadir}/.*
 
+%define                _noautoreq_java ClassDataVersion
+
 %description
 LibreOffice is an open-source project sponsored by Sun Microsystems
 and hosted by CollabNet. In October of 2000, Sun released the source
@@ -808,6 +810,9 @@ wymagane jest bardziej złożone, nieliniowe programowanie.
 Summary:       UNO Runtime Environment
 Summary(pl.UTF-8):     Środowisko uruchomieniowe UNO
 Group:         Libraries
+%if %{with java}
+%{?use_jdk:Suggests:   jre(%use_jdk)}
+%endif
 Obsoletes:     openoffice.org-ure < 1:4
 
 %description ure
@@ -3079,6 +3084,7 @@ export PATH=$PATH:%{_libdir}/interbase/bin
        --with-ant-home=$ANT_HOME \
        --with-java \
        --with-jdk-home=$JAVA_HOME \
+       --with-jvm-path=%{_libdir}/ \
 %else
        --without-java
 %endif
This page took 0.061302 seconds and 4 git commands to generate.