Re: fedora packaging: Inclusion of license(s) in fedora packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5.5.2017 23:57, Siddharth Sharma wrote:
Hi,

If a project source code contain license files we need to include those files using %license macro. If package splits into multiple packages then which sub package must have license files ? It might be confusing so I will try to explain scenario. Usually when devel package is installed it installs main package with it. So whenever user install main package or devel package they get license files by default if included in main package. But for example if a package splits into main, libs, and devel package and user can just install libs package without actually installing devel and main package then at that point code is distributed without license. What needs to be done in such
cases ? Is it required to embed license in each sub-package ?

Siddharth Sharma

It is required to make it so, that any package combination that is installable ships the license.

i.e. imagine the following scenario:

main "package"
 "package-devel" subpackage
 "package-whatnot" subpackage
 "package-doc" subpackage

package-doc doesn't require anything -> it has to ship %license files
package-whatnot doesn't require anything -> it has to ship %license files
package requires package-whatnot -> it doesn't need to ship %license files (package-whatnot already ships those)
package-devel requires package -> it doesn't need to ship %license files
(package-devel requires package and that already requires package-whatnot that already ships those)


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
legal mailing list -- legal@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to legal-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Gnome Users]     [KDE Users]

  Powered by Linux