amigadave pushed to supertux (f22). "Validate AppData during check"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 10:59:12 UTC 2015


>From 24b7ce469363e6c5691a7dbf6e101a38631fc077 Mon Sep 17 00:00:00 2001
From: David King <amigadave at amigadave.com>
Date: Mon, 13 Apr 2015 10:54:28 +0100
Subject: Validate AppData during check


diff --git a/supertux.spec b/supertux.spec
index 5d3028c..f2f86c2 100644
--- a/supertux.spec
+++ b/supertux.spec
@@ -33,6 +33,7 @@ BuildRequires:  flex
 BuildRequires:  bison
 BuildRequires:  cmake
 BuildRequires:  sed
+BuildRequires:  /usr/bin/appstream-util
 Requires:       opengl-games-utils hicolor-icon-theme
 
 %description
@@ -73,6 +74,7 @@ rm %{buildroot}%{_datadir}/pixmaps/supertux.xpm
 
 
 %check
+appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/supertux2.appdata.xml
 desktop-file-validate %{buildroot}%{_datadir}/applications/supertux2.desktop
 
 
@@ -102,6 +104,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %changelog
 * Mon Apr 13 2015 David King <amigadave at amigadave.com> - 0.3.5-1
 - Update to 0.3.5
+- Validate AppData during check
 
 * Tue Jan 27 2015 Petr Machata <pmachata at redhat.com> - 0.3.4-2
 - Rebuild for boost 1.57.0
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/supertux.git/commit/?h=f22&id=24b7ce469363e6c5691a7dbf6e101a38631fc077


More information about the scm-commits mailing list