Validate AppStream metainfo during RPM build
This is a requirement in the Fedora packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data_validate_usage
This commit is contained in:
parent
3ae93bd04e
commit
d8412ae1f7
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ License: LGPLv2+
|
|||
|
||||
Source: cockpit-starter-kit-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
Requires: cockpit-system
|
||||
|
||||
|
|
@ -19,6 +20,7 @@ Cockpit Starter Kit Example Module
|
|||
|
||||
%install
|
||||
%make_install
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
|
||||
|
||||
%files
|
||||
%{_datadir}/cockpit/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue