Update License 09/128809/1 submit/tizen/20170511.125231
authorJooseok Park <jooseok.park@samsung.com>
Thu, 11 May 2017 11:30:13 +0000 (20:30 +0900)
committerJooseok Park <jooseok.park@samsung.com>
Thu, 11 May 2017 11:30:51 +0000 (20:30 +0900)
Change-Id: I47861f7f52f61ef1f5dbda201564f058560d3688

packaging/iotivity.spec

index ea97e12..e6fb6d5 100644 (file)
@@ -3,7 +3,7 @@ Version: 1.2.1
 Release: 0
 Summary: IoT Connectivity sponsored by the OCF
 Group: Network & Connectivity / IoT Connectivity
-License: Apache-2.0 and BSD-2-Clause and (MIT or BSL-1.0) and MIT
+License: Apache-2.0
 URL: https://www.iotivity.org/
 Source0: http://mirrors.kernel.org/%{name}/%{version}/%{name}-%{version}.tar.gz
 Source1001: %{name}.manifest
@@ -123,24 +123,7 @@ developing applications that use %{name}.
 %setup -q
 chmod g-w %_sourcedir/*
 
-find . \
-     -iname "LICEN*E*"  \
-     -o -name "*BSD*" \
-     -o -name "*COPYING*" \
-     -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}/*"
-          echo "License: ${file}"
-          sed 's/^/ /' "${file}"
-          echo ""
-          echo ""
-     done > tmp.tmp && mv tmp.tmp LICENSE
-
-cat LICENSE
+cp LICENSE.md LICENSE
 
 cp %{SOURCE1001} .
 %if 0%{?tizen_version_major} < 3
@@ -149,7 +132,6 @@ cp %{SOURCE1002} .
 cp %{SOURCE1001} ./%{name}-test.manifest
 %endif
 
-
 %build
 scons %{?_smp_mflags} --prefix=%{_prefix} \
     ES_TARGET_ENROLLEE=%{ES_TARGET_ENROLLEE} \