Validate AppData in check
https://fedoraproject.org/wiki/Packaging:AppData
This commit is contained in:
parent
859e21254a
commit
ffbdaf0bbc
@ -21,6 +21,7 @@ BuildRequires: file-devel
|
||||
BuildRequires: libarchive-devel
|
||||
BuildRequires: json-glib-devel
|
||||
BuildRequires: libnotify-devel
|
||||
BuildRequires: /usr/bin/appstream-util
|
||||
|
||||
|
||||
%description
|
||||
@ -59,8 +60,12 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
|
||||
|
||||
%find_lang %{name} --with-gnome
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/org.gnome.FileRoller.appdata.xml
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.FileRoller.desktop
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database &> /dev/null || :
|
||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
||||
@ -99,6 +104,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
* Mon Feb 09 2015 David King <amigadave@amigadave.com> - 3.15.2-1
|
||||
- Update to 3.15.2
|
||||
- Use license macro for COPYING
|
||||
- Validate AppData in check
|
||||
|
||||
* Sat Nov 29 2014 Kalev Lember <kalevlember@gmail.com> - 3.15.1-1
|
||||
- Update to 3.15.1
|
||||
|
Loading…
Reference in New Issue
Block a user