Il 04/01/23 19:11, Ben Beasley ha scritto:
There is an FPC issue open to clarify this in the guidelines, since
it comes up over and over in package reviews. The conclusion has always been that license
files do not have to be in a particular directory. Someone needs to come up with a simple
and well-worded statement on the matter and open a PR to update the guidelines.
https://pagure.io/packaging-committee/issue/1223
Thanks, I wasn't aware of that ticket. It's still not clear to me, in
the ticket it is said "%license is mandatory", but doesn't %license
macro copy files under /usr/share/licenses in addition to adding the tag?
As a personal note, I don't like this solution, as you need to inspect
the built RPM to check that the license files are really installed,
while explicitly set them in the specfile is much more straightforward.
Mattia