From 452fca4748c5defe8dafb680c793fc47be2e645a Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Aug 11 2014 17:27:19 +0000 Subject: %check: appdata validation --- diff --git a/kolourpaint.spec b/kolourpaint.spec index e0c55d7..28f581a 100644 --- a/kolourpaint.spec +++ b/kolourpaint.spec @@ -1,7 +1,7 @@ Name: kolourpaint Summary: An easy-to-use paint program Version: 4.13.97 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD URL: https://projects.kde.org/projects/kde/kdegraphics/kolourpaint @@ -15,6 +15,7 @@ Source0: ftp://ftp.kde.org/pub/kde/%{stable}/%{version}/src/%{name}-%{version}.t BuildRequires: desktop-file-utils BuildRequires: kdelibs4-devel >= %{version} +BuildRequires: libappstream-glib BuildRequires: pkgconfig(qimageblitz) Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -58,6 +59,7 @@ rm -fv %{buildroot}%{_kde4_libdir}/libkolourpaint_lgpl.so %check +appstream-util validate-relax --nonet %{buildroot}%{_kde4_datadir}/appdata/%{name}.appdata.xml desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop @@ -90,6 +92,9 @@ fi %changelog +* Mon Aug 11 2014 Rex Dieter 4.13.97-2 +- %%check: appdata validation + * Tue Aug 05 2014 Rex Dieter - 4.13.97-1 - 4.13.97