Add app-data-validate for metainfo.xml

This commit is contained in:
Kyrylo Gliebov 2019-01-15 14:59:17 +01:00 committed by Kirill Glebov
parent aadc75afd0
commit 5705467b85
2 changed files with 29 additions and 0 deletions

View file

@ -96,12 +96,14 @@ dist-gzip: all cockpit-$(PACKAGE_NAME).spec
mv node_modules.release node_modules
srpm: dist-gzip cockpit-$(PACKAGE_NAME).spec
appstream-util validate-relax --nonet *.metainfo.xml
rpmbuild -bs \
--define "_sourcedir `pwd`" \
--define "_srcrpmdir `pwd`" \
cockpit-$(PACKAGE_NAME).spec
rpm: dist-gzip cockpit-$(PACKAGE_NAME).spec
appstream-util validate-relax --nonet ./*.metainfo.xml
mkdir -p "`pwd`/output"
mkdir -p "`pwd`/rpmbuild"
rpmbuild -bb \