forked from autogits/nodejs-common
Accepting request 620954 from devel:languages:nodejs
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/620954 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs-common?expand=0&rev=3
This commit is contained in:
commit
c5fe0f5d88
21
LICENSE
Normal file
21
LICENSE
Normal 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.
|
@ -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
|
Wed Aug 2 14:29:04 UTC 2017 - adam.majer@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package nodejs-common
|
# spec file for package nodejs-common
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -33,6 +33,7 @@ License: MIT
|
|||||||
Group: Development/Languages/NodeJS
|
Group: Development/Languages/NodeJS
|
||||||
Url: https://github.com/AdamMajer/nodejs-packaging
|
Url: https://github.com/AdamMajer/nodejs-packaging
|
||||||
Source1: node
|
Source1: node
|
||||||
|
Source2: LICENSE
|
||||||
Requires: nodejs
|
Requires: nodejs
|
||||||
Conflicts: nodejs4 < 4.8.4
|
Conflicts: nodejs4 < 4.8.4
|
||||||
Conflicts: nodejs6 < 6.11.1
|
Conflicts: nodejs6 < 6.11.1
|
||||||
@ -48,6 +49,8 @@ while retaining the same codestream version.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%build
|
%build
|
||||||
|
cp %{S:2} .
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0755 %{S:1} %{buildroot}%{_bindir}/node
|
install -D -m 0755 %{S:1} %{buildroot}%{_bindir}/node
|
||||||
ln -s node %{buildroot}%{_bindir}/npm
|
ln -s node %{buildroot}%{_bindir}/npm
|
||||||
@ -58,5 +61,6 @@ ln -s node %{buildroot}%{_bindir}/npx
|
|||||||
%{_bindir}/node
|
%{_bindir}/node
|
||||||
%{_bindir}/npm
|
%{_bindir}/npm
|
||||||
%{_bindir}/npx
|
%{_bindir}/npx
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user