diff --git a/file-roller.spec b/file-roller.spec index 10ce98b..f427af9 100644 --- a/file-roller.spec +++ b/file-roller.spec @@ -21,6 +21,7 @@ BuildRequires: file-devel BuildRequires: libarchive-devel BuildRequires: json-glib-devel BuildRequires: libnotify-devel +BuildRequires: /usr/bin/appstream-util %description @@ -59,8 +60,12 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache %find_lang %{name} --with-gnome + +%check +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/org.gnome.FileRoller.appdata.xml desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.FileRoller.desktop + %post update-desktop-database &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : @@ -99,6 +104,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : * Mon Feb 09 2015 David King - 3.15.2-1 - Update to 3.15.2 - Use license macro for COPYING +- Validate AppData in check * Sat Nov 29 2014 Kalev Lember - 3.15.1-1 - Update to 3.15.1