Add appdata validation
This commit is contained in:
parent
1a978160a0
commit
ac40ab4453
@ -8,12 +8,13 @@ URL: http://www.sysprof.com
|
|||||||
Source0: https://download.gnome.org/sources/sysprof/3.23/sysprof-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/sysprof/3.23/sysprof-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: binutils-devel
|
BuildRequires: binutils-devel
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: gtk3-devel
|
BuildRequires: gtk3-devel
|
||||||
BuildRequires: itstool
|
BuildRequires: itstool
|
||||||
BuildRequires: polkit-devel
|
BuildRequires: polkit-devel
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
|
BuildRequires: /usr/bin/appstream-util
|
||||||
|
BuildRequires: /usr/bin/desktop-file-validate
|
||||||
|
|
||||||
Requires: hicolor-icon-theme
|
Requires: hicolor-icon-theme
|
||||||
Requires: %{name}-cli%{?_isa} = %{version}-%{release}
|
Requires: %{name}-cli%{?_isa} = %{version}-%{release}
|
||||||
@ -64,6 +65,7 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/*.appdata.xml
|
||||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
|
||||||
|
|
||||||
|
|
||||||
@ -119,6 +121,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%changelog
|
%changelog
|
||||||
* Wed Mar 01 2017 Kalev Lember <klember@redhat.com> - 3.23.91-1
|
* Wed Mar 01 2017 Kalev Lember <klember@redhat.com> - 3.23.91-1
|
||||||
- Update to 3.23.91
|
- Update to 3.23.91
|
||||||
|
- Add appdata validation
|
||||||
|
|
||||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.3-2
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.3-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user