From ae86e4e9a1175d1a0e213c65ba7b40349322fb15 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 12 May 2014 13:15:29 +0100 Subject: [PATCH] Use appstream-util to install the AppStream files --- gnome-software.spec | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gnome-software.spec b/gnome-software.spec index f349c09..ef9bf4c 100644 --- a/gnome-software.spec +++ b/gnome-software.spec @@ -52,14 +52,7 @@ make %{?_smp_mflags} %__rm %{buildroot}%{_libdir}/gs-plugins-%{gs_plugin_version}/*.la # install AppStream data for Fedora -%__mkdir_p %{buildroot}%{_datadir}/app-info/xmls -%__cp %{SOURCE1} %{buildroot}%{_datadir}/app-info/xmls - -# decompress and install AppStream icons -%__mkdir_p %{buildroot}%{_datadir}/app-info/icons/fedora-%{?distrotag} -cd %{buildroot}%{_datadir}/app-info/icons/fedora-%{?distrotag} -%__tar xvzf %{SOURCE2} -cd - +DESTDIR=%{buildroot} appstream-util install %{SOURCE1} %{SOURCE2} # make the software center load faster desktop-file-edit %{buildroot}%{_datadir}/applications/org.gnome.Software.desktop \