There was a same code logic that follows the MIT License rules in the descs_gen.c file.
To clearly specify, the MIT License file has been added
and spec file is also changed to include license file.
Change-Id: Ia9440f6cae6a88e27795ffbc2201cb5a6a361438
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
--- /dev/null
+The MIT License
+
+Copyright (c) 2019 Samsung Electronics
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Version: 10.0.1
Release: 1
Group: System/Management
-License: Apache-2.0
+License: Apache-2.0 and MIT
Source0: %{name}-%{version}.tar.gz
Source1: deviced.manifest
Source2: libdeviced.manifest
Deviced
%package unified-system-plugin
+License: Apache-2.0 and MIT
Summary: unified-system plugin
Requires: %{name} = %{version}-%{release}
%files
%manifest %{name}.manifest
%license LICENSE.Apache-2.0
+%license LICENSE.MIT
%{_bindir}/deviced
%{_libdir}/libdeviced-common-private.so
%{_unitdir}/multi-user.target.wants/deviced.service
%files unified-system-plugin
%manifest %{name}.manifest
%license LICENSE.Apache-2.0
+%license LICENSE.MIT
%{_libdir}/libunified-system-service-deviced.so
%{_libdir}/libdeviced-common-private.so
%dir %{plugindir}
/*
* deviced
*
+ * SPDX-License-Identifier: Apache-2.0 OR MIT
* Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the License);