Validate appstream metadata
This commit is contained in:
parent
9166550290
commit
21f36666e5
@ -65,6 +65,7 @@ BuildRequires: pkgconfig(xinerama)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: pkgconfig(xrandr)
|
||||
BuildRequires: pkgconfig(xrender)
|
||||
BuildRequires: /usr/bin/appstream-util
|
||||
BuildRequires: /usr/bin/rst2man
|
||||
|
||||
# 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
|
||||
|
||||
%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
|
||||
%license COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user