On 21/07/2021 19:49, Lyes Saadi wrote:
Ironically, I found some `.metainfo.xml` in `/usr/share/appdata` and
some `.appdata.xml` in `/usr/share/metainfo`.
/usr/share/metainfo - modern directory for the metainfo files.
/usr/share/appdata - legacy, for compatibility purposes.
New/updated packages should always use /usr/share/metainfo aka
%{_metainfodir}. If not, you should fix and send a pull request to upstream.
> AppStream tools scan the /usr/share/appdata/ path for legacy
compatibility as well. It should not be used anymore by new software
though, even on older Linux distributions (like RHEL 7 and Ubuntu 16.04
LTS) the metainfo path is well supported. Support for the legacy path
will likely be dropped completely with a future AppStream 1.0 release.
https://freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
--
Sincerely,
Vitaly Zaitsev (vit...@easycoding.org)
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure