From ab6007e57c450e5b64d38ec9535f5c31a5d58a08 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 26 May 2014 15:58:39 +0200 Subject: [PATCH] package libGLEW.so on rhel --- libreoffice.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libreoffice.spec b/libreoffice.spec index 3e3c719..3e1c36e 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -299,12 +299,12 @@ Patch15: 0001-disable-PSD-import-test-which-deadlocks-on-ARM.patch %if 0%{?rhel} %if 0%{?rhel} < 7 # redland libs are already suffixed -> no need to filter them too -%global libo_bundled_libs_filter /^lib\\(clucene\\|lcms2\\|fbembed\\)\\.so.*$/d +%global libo_bundled_libs_filter /^lib\\(clucene\\|lcms2\\|fbembed\\|GLEW\\)\\.so.*$/d %filter_from_provides %{libo_bundled_libs_filter} %filter_from_requires %{libo_bundled_libs_filter} %filter_setup %else -%global libo_bundled_libs_filter ^libfbembed\\.so.*$ +%global libo_bundled_libs_filter ^lib\\(fbembed\\|GLEW\\)\\.so.*$ %global __provides_exclude %{libo_bundled_libs_filter} %global __requires_exclude %{libo_bundled_libs_filter} %endif @@ -1640,6 +1640,9 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar %{baseinstdir}/program/libfilterconfiglo.so %{baseinstdir}/program/libflatlo.so %{baseinstdir}/program/libfrmlo.so +%if 0%{?rhel} +%{baseinstdir}/program/libGLEW.so.* +%endif %{baseinstdir}/program/libguesslanglo.so %{baseinstdir}/program/libhelplinkerlo.so %{baseinstdir}/program/libhyphenlo.so