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)
committerPhil Coval <philippe.coval@osg.samsung.com>
Tue, 18 Oct 2016 07:15:11 +0000 (07:15 +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>
(cherry picked from commit 2bf870bae3451743f0dee3d35735994785e1b15c)
Reviewed-on: https://gerrit.iotivity.org/gerrit/12969
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
tools/tizen/iotivity.spec

index b7b70de..14570eb 100644 (file)
@@ -140,6 +140,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}/*"