[juk] adjust to later appdate/appstream draft guideline

Rex Dieter rdieter at fedoraproject.org
Thu Aug 7 15:16:34 UTC 2014


commit 114cb1c99f792a43143ce2819fef9f7df116b435
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Thu Aug 7 10:15:33 2014 -0500

    adjust to later appdate/appstream draft guideline

 juk.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/juk.spec b/juk.spec
index c58a399..4e1d2c8 100644
--- a/juk.spec
+++ b/juk.spec
@@ -5,7 +5,7 @@
 Name:    juk 
 Summary: Music player 
 Version: 4.13.97
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 # code: KDE e.V. may determine that future GPL versions are accepted
 # handbook doc: GFDL
@@ -19,9 +19,9 @@ URL:     https://projects.kde.org/projects/kde/kdemultimedia/%{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
 %if 0%{?tunepimp}
 BuildRequires: libtunepimp-devel
 %endif
@@ -60,7 +60,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
 %check
 # FIXME: appdata validation errors
-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/juk.desktop
 
 


More information about the scm-commits mailing list