spec: move AppStream validation to %check
https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/ suggests that can be in either; it is slightly more logical in %check. Reported by Neal Gompa, thanks!
This commit is contained in:
parent
e3f668b584
commit
a6508f5d99
1 changed files with 2 additions and 1 deletions
|
|
@ -34,12 +34,13 @@ ESLINT=0 NODE_ENV=production make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
|
|
||||||
|
|
||||||
# drop source maps, they are large and just for debugging
|
# drop source maps, they are large and just for debugging
|
||||||
find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose
|
find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
|
||||||
|
|
||||||
# this can't be meaningfully tested during package build; tests happen through
|
# this can't be meaningfully tested during package build; tests happen through
|
||||||
# FMF (see plans/all.fmf) during package gating
|
# FMF (see plans/all.fmf) during package gating
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue