On Sun, 2019-05-19 at 17:15 +0200, Felix Schwarz wrote:
> I have a question regarding license tags in spec files for software under
> 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:

https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/

"The License: field refers to the licenses of the contents of the
*binary* rpm."

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

-- 
Yaakov Selkowitz
Senior Software Engineer - Platform Enablement
Red Hat, Inc.

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to