<div dir="ltr"><font face="arial, helvetica, sans-serif">I&#39;ve reviewed <a href="https://fedoraproject.org/wiki/Packaging:AppData">Packaging:AppData</a> and have some questions.</font><div><pre class="" id="comment_text_7" style="white-space:pre-wrap;word-wrap:break-word;width:50em;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">When running fedpkg lint, I receive:
<b>copyq.x86_64: E: invalid-appdata-file /usr/share/appdata/copyq.appdata.xml</b></font></pre><pre class="" id="comment_text_7" style="white-space:pre-wrap;word-wrap:break-word;width:50em;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">I then issue appstream-util validate copyq.appdata.xml and receive:  
<b>copyq.appdata.xml: FAILED: 
• tag-missing           : &lt;name&gt; is not present 
• tag-missing           : &lt;summary&gt; is not present 
Validation of files failed</b>

However, when I run appstream-util validate-relax, it passes.

The guidelines indicate you MUST follow the <a href="http://people.freedesktop.org/~hughsient/appdata/">AppData Specification Page</a>; but it doesn&#39;t really give an indication of what is required, and what is optional.  </font><span style="font-family:arial,sans-serif;color:rgb(34,34,34)">It only says &quot;should&quot;; however:</span></pre></div>If you read the description of &lt;name&gt; and &lt;summary&gt; it says the contents for both of those fields are &quot;usually the same as the<br>desktop file&quot; - which indicates it is known to be a duplicate of what is in the desktop file, but yet implies it is still required - <div>otherwise why bother to point out the correlation to the desktop file.    <br><br>Upstream response is if they are duplicated in the desktop file, then they aren&#39;t needed in the appdata file.  <div><div><br></div><div><div>There is also a <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1185361">bug report</a> which discusses rpmlint and validate-relax.  It touches upon the fact that </div><div>validate-relax may be missing some things, but doesn&#39;t appear to reach any conclusion.</div><div><br></div><div>The Fedora guidelines say to use &quot;validate-relax&quot;, but rpmlint appears to use &quot;validate&quot;.  Which </div><div>is correct?  Is &lt;name&gt; and &lt;summary&gt; optional or required?  </div><div><br></div><div><br></div><div class="gmail_extra" style="font-size:12.8px"><br></div><div class="gmail_extra" style="font-size:12.8px"><br></div></div></div></div></div>