On Sun, 2019-05-19 at 17:15 +0200, Felix Schwarz wrote:
I have a question regarding license tags in spec files for software
multiple licenses (bundled libraries):
- The main software is licensed under a 3-clause BSD.
- The software bundles a library under ASL 2 in subfolder /foo
As far as I know the correct license tag for the Fedora package is
License: BSD and ASL 2.0
If I do
rm -rf <...>/foo
in %prep the ASL-licensed code is never executed, compiled and not present in
the final binary. Can I change the license tag to "BSD" in that case?
Based on your example, yes:
"The License: field refers to the licenses of the contents of the
(I could also clean the source code before importing it for Fedora
but I like
using unmodified upstream archives.)
That is only necessary when the sources contain legally encumbered
code, which doesn't sound like the case here.
Senior Software Engineer - Platform Enablement
Red Hat, Inc.