From 689c0aed6e21fb12a05f20d5448a04498803790a Mon Sep 17 00:00:00 2001 From: Jooseok Park Date: Thu, 11 May 2017 20:30:13 +0900 Subject: [PATCH] Update License Change-Id: I47861f7f52f61ef1f5dbda201564f058560d3688 --- packaging/iotivity.spec | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/packaging/iotivity.spec b/packaging/iotivity.spec index ea97e12..e6fb6d5 100644 --- a/packaging/iotivity.spec +++ b/packaging/iotivity.spec @@ -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} \ -- 2.7.4