[libreoffice] remove if we do not build with kde support

David Tardon dtardon at fedoraproject.org
Sat Jan 14 12:25:33 UTC 2012


commit 1ee7b16e88f9e2ef1449683d28dd09ed63e1bce0
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Jan 14 13:24:39 2012 +0100

    remove if we do not build with kde support

 libreoffice.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index 7c460ae..71c4498 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -1129,6 +1129,11 @@ rm -f $RPM_BUILD_ROOT/%{baseinstdir}/program/classes/sandbox.jar
 #remove dummy .dat files
 rm -f $RPM_BUILD_ROOT/%{baseinstdir}/program/root?.dat
 
+#remove if we do not build with kde support
+%if %{defined rhel}
+rm -f $RPM_BUILD_ROOT/%{baseinstdir}/program/kde-open-url
+%endif
+
 #set standard permissions for rpmlint
 find $RPM_BUILD_ROOT/%{baseinstdir} -exec chmod +w {} \;
 find $RPM_BUILD_ROOT/%{baseinstdir} -type d -exec chmod 0755 {} \;


More information about the scm-commits mailing list