https://fedoraproject.org/wiki/Packaging:AppData is currently outdated compared to the upstream guideline https://freedesktop.org/software/appstream/docs/chap-Metadata.html.
As Fedora intended to be closer to upstream as possible, that wiki page needs update
Would you care to draft a change to this page? Maybe the examples can go now that there are good examples in the upstream documentation.
I think the only change significant for Fedora is replacing %{_datadir}/appdata/ with %{_datadir}/metainfo/.
The new directory is already owned by filesystem package (https://bugzilla.redhat.com/show_bug.cgi?id=1434008).
Well, there is bug in rpm https://bugzilla.redhat.com/show_bug.cgi?id=1483644.
Metadata Update from @tibbs: - Issue tagged with: draftneeded
@mbooth Sorry for the late reply. I made an initial draft for the change on https://fedoraproject.org/wiki/User:Luya/Packaging:AppData
Feel free to modify the draft.
Thanks, I edited your draft to fix one more mention of "%{_datadir}/appdata"
To committee folks: When I do a diff, literally the only change is changing %{_datadir}/appdata to %{_datadir}/metainfo
So I am +1 on this simple change
Metadata Update from @mbooth: - Issue untagged with: draftneeded - Issue tagged with: meeting
We discussed this at this weeks meeting (http://meetbot.fedoraproject.org/fedora-meeting-1/2017-09-14/fpc.2017-09-14-16.00.txt):
Metadata Update from @james: - Issue untagged with: meeting - Issue assigned to tibbs - Issue tagged with: writeup
Announcement text:
Appstream metadata guidelines were updated to reflect the new location into which appdata files should be placed.
Metadata Update from @mbooth: - Issue untagged with: writeup - Issue tagged with: announce
Excellent. I confirm the fix is in. Thank you for the prompt response and closing this report.
Metadata Update from @luya: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Since we are working on this, can we remove / from appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml between %{buildroot} and %{_datadir}?
/
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
%{buildroot}
%{_datadir}
Probably shouldn't close tickets until announcements are done?
Metadata Update from @mbooth: - Issue status updated to: Open (was: Closed)
Sure, I just went ahead and fixed that.
Metadata Update from @tibbs: - Issue untagged with: announce - Issue close_status updated to: accepted - Issue status updated to: Closed (was: Open)
To committee folks: When I do a diff, literally the only change is changing %{_datadir}/appdata to %{_datadir}/metainfo So I am +1 on this simple change
This change is only for f28 on f27 we still need use old appdata , how we do a package that build in f28 and f27 ?
Thanks
PS: kdenlive not build on F28 with /appdata and built on F28 with /metainfo but not build on F27 with /metainfo
Login to comment on this ticket.