From fde73fe2bbb7d0e543aa899c6a78bf3f61caa80a Mon Sep 17 00:00:00 2001 From: Jooseok Park Date: Thu, 11 May 2017 22:16:00 +0900 Subject: [PATCH] Update spec file (in tools) Change-Id: I3840a6b3b10070df30e66ca0de8852d0ea76264e --- tools/tizen/iotivity.spec | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) mode change 100644 => 100755 tools/tizen/iotivity.spec diff --git a/tools/tizen/iotivity.spec b/tools/tizen/iotivity.spec old mode 100644 new mode 100755 index 4652c77..24161ce --- a/tools/tizen/iotivity.spec +++ b/tools/tizen/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 @@ -60,14 +60,6 @@ Source1002: %{name}-test.manifest %define ex_install_dir %{buildroot}%{_bindir} -%if ! 0%{?license:0} -%define license %doc -%endif - -%if ! 0%{?manifest:0} -%define manifest %doc -%endif - # Default values to be eventually overiden BEFORE or as gbs params: %{!?ES_TARGET_ENROLLEE: %define ES_TARGET_ENROLLEE tizen} %{!?LOGGING: %define LOGGING 1} @@ -147,24 +139,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 -- 2.7.4