From fd2fc8377a2e1715e2faf029e7d364d4e361a4ee83645f01a4af16f29893a6a8 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Fri, 22 Jun 2018 13:55:12 +0000 Subject: [PATCH] - Add LICENSE text to the package OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=9 --- LICENSE | 21 +++++++++++++++++++++ nodejs-common.changes | 5 +++++ nodejs-common.spec | 4 ++++ 3 files changed, 30 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8b00de6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. + +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. diff --git a/nodejs-common.changes b/nodejs-common.changes index 7f56a39..769a088 100644 --- a/nodejs-common.changes +++ b/nodejs-common.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 22 12:31:05 UTC 2018 - dcassany@suse.de + +- Add LICENSE text to the package + ------------------------------------------------------------------- Wed Aug 2 14:29:04 UTC 2017 - adam.majer@suse.de diff --git a/nodejs-common.spec b/nodejs-common.spec index c29caea..d051e58 100644 --- a/nodejs-common.spec +++ b/nodejs-common.spec @@ -33,6 +33,7 @@ License: MIT Group: Development/Languages/NodeJS Url: https://github.com/AdamMajer/nodejs-packaging Source1: node +Source2: LICENSE Requires: nodejs Conflicts: nodejs4 < 4.8.4 Conflicts: nodejs6 < 6.11.1 @@ -48,6 +49,8 @@ while retaining the same codestream version. %prep %build +cp %{S:2} . + %install install -D -m 0755 %{S:1} %{buildroot}%{_bindir}/node ln -s node %{buildroot}%{_bindir}/npm @@ -58,5 +61,6 @@ ln -s node %{buildroot}%{_bindir}/npx %{_bindir}/node %{_bindir}/npm %{_bindir}/npx +%license LICENSE %changelog