[ktouch] update appdata %%check

Rex Dieter rdieter at fedoraproject.org
Fri Aug 8 16:42:53 UTC 2014


commit cbde921f34dd73ac6624f6821b12cd096df17550
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Fri Aug 8 11:42:42 2014 -0500

    update appdata %%check

 ktouch.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/ktouch.spec b/ktouch.spec
index 18689b0..985455a 100644
--- a/ktouch.spec
+++ b/ktouch.spec
@@ -13,9 +13,9 @@ URL:     https://projects.kde.org/projects/kde/kdeedu/%{name}
 %endif
 Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
 
-BuildRequires: appdata-tools
 BuildRequires: desktop-file-utils
 BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: libappstream-glib
 
 Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}}
 Requires: kqtquickcharts%{?_isa} >= %{version}
@@ -47,7 +47,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
 
 %check
-appdata-validate --nonet --relax %{buildroot}%{_kde4_datadir}/appdata/%{name}.appdata.xml
+appstream-util validate-relax --nonet %{buildroot}%{_kde4_datadir}/appdata/%{name}.appdata.xml
 desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop
 
 
@@ -77,6 +77,7 @@ fi
 %changelog
 * Fri Aug 08 2014 Rex Dieter <rdieter at fedoraproject.org> 4.13.97-2
 - Requires: kqtquickcharts (#1125461)
+- update appdata %%check
 
 * Tue Aug 05 2014 Rex Dieter <rdieter at fedoraproject.org> - 4.13.97-1
 - 4.13.97


More information about the scm-commits mailing list