diff --git a/sysprof.spec b/sysprof.spec index dea2d88..cefc660 100644 --- a/sysprof.spec +++ b/sysprof.spec @@ -8,12 +8,13 @@ URL: http://www.sysprof.com Source0: https://download.gnome.org/sources/sysprof/3.23/sysprof-%{version}.tar.xz BuildRequires: binutils-devel -BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: gtk3-devel BuildRequires: itstool BuildRequires: polkit-devel BuildRequires: systemd-devel +BuildRequires: /usr/bin/appstream-util +BuildRequires: /usr/bin/desktop-file-validate Requires: hicolor-icon-theme Requires: %{name}-cli%{?_isa} = %{version}-%{release} @@ -64,6 +65,7 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %check +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/*.appdata.xml desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop @@ -119,6 +121,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog * Wed Mar 01 2017 Kalev Lember - 3.23.91-1 - Update to 3.23.91 +- Add appdata validation * Sat Feb 11 2017 Fedora Release Engineering - 3.22.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild