Validate appstream metadata
This commit is contained in:
parent
9166550290
commit
21f36666e5
@ -65,6 +65,7 @@ BuildRequires: pkgconfig(xinerama)
|
|||||||
BuildRequires: pkgconfig(xkbcommon)
|
BuildRequires: pkgconfig(xkbcommon)
|
||||||
BuildRequires: pkgconfig(xrandr)
|
BuildRequires: pkgconfig(xrandr)
|
||||||
BuildRequires: pkgconfig(xrender)
|
BuildRequires: pkgconfig(xrender)
|
||||||
|
BuildRequires: /usr/bin/appstream-util
|
||||||
BuildRequires: /usr/bin/rst2man
|
BuildRequires: /usr/bin/rst2man
|
||||||
|
|
||||||
# standard icons
|
# standard icons
|
||||||
@ -154,7 +155,8 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gtk-4.0
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-4.0/modules
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-4.0/modules
|
||||||
|
|
||||||
%check
|
%check
|
||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/*.xml
|
||||||
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
|
||||||
|
|
||||||
%files -f gtk40.lang
|
%files -f gtk40.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user