From a5f2c4f0e0b1d7ba94f5dc5580bb54b8db0b9c6c Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 23 Apr 2015 17:59:02 -0400 Subject: [PATCH] only run appstream-util on fedora --- libreoffice.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libreoffice.spec b/libreoffice.spec index 68ca69b..17fa862 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1548,6 +1548,7 @@ done export DESTDIR=%{buildroot} ./solenv/bin/install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb +%if 0%{?fedora} # Update the screenshot shown in the software center # # NOTE: It would be *awesome* if this file was pushed upstream. @@ -1563,6 +1564,7 @@ appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-d https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-draw/a.png appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-impress.appdata.xml \ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-impress/a.png +%endif %check unset WITH_LANG