diff --git a/libreoffice.spec b/libreoffice.spec index bd15196..4775c49 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -40,6 +40,8 @@ # generated by %%langpack definitions %global langpack_langs %{nil} +%global bundling_options %{nil} + Summary: Free Software Productivity Suite Name: libreoffice Epoch: 1 @@ -54,16 +56,21 @@ Source1: %{source_url}/libreoffice-help-%{version}%{?libo_prerelease}.tar Source2: %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}.tar.xz Source3: http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll Source4: libreoffice-multiliblauncher.sh -Source5: %{external_url}/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz -Source6: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip -Source7: %{external_url}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz -Source8: %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip -Source9: %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip +Source5: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip +Source6: %{external_url}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz +Source7: %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip +Source8: %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip + +%if 0%{?fedora} +Source9: %{external_url}/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz +%global bundling_options %{?bundling_options} --with-system-ucpp +%endif + %if 0%{?fedora} || 0%{?rhel} >= 7 #Unfortunately later versions of hsqldb changed the file format, so if we use a later version we loose #backwards compatability. Source10: %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip -%global bundling_options --without-system-hsqldb +%global bundling_options %{?bundling_options} --without-system-hsqldb %endif %if 0%{?rhel}