]> git.pld-linux.org Git - packages/libreoffice.git/blobdiff - libreoffice.spec
adjust jvm path to libreoffice expectations
[packages/libreoffice.git] / libreoffice.spec
index 20f53e6293ddf5ffa51eae668a473a0d38ac737f..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
@@ -3094,7 +3100,6 @@ export ARCH_FLAGS_OPT="$SAFE_CFLAGS"
 export LC_ALL=C.UTF-8
 
 %{__make} -j1 verbose=true build
-#-nocheck
 
 %if %{with tests}
 %{__make} -j1 verbose=true check
This page took 0.037181 seconds and 4 git commands to generate.