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