Validate AppData in check
https://fedoraproject.org/wiki/Packaging:AppData
This commit is contained in:
parent
219aee9ef2
commit
15d4ea2308
@ -55,6 +55,7 @@ BuildRequires: python3-gobject >= %{pygo_version}
|
||||
%else
|
||||
BuildRequires: python-devel
|
||||
%endif
|
||||
BuildRequires: /usr/bin/appstream-util
|
||||
|
||||
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||
Requires: gtk3%{?_isa} >= %{gtk3_version}
|
||||
@ -122,6 +123,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%find_lang %{name} --with-gnome
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/appdata/org.gnome.gedit.appdata.xml
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.gedit.desktop
|
||||
|
||||
%post
|
||||
@ -204,6 +206,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
||||
- Update to 3.15.90
|
||||
- Use pkgconfig for BuildRequires
|
||||
- Use license macro for COPYING
|
||||
- Validate AppData in check
|
||||
|
||||
* Tue Jan 20 2015 Richard Hughes <rhughes@redhat.com> - 2:3.15.1-1
|
||||
- Update to 3.15.1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user