X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fiotivity.spec;h=e6fb6d5275bb9901e95ca6d6c0869b7081576174;hb=689c0aed6e21fb12a05f20d5448a04498803790a;hp=ea97e12d58744bb1229334b3b8a8aa035d79a84e;hpb=3e6f37b15bf3f6cce0d0b25e4aa5ce837c921895;p=platform%2Fupstream%2Fiotivity.git 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} \