From 8eecc6ede44cc64f24e029caf3086b12985a21ef Mon Sep 17 00:00:00 2001 From: Luya Date: Sep 17 2017 05:30:11 +0000 Subject: /* app-data-validate usage */ --- diff --git a/guidelines/User:Luya%2FPackaging:AppData.mw b/guidelines/User:Luya%2FPackaging:AppData.mw index 5aef170..cf4cc42 100644 --- a/guidelines/User:Luya%2FPackaging:AppData.mw +++ b/guidelines/User:Luya%2FPackaging:AppData.mw @@ -76,7 +76,7 @@ You can use anything as the but it needs to be unique and sens Although you can just include the .appdata.xml or .metainfo.xml files in the package, you MUST run appstream-util validate-relax (in %check or %install) and have BuildRequires: libappstream-glib, to help ensure the validity and safety of the appdata files you're installing. An example:
-appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
 
[[Category:Packaging guidelines]]