]> git.pld-linux.org Git - packages/libreoffice.git/commitdiff
- use serializer.jar from new xerces-j if available; fallback to xalan.jar
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 5 Mar 2007 08:08:37 +0000 (08:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libreoffice.spec -> 1.711

libreoffice.spec

index b67c6c421ef871986c244453f6e00bfe05313672..421c20e5d4ef4dbe85421c581757e89018ce4375 100644 (file)
@@ -2113,7 +2113,10 @@ CONFOPTS="\
        %{?with_system_libhnj:--with-system-altlinuxhyphen} \
        %{?with_system_mdbtools:--with-system-mdbtools} \
        %{?with_system_myspell:--with-system-myspell} \
-       %{?with_system_xalan:--with-system-xalan --with-serializer-jar=%{_javadir}/xalan.jar} \
+%if %{with system_xalan}
+       --with-system-xalan \
+       `[ -e "%{_javadir}/serializer.jar" ] && echo "--with-serializer-jar=%{_javadir}/serializer.jar" || echo "--with-serializer-jar=%{_javadir}/xalan.jar"`
+%endif
        %{?with_system_xerces:--with-system-xerces} \
        %{?with_system_xml_apis:--with-system-xml-apis} \
        %{?with_system_xt:--with-system-xt --with-xt-jar=%{_javadir}/classes} \
This page took 0.042221 seconds and 4 git commands to generate.