Validate AppData in check

https://fedoraproject.org/wiki/Packaging:AppData
This commit is contained in:
David King 2015-02-02 21:50:11 +00:00
parent df7f763bc0
commit dc4cb9d9c6

View File

@ -38,6 +38,7 @@ BuildRequires: intltool >= 0.50.1
BuildRequires: itstool
BuildRequires: libjpeg-devel
BuildRequires: zlib-devel
BuildRequires: /usr/bin/appstream-util
Requires: gsettings-desktop-schemas
@ -86,7 +87,8 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/eog/plugins/*.la
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/eog.desktop
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml
desktop-file-validate %{buildroot}/%{_datadir}/applications/eog.desktop
%post
@ -135,6 +137,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
- Update desktop file validation checks
- Use license macro for COPYING
- Update URL
- Validate AppData in check
* Thu Nov 20 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.3-1
- Update to 3.14.3