On 15.02.2017 13:39, Michal Kubecek wrote:
On Wednesday, 15 February 2017 13:29 Stephan Kulow wrote:
Take ant-antlr.spec - its source rpm has License: Apache-2.0, but it has a ant-javamail sub-package with CDDL-1.0. So the bot will not accept this package, because the sub-package has a license not part of the sources license.
The proper fix is to have License: Apache-2.0 AND CDDL-1.0
Wouldn't that cause this to be propagated to _all_ subpackages (including the main binary one) unless each of them (except the CDDL one) has its own "License: Apache-2.0"?
Yes. And so the spec-cleaner will multipy the main license into all subpackages if they don't already have one - and you should correct it if it's *not* the combination. If your licenses are so complicated, you better don't build a main package - as rpm has to my knowledge no way to express different licenses between the main rpm and the source rpm. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org