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.
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.