only run appstream-util on fedora

This commit is contained in:
David Tardon 2015-04-23 17:59:02 -04:00
parent 07cdfb99ad
commit a5f2c4f0e0

View File

@ -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