diff --git a/sound-juicer.spec b/sound-juicer.spec index b98ccca..170e2b4 100644 --- a/sound-juicer.spec +++ b/sound-juicer.spec @@ -33,6 +33,7 @@ BuildRequires: gnome-common #BuildRequires: automake autoconf libtool BuildRequires: desktop-file-utils BuildRequires: itstool +BuildRequires: /usr/bin/appstream-util ExcludeArch: s390 s390x @@ -59,6 +60,11 @@ desktop-file-install \ %find_lang sound-juicer --with-gnome + +%check +appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/appdata/sound-juicer.appdata.xml + + %post update-desktop-database &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : @@ -91,6 +97,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : * Mon Mar 02 2015 David King - 3.15.91-1 - Update to 3.15.91 - Use license macro for COPYING +- Validate AppData in check * Sun Dec 14 2014 David King - 3.14.0-3 - Stop requiring gtk2 (#1147157)