[libreoffice] only install these on RHEL

David Tardon dtardon at fedoraproject.org
Sat Jan 28 09:08:57 UTC 2012


commit 91bd3d66e574280d4f1f47cb4264729de0c72bbb
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Jan 28 10:06:51 2012 +0100

    only install these on RHEL

 libreoffice.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
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


More information about the scm-commits mailing list