Dear Fedora Review developers,
When conducting a review I noticed that specs that use the new %license tag to mark the license file get flagged as not having a license text by fedora-review -- this is, as it turns out, because RPM's -d flag does not display files tagged as licenses; one needs the exclusive -L flag to display that.
This patch runs rpm twice, once with -d and once with -L, and collect the candidate files from both runs. It also drops the redundant -l which both -d and -L imply.
As tested with:
Reference:
FPC proposal for using %license instead of %doc
RPM %license tag handling
Best regards,
--
Michel Alexandre Salim
Fedora Project Contributor (FAS: salimma, IRC: michel_slm)