nodejs-common/nodejs-common.spec
Adam Majer bf4a5cd9cd security updates mostly,
+ Fix for inspector DNS rebinding vulnerability
  (bsc#1087463, CVE-2018-7160)
+ Fix for 'path' module regular expression
  denial of service (bsc#1087459, CVE-2018-7158)
+ Reject spaces in HTTP Content-Length header
  values (bsc#1087453, CVE-2018-7159)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=8
2018-04-03 11:21:05 +00:00

63 lines
1.8 KiB
RPMSpec

#
# spec file for package nodejs-common
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
###########################################################
#
# WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
#
# This spec file is generated from a template hosted at
# https://github.com/AdamMajer/nodejs-packaging
#
###########################################################
Name: nodejs-common
Version: 2.0
Release: 0
Summary: Common files for the NodeJS ecosystem
License: MIT
Group: Development/Languages/NodeJS
Url: https://github.com/AdamMajer/nodejs-packaging
Source1: node
Requires: nodejs
Conflicts: nodejs4 < 4.8.4
Conflicts: nodejs6 < 6.11.1
Conflicts: nodejs7 < 7.10.1
Conflicts: nodejs8 < 8.1.4
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Common NodeJS files that allow recursive invocation of Node executable
while retaining the same codestream version.
%prep
%build
%install
install -D -m 0755 %{S:1} %{buildroot}%{_bindir}/node
ln -s node %{buildroot}%{_bindir}/npm
ln -s node %{buildroot}%{_bindir}/npx
%files
%defattr(-,root,root)
%{_bindir}/node
%{_bindir}/npm
%{_bindir}/npx
%changelog