From 91bd3d66e574280d4f1f47cb4264729de0c72bbb Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 28 Jan 2012 10:06:51 +0100 Subject: [PATCH] only install these on RHEL --- libreoffice.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libreoffice.spec b/libreoffice.spec index 56a6b49..d9d86ab 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1607,7 +1607,9 @@ rm -rf $RPM_BUILD_ROOT %{baseinstdir}/share/config/wizard %dir %{baseinstdir}/share/dtd %{baseinstdir}/share/dtd/officedocument +%if %{defined rhel} && 0%{?rhel} < 7 %{baseinstdir}/share/fingerprint +%endif %{baseinstdir}/share/gallery %dir %{baseinstdir}/share/psprint %config %{baseinstdir}/share/psprint/psprint.conf @@ -1980,7 +1982,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || : %dir %{baseinstdir}/program %{baseinstdir}/program/libflashlo.so %{baseinstdir}/program/libsvgfilterlo.so +%if %{defined rhel} && 0%{?rhel} < 7 %{baseinstdir}/program/libvisioimportlo.so +%endif %{baseinstdir}/share/registry/graphicfilter.xcd %files xsltfilter