diff --git a/gtk4.spec b/gtk4.spec index dec6303..d3767a0 100644 --- a/gtk4.spec +++ b/gtk4.spec @@ -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