Validate AppData in check
https://fedoraproject.org/wiki/Packaging:AppData
This commit is contained in:
parent
df7f763bc0
commit
dc4cb9d9c6
5
eog.spec
5
eog.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user