From 1088dcdb9f2c544cd2f9eac16994abf632bf5076 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 25 Jan 2014 11:06:04 +0100 Subject: [PATCH] do not install appdata on rhel --- libreoffice.spec | 2 ++ 1 file changed, 2 insertions(+) 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"