From a51436018ac9f47a5d8ebbe6de726e36ca28b65e Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Jul 03 2015 09:44:14 +0000 Subject: Validate appdata file --- diff --git a/glade.spec b/glade.spec index a89d7f9..f0fbbcd 100644 --- a/glade.spec +++ b/glade.spec @@ -22,6 +22,7 @@ BuildRequires: itstool BuildRequires: libxml2-devel BuildRequires: pygobject3-devel BuildRequires: python3-devel +BuildRequires: /usr/bin/appstream-util BuildRequires: /usr/bin/xsltproc Requires: %{name}-libs = %{version}-%{release} @@ -86,6 +87,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/glade/modules/*.so %check +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/glade.appdata.xml desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/glade.desktop @@ -142,6 +144,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - Switch to Python 3 (#1238957) - Use the make_install macro - Use upstream screenshots for appdata +- Validate appdata file * Wed Jun 17 2015 Fedora Release Engineering - 3.19.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild