#511 Change request: Package Guidelines: DevAssistant
Closed: Fixed None Opened 5 years ago by tradej.


Since the Packaging Guidelines were changed so that licensing files must be marked with the {{{%license}}} directive, I would like to propose a change in the DevAssistant Packaging Guidelines [1] allowing for hassle-free packaging of licensing files. The change is very simple (the diff can be found at [2]):

  • It is possible to specify licensing files when running the {{{%install_assistant}}} macro with the {{{-L}}} flag. The file list generated by this macro will mark the appropriate files in the {{{doc}}} directory of the DAP with the {{{%license}}} macro, and will not mark the underlying directories as documentation (to ensure license files are installed even if the RPM is installed without docs).

  • Sample SPEC and {{{%files}}} section in the Guidelines are fixed to reflect the new option.

The affected DevAssistant packages have already been updated to accommodate for this change [3, 4]. At [5], you can find the source and binary RPMs of a DAP built with the new packages.

Thank you,

Tomas Radej

[1] https://fedoraproject.org/wiki/Packaging:DevAssistant

[2] https://fedoraproject.org/w/index.php?title=User%3ATradej%2FDraft%3APackaging%3ADAP&diff=406424&oldid=401659

[3] https://admin.fedoraproject.org/updates/devassistant-0.10.3-4.fc22?_csrf_token=f9bb08ba5ae873dc2f41361fc74d98912a4f9822

[4] https://admin.fedoraproject.org/updates/dap2rpm-0.1.8-1.fc22?_csrf_token=2dcd40365801994e71e3a6898e8e0e398ed49551

[5] https://tradej.fedorapeople.org/fpc/update/

This came in a bit too late to get on today's agenda, but I think this is cool and will toss in my +1 now.

Thanks. To be honest, I didn't expect it to be included in yesterday's meeting at all, it's just a coincidence that I finished the work on a Thursday :) . If it gets on the agenda next week, it'll be cool.

We discussed this at today's meeting (http://meetbot.fedoraproject.org/fedora-meeting-1/2015-03-19/fpc.2015-03-19-17.01.txt):

Announcement text:

Guidelines and example SPEC for DevAssistant plug-ins are updated to accommodate for %license tag:

Metadata Update from @mbooth:
- Issue assigned to tibbs

3 years ago

Login to comment on this ticket.