Validate AppData in check
https://fedoraproject.org/wiki/Packaging:AppData
This commit is contained in:
parent
134247e90a
commit
69e004a4e7
@ -11,6 +11,7 @@ URL: https://wiki.gnome.org/Apps/Baobab
|
|||||||
Source0: https://download.gnome.org/sources/baobab/3.15/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/baobab/3.15/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
||||||
|
BuildRequires: /usr/bin/appstream-util
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: itstool
|
BuildRequires: itstool
|
||||||
@ -44,7 +45,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.baobab.desktop
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/org.gnome.baobab.appdata.xml
|
||||||
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.baobab.desktop
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -88,6 +90,7 @@ done
|
|||||||
- Use license macro for COPYING and COPYING.docs
|
- Use license macro for COPYING and COPYING.docs
|
||||||
- Use pkgconfig for BuildRequires
|
- Use pkgconfig for BuildRequires
|
||||||
- Update URL
|
- Update URL
|
||||||
|
- Validate AppData in check
|
||||||
|
|
||||||
* Tue Oct 14 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
|
* Tue Oct 14 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
|
||||||
- Update to 3.14.1
|
- Update to 3.14.1
|
||||||
|
Loading…
Reference in New Issue
Block a user