[ark] new appdata validation

Rex Dieter rdieter at fedoraproject.org
Fri Aug 8 15:21:01 UTC 2014


commit 9f098664082fa360b8394cb22cc2d6c018f6ed25
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Fri Aug 8 10:20:56 2014 -0500

    new appdata validation

 ark.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/ark.spec b/ark.spec
index 6fb2af1..21d2123 100644
--- a/ark.spec
+++ b/ark.spec
@@ -5,7 +5,7 @@
 Name:    ark
 Summary: Archive manager
 Version: 4.13.97
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: GPLv2+
 URL:     http://utils.kde.org/projects/ark 
@@ -27,11 +27,11 @@ Patch53: ark-4.9.97-improve_subfolder_autodetection.patch
 
 ## upstream patches
 
-BuildRequires: appdata-tools
 BuildRequires: bzip2-devel
 BuildRequires: desktop-file-utils
 BuildRequires: kdelibs4-devel >= %{version}
 BuildRequires: kde-baseapps-devel >= %{version}
+BuildRequires: libappstream-glib
 BuildRequires: pkgconfig(libarchive)
 BuildRequires: pkgconfig(liblzma) 
 BuildRequires: zlib-devel
@@ -101,7 +101,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/ark.desktop
 
 
@@ -144,6 +144,9 @@ fi
 
 
 %changelog
+* Fri Aug 08 2014 Rex Dieter <rdieter at fedoraproject.org> 4.13.97-2
+- new appdata validation
+
 * 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