From 7e1745c5fcf60c004147e112129cf998317a562f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20DAVID?=
<clement.david(a)scilab-enterprises.com>
Date: Tue, 1 Dec 2015 08:11:44 +0100
Subject: Use appstream-util instead of appdata-validate
---
scilab.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/scilab.spec b/scilab.spec
index b60e7e7..1d01160 100644
--- a/scilab.spec
+++ b/scilab.spec
@@ -1,7 +1,7 @@
# baserelease defines which build revision of this version we're building.
# The magical name baserelease is matched by the rpmdev-bumpspec tool, which
# you should use.
-%global baserelease 2
+%global baserelease 3
# On a released (stable or beta) version set it to 1
%define is_release 1
@@ -158,7 +158,7 @@ Requires: hdf5 = %{_hdf5_version}
# Specific dependencies for packaging purpose
BuildRequires: desktop-file-utils
-BuildRequires: appdata-tools
+BuildRequires: libappstream-glib
%description
Scilab is the free software for numerical computation providing a powerful
@@ -261,7 +261,7 @@ make %{?_smp_mflags} doc
%install
make %{?_smp_mflags} install DESTDIR=%{buildroot}
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
-appdata-validate -relax %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
+appstream-util validate-relax %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
%find_lang %{name}
# Remove specific applications, user should use CLI options instead
@@ -346,6 +346,9 @@ fi
%{_datadir}/%{name}/modules/*/tests
%changelog
+* Tue Dec 01 2015 Clément David <c.david86(a)gmail.com> - 6.0.0-0.3.alpha1
+- Use appstream-util instead of the deprecated appdata-validate
+
* Tue Sep 08 2015 Clément David <c.david86(a)gmail.com> - 6.0.0-0.2.alpha1
- Re-enable the build for ARM
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/scilab.git/commit/?h=master&id=7e1...