Comment 5 for bug 635478

Revision history for this message
In , Yi-y-yang (yi-y-yang) wrote :

(In reply to comment #1)
> There's (a very little used) %license fille attribute that can be used to mark
> licenses in %files.
>
> Then rpm --excludedoc logic can be tweaked to install licenses (but not other
> docs).
>
> Its likely just as easy to extract the License: tag from all *.rpm packages and
> then cross reference that with package <-> licenses <-> text outside
> of packaging.
>
> tracked at https://bugs.launchpad.net/rpm/+bug/635478

How about COPYRIGHT and README? they need to be marked as %license and %readme in .spec respectively, this will need some efforts.