On Mon, Jun 25, 2018 at 8:48 AM Michal Rostecki <mrostecki@suse.de> wrote:
Hi,
I have a question regarding the %license macro. When a spec contain also devel package definition and `%files -n devel` section, should that macro be included in all packages, or only in the "main" package?
I tried to google about that: https://www.google.de/search?q=%25license+devel+site%3Abuild.opensuse.org
It seems that the majority of packages use %license macro in all %files sections, i.e.: https://goo.gl/77TD6c
But there are some packages which don't, i.e.: https://goo.gl/2msyMJ
What's the most recommended and correct way of using %license macro with multi-package specs?
The rule is, there should not be a situation where the license files are not installed on the system. As long as that's true, you can do what you like. I usually put it in all of them, but some people just put it in the "root" subpackage that everything depends on. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org