[libreoffice] do not install appdata on rhel

David Tardon dtardon at fedoraproject.org
Sat Jan 25 10:08:08 UTC 2014


commit 1088dcdb9f2c544cd2f9eac16994abf632bf5076
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Jan 25 11:06:04 2014 +0100

    do not install appdata on rhel

 libreoffice.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index b933779..c6bc9c3 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -1412,9 +1412,11 @@ sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/glade3/catalogs
 mv $RPM_BUILD_ROOT/%{baseinstdir}/share/glade/libreoffice-catalog.xml $RPM_BUILD_ROOT/%{_datadir}/glade3/catalogs
 
+%if 0%{?fedora}
 # rhbz#1049543 install appdata
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/appdata
 cp -p sysui/desktop/appstream-appdata/*.appdata.xml $RPM_BUILD_ROOT/%{_datadir}/appdata
+%endif
 
 export DESTDIR=$RPM_BUILD_ROOT
 make cmd cmd="install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb"


More information about the scm-commits mailing list