summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub.kim <taesub.kim@samsung.com>2015-12-22 01:06:54 (GMT)
committertaesub.kim <taesub.kim@samsung.com>2015-12-22 01:07:06 (GMT)
commit9dafee4d154c8d0f68275af2542b52d04228e4bf (patch)
tree6cf878667b8a7e7eb071a513c900f9f92dcb9641
parentcbe8b82a6854d8ff4a306ae3240a6606a3d1090a (diff)
downloadc-ares-9dafee4d154c8d0f68275af2542b52d04228e4bf.zip
c-ares-9dafee4d154c8d0f68275af2542b52d04228e4bf.tar.gz
c-ares-9dafee4d154c8d0f68275af2542b52d04228e4bf.tar.bz2
Modified license using SPDX license identifierrefs/changes/96/55096/1
Change-Id: I295f6c8928965973ccf3dfb173d1d0b43a2edc5f Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
-rw-r--r--LICENSE10
-rw-r--r--LICENSE.mit21
-rw-r--r--packaging/c-ares.spec5
3 files changed, 34 insertions, 2 deletions
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}