amigadave pushed to supertux (f21). "Validate AppData during check"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Apr 13 13:17:31 UTC 2015
>From 782f5bdb74041e0b6de346ca1b180a54ab70221b 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 4ed1b7e..0b3f6d4 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 Nov 11 2014 David King <amigadave at amigadave.com> - 0.3.4-1
- Update to 0.3.4 (#999396)
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/supertux.git/commit/?h=f21&id=782f5bdb74041e0b6de346ca1b180a54ab70221b
More information about the scm-commits
mailing list