- Add LICENSE text to the package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=9
This commit is contained in:
Adam Majer 2018-06-22 13:55:12 +00:00 committed by Git OBS Bridge
parent bf4a5cd9cd
commit fd2fc8377a
3 changed files with 30 additions and 0 deletions

21
LICENSE Normal file
View File

@ -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.

View File

@ -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

View File

@ -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