tizen: Ship only BSD licence from libcoap
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Sat, 8 Oct 2016 13:06:30 +0000 (15:06 +0200)
committerZiran Sun <ziran.sun@samsung.com>
Thu, 13 Oct 2016 09:33:30 +0000 (09:33 +0000)
libcoap-4.1.1 is also licenced LICENSE.GPL,
to avoid ambiguity, tizen use the more permissive one, BSD.

This patch can be reverted,
 if Tizen wants to ship all upstream licences

Change-Id: Idc77605c48322f36887cc502dc0be570e2562486
Origin: https://gerrit.iotivity.org/gerrit/#/c/12969/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12805
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
tools/tizen/iotivity.spec

index 8c267f4..da5cfb9 100644 (file)
@@ -88,6 +88,7 @@ find . \
      -o -name "*GPL*" \
      -o -name "*MIT*" \
      | sort | uniq \
+     | grep -v 'libcoap-4.1.1/LICENSE.GPL'  \
      | while read file ; do \
           dir=$(dirname -- "$file")
           echo "Files: ${dir}/*"