[ 
https://issues.apache.org/jira/browse/BIGTOP-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055178#comment-14055178
 ] 

Julien Eid commented on BIGTOP-1367:
------------------------------------

[~rvs] As for the Fedora guidelines best practices for licenses, see here 
https://fedoraproject.org/wiki/Packaging:LicensingGuidelines?rd=Packaging/LicensingGuidelines
 

These areas of text would be of interest:
"If the source package includes the text of the license(s) in its own file, 
then that file, containing the text of the license(s) for the package must be 
included in %doc. If the source package does not include the text of the 
license(s), the packager should contact upstream and encourage them to correct 
this mistake."

And as for subpackages see here:
"If a subpackage is dependent (either implicitly or explicitly) upon a base 
package (where a base package is defined as a resulting binary package from the 
same source RPM which contains the appropriate license texts as %doc), it is 
not necessary for that subpackage to also include those license texts as %doc.
However, if a subpackage is independent of any base package (it does not 
require it, either implicitly or explicitly), it must include copies of any 
license texts (as present in the source) which are applicable to the files 
contained within the subpackage."

"Usually, "%doc" is used to list documentation files within %{_builddir} that 
were not copied to %{buildroot}. A README and INSTALL file is usually included. 
They will be placed in an appropriate directory under /usr/share/doc, whose 
ownership does not need to be declared."

So the Fedora guidelines recommend using %doc which will put them in 
/usr/share/doc/PACKAGE, and you only have to include the licensing for the top 
level package and not for the subpackage.

> Include LICENSES(.txt) and NOTICES(.txt) for every component
> ------------------------------------------------------------
>
>                 Key: BIGTOP-1367
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1367
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Sean Mackrory
>            Assignee: Sean Mackrory
>
> We need to make sure that every component includes the appropriate 
> documentation of the open-source licenses they are distributed under. Not 
> every package may include these documents, but every package should probably 
> depend on the package that will provide them (e.g. zookeeper-server probably 
> doesn't need to contain these documents, but it should depend on zookeeper 
> which does need to contain these documents).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to