From: taesub.kim Date: Tue, 22 Dec 2015 01:06:54 +0000 (+0900) Subject: Modified license using SPDX license identifier X-Git-Tag: submit/tizen_3.0_base/20161103.044410^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F55096%2F1;p=platform%2Fupstream%2Fc-ares.git Modified license using SPDX license identifier Change-Id: I295f6c8928965973ccf3dfb173d1d0b43a2edc5f Signed-off-by: Taesub Kim --- diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e3f5b64 --- /dev/null +++ b/LICENSE @@ -0,0 +1,10 @@ +Copyright 1998 by the Massachusetts Institute of Technology. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided that +the above copyright notice appear in all copies and that both that copyright +notice and this permission notice appear in supporting documentation, and that +the name of M.I.T. not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior permission. +M.I.T. makes no representations about the suitability of this software for any +purpose. It is provided "as is" without express or implied warranty. diff --git a/LICENSE.mit b/LICENSE.mit new file mode 100644 index 0000000..c6e52bc --- /dev/null +++ b/LICENSE.mit @@ -0,0 +1,21 @@ +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) + +All rights reserved. + +Permission to use, copy, modify, and distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright +notice and this permission notice appear in all copies. + +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 OF THIRD PARTY RIGHTS. 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. + +Except as contained in this notice, the name of a copyright holder shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization of the copyright holder. diff --git a/packaging/c-ares.spec b/packaging/c-ares.spec index f48f88b..a44ce71 100644 --- a/packaging/c-ares.spec +++ b/packaging/c-ares.spec @@ -48,6 +48,8 @@ make %{?_smp_mflags} %install %make_install +mkdir -p %{buildroot}/usr/share/license +cp LICENSE %{buildroot}/usr/share/license/%{name} %post -p /sbin/ldconfig -n libcares @@ -65,5 +67,4 @@ make %{?_smp_mflags} %{_includedir}/*.h %{_mandir}/man3/ares_* %{_libdir}/pkgconfig/libcares.pc - -%changelog +/usr/share/license/%{name}