Blame SPECS/nodejs.spec

d9632f
%{?scl:%scl_package nodejs}
d9632f
%{!?scl:%global pkg_name %{name}}
d9632f
d9632f
%global with_debug 1
d9632f
d9632f
%{!?_with_bootstrap: %global bootstrap 1}
d9632f
d9632f
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{pkg_name}-%{version}}
d9632f
d9632f
# ARM builds currently break on the Debug builds, so we'll just
d9632f
# build the standard runtime until that gets sorted out.
d9632f
%ifarch %{arm} aarch64 %{power64}
d9632f
%global with_debug 1
d9632f
%endif
d9632f
d9632f
# == Node.js Version ==
d9632f
# Note: Fedora should only ship LTS versions of Node.js (currently expected
d9632f
# to be major versions with even numbers). The odd-numbered versions are new
d9632f
# feature releases that are only supported for nine months, which is shorter
d9632f
# than a Fedora release lifecycle.
d9632f
%global nodejs_major 8
d9632f
%global nodejs_minor 6
d9632f
%global nodejs_patch 0
d9632f
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
d9632f
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
d9632f
%global nodejs_release 1
d9632f
d9632f
# == Bundled Dependency Versions ==
d9632f
# v8 - from deps/v8/include/v8-version.h
d9632f
%global v8_major 6
d9632f
%global v8_minor 0
d9632f
%global v8_build 287
d9632f
%global v8_patch 53
d9632f
# V8 presently breaks ABI at least every x.y release while never bumping SONAME
d9632f
%global v8_abi %{v8_major}.%{v8_minor}
d9632f
%global v8_version %{v8_major}.%{v8_minor}.%{v8_build}.%{v8_patch}
d9632f
d9632f
# c-ares - from deps/cares/include/ares_version.h
d9632f
%global c_ares_major 1
d9632f
%global c_ares_minor 10
d9632f
%global c_ares_patch 1
d9632f
%global c_ares_version %{c_ares_major}.%{c_ares_minor}.%{c_ares_patch}
d9632f
d9632f
# http-parser - from deps/http_parser/http_parser.h
d9632f
%global http_parser_major 2
d9632f
%global http_parser_minor 7
d9632f
%global http_parser_patch 0
d9632f
%global http_parser_version %{http_parser_major}.%{http_parser_minor}.%{http_parser_patch}
d9632f
d9632f
# libuv - from deps/uv/include/uv-version/h
d9632f
%global libuv_major 1
d9632f
%global libuv_minor 14
d9632f
%global libuv_patch 1
d9632f
%global libuv_version %{libuv_major}.%{libuv_minor}.%{libuv_patch}
d9632f
d9632f
# punycode - from lib/punycode.js
d9632f
# Note: this was merged into the mainline since 0.6.x
d9632f
# Note: this will be unmerged in v7 or v8
d9632f
%global punycode_major 2
d9632f
%global punycode_minor 0
d9632f
%global punycode_patch 0
d9632f
%global punycode_version %{punycode_major}.%{punycode_minor}.%{punycode_patch}
d9632f
d9632f
# npm - from deps/npm/package.json
d9632f
%global npm_major 5
d9632f
%global npm_minor 3
d9632f
%global npm_patch 0
d9632f
%global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}
d9632f
d9632f
# In order to avoid needing to keep incrementing the release version for the
d9632f
# main package forever, we will just construct one for npm that is guaranteed
d9632f
# to increment safely. Changing this can only be done during an update when the
d9632f
# base npm version number is increasing.
d9632f
%global npm_release %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_release}
d9632f
d9632f
# Filter out the NPM bundled dependencies so we aren't providing them
d9632f
%global __provides_exclude_from ^%{_prefix}/lib/node_modules/npm/.*$
d9632f
%global __requires_exclude_from ^%{_prefix}/lib/node_modules/npm/.*$
d9632f
d9632f
d9632f
Name: %{?scl_prefix}nodejs
d9632f
Version: %{nodejs_version}
d9632f
Release: %{nodejs_release}%{?dist}
d9632f
Summary: JavaScript runtime
d9632f
License: MIT and ASL 2.0 and ISC and BSD
d9632f
Group: Development/Languages
d9632f
URL: http://nodejs.org/
d9632f
d9632f
# nodejs bundles openssl, but we use the system version in Fedora
d9632f
# because openssl contains prohibited code, we remove openssl completely from
d9632f
# the tarball, using the script in Source100
d9632f
Source0: node-v%{nodejs_version}-stripped.tar.gz
d9632f
Source100: %{pkg_name}-tarball.sh
d9632f
d9632f
# The native module Requires generator remains in the nodejs SRPM, so it knows
d9632f
# the nodejs and v8 versions.  The remainder has migrated to the
d9632f
# nodejs-packaging SRPM.
d9632f
Source7: nodejs_native.attr
d9632f
d9632f
# Disable running gyp on bundled deps we don't use
d9632f
Patch1: 0001-Disable-running-gyp-files-for-bundled-deps.patch
d9632f
d9632f
Patch2: 0001-Fix-aarch64-debug.patch
d9632f
d9632f
# Disable tests that are failing
d9632f
# https://github.com/nodejs/help/issues/687
d9632f
#Patch3: 0001-Disable-failed-tests.patch
d9632f
d9632f
%{?scl:Requires: %{scl}-runtime}
d9632f
%{?scl:BuildRequires: %{scl}-runtime}
d9632f
BuildRequires: python-devel
d9632f
#BuildRequires: libicu-devel
d9632f
BuildRequires: zlib-devel
d9632f
BuildRequires: devtoolset-7-gcc
d9632f
BuildRequires: devtoolset-7-gcc-c++
d9632f
BuildRequires: procps-ng
d9632f
BuildRequires: systemtap-sdt-devel
d9632f
d9632f
%if ! 0%{?bootstrap}
d9632f
#BuildRequires: systemtap-sdt-devel
d9632f
BuildRequires: %{?scl_prefix}http-parser-devel >= 2.7.0
d9632f
%else
d9632f
Provides: bundled(%{?scl_prefix}http-parser) = %{http_parser_version}
d9632f
%endif
d9632f
d9632f
BuildRequires: openssl-devel >= 1:1.0.2
d9632f
d9632f
# we need the system certificate store when Patch2 is applied
d9632f
Requires: ca-certificates
d9632f
d9632f
#we need ABI virtual provides where SONAMEs aren't enough/not present so deps
d9632f
#break when binary compatibility is broken
d9632f
Provides: %{?scl_prefix}nodejs(abi) = %{nodejs_abi}
d9632f
Provides: %{?scl_prefix}nodejs(abi%{nodejs_major}) = %{nodejs_abi}
d9632f
Provides: %{?scl_prefix}nodejs(v8-abi) = %{v8_abi}
d9632f
Provides: %{?scl_prefix}nodejs(v8-abi%{v8_major}) = %{v8_abi}
d9632f
d9632f
#this corresponds to the "engine" requirement in package.json
d9632f
Provides: %{?scl_prefix}nodejs(engine) = %{nodejs_version}
d9632f
d9632f
# Node.js currently has a conflict with the 'node' package in Fedora
d9632f
# The ham-radio group has agreed to rename their binary for us, but
d9632f
# in the meantime, we're setting an explicit Conflicts: here
d9632f
Conflicts: node <= 0.3.2-12
d9632f
d9632f
# The punycode module was absorbed into the standard library in v0.6.
d9632f
# It still exists as a seperate package for the benefit of users of older
d9632f
# versions.  Since we've never shipped anything older than v0.10 in Fedora,
d9632f
# we don't need the seperate nodejs-punycode package, so we Provide it here so
d9632f
# dependent packages don't need to override the dependency generator.
d9632f
# See also: RHBZ#11511811
d9632f
# UPDATE: punycode will be deprecated and so we should unbundle it in Node v8
d9632f
# and use upstream module instead
d9632f
# https://github.com/nodejs/node/commit/29e49fc286080215031a81effbd59eac092fff2f
d9632f
Provides: %{?scl_prefix}nodejs-punycode = %{punycode_version}
d9632f
Provides: %{?scl_prefix}npm(punycode) = %{punycode_version}
d9632f
d9632f
d9632f
# Node.js has forked c-ares from upstream in an incompatible way, so we need
d9632f
# to carry the bundled version internally.
d9632f
# See https://github.com/nodejs/node/commit/766d063e0578c0f7758c3a965c971763f43fec85
d9632f
Provides: bundled(%{?scl_prefix}c-ares) = %{c_ares_version}
d9632f
d9632f
# Node.js is closely tied to the version of v8 that is used with it. It makes
d9632f
# sense to use the bundled version because upstream consistently breaks ABI
d9632f
# even in point releases. Node.js upstream has now removed the ability to build
d9632f
# against a shared system version entirely.
d9632f
# See https://github.com/nodejs/node/commit/d726a177ed59c37cf5306983ed00ecd858cfbbef
d9632f
Provides: bundled(%{?scl_prefix}v8) = %{v8_version}
d9632f
d9632f
# Node.js and http-parser share an upstream. The http-parser upstream does not
d9632f
# do releases often and is almost always far behind the bundled version
d9632f
Provides: bundled(%{?scl_prefix}http-parser) = %{http_parser_version}
d9632f
d9632f
# We now bundle libuv in SCL too
d9632f
Provides: bundled(%{?scl_prefix}libuv) = %{libuv_version}
d9632f
d9632f
# Node.js provides http2 support, but shared option is not yet available
d9632f
Provides: bundled(%{?scl_prefix}nghttp2) = 1.25.0
d9632f
d9632f
# Make sure we keep NPM up to date when we update Node.js
d9632f
Requires: %{?scl_prefix}npm = %{npm_version}-%{npm_release}%{?dist}
d9632f
d9632f
%description
d9632f
Node.js is a platform built on Chrome's JavaScript runtime
d9632f
for easily building fast, scalable network applications.
d9632f
Node.js uses an event-driven, non-blocking I/O model that
d9632f
makes it lightweight and efficient, perfect for data-intensive
d9632f
real-time applications that run across distributed devices.
d9632f
d9632f
d9632f
%package devel
d9632f
Summary: JavaScript runtime - development headers
d9632f
Group: Development/Languages
d9632f
Requires: %{?scl_prefix}%{pkg_name}%{?_isa} = %{nodejs_version}-%{nodejs_release}%{?dist}
d9632f
Requires: openssl-devel%{?_isa}
d9632f
Requires: zlib-devel%{?_isa}
d9632f
Requires: %{?scl_prefix}runtime
d9632f
d9632f
%if ! 0%{?bootstrap}
d9632f
Requires: %{?scl_prefix}http-parser-devel%{?_isa}
d9632f
%endif
d9632f
d9632f
d9632f
%description devel
d9632f
Development headers for the Node.js JavaScript runtime.
d9632f
d9632f
d9632f
%package -n %{?scl_prefix}npm
d9632f
Summary: Node.js Package Manager
d9632f
Version: %{npm_version}
d9632f
Release: %{npm_release}%{?dist}
d9632f
d9632f
# We used to ship npm separately, but it is so tightly integrated with Node.js
d9632f
# (and expected to be present on all Node.js systems) that we ship it bundled
d9632f
# now.
d9632f
Provides: %{?scl_prefix}npm = %{npm_version}
d9632f
Requires: %{?scl_prefix}nodejs = %{nodejs_version}-%{nodejs_release}%{?dist}
d9632f
d9632f
# Do not add epoch to the virtual NPM provides or it will break
d9632f
# the automatic dependency-generation script.
d9632f
Provides: %{?scl_prefix}npm(npm) = %{npm_version}
d9632f
d9632f
# Shipping each npm dependency as rpm is not very handy, so we bundle it now.
d9632f
# However we still need to provide them in case there is a CVE
d9632f
Provides: bundled(%{?scl_prefix}nodejs-JSONStream) = 1.3.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-abbrev) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-agent-base) = 4.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-agentkeepalive) = 3.3.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ajv) = 4.11.8
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ansi-align) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ansi-regex) = 2.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ansi-regex) = 3.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ansi-styles) = 2.2.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ansicolors) = 0.3.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ansistyles) = 0.1.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-aproba) = 1.1.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-archy) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-are-we-there-yet) = 1.1.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-asap) = 2.0.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-asn1) = 0.2.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-assert-plus) = 0.2.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-assert-plus) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-asynckit) = 0.4.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-aws-sign2) = 0.6.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-aws4) = 1.6.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-balanced-match) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-bcrypt-pbkdf) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-bl) = 1.2.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-block-stream) = 0.0.9
d9632f
Provides: bundled(%{?scl_prefix}nodejs-bluebird) = 3.5.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-boom) = 2.10.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-boxen) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-brace-expansion) = 1.1.8
d9632f
Provides: bundled(%{?scl_prefix}nodejs-builtin-modules) = 1.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-builtins) = 1.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-cacache) = 9.2.9
d9632f
Provides: bundled(%{?scl_prefix}nodejs-call-limit) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-camelcase) = 4.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-capture-stack-trace) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-caseless) = 0.12.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-chalk) = 1.1.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-chownr) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-cli-boxes) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-cliui) = 3.2.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-clone) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-cmd-shim) = 2.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-co) = 4.6.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-code-point-at) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-columnify) = 1.5.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-combined-stream) = 1.0.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-concat-map) = 0.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-concat-stream) = 1.6.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-config-chain) = 1.1.11
d9632f
Provides: bundled(%{?scl_prefix}nodejs-configstore) = 3.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-console-control-strings) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-copy-concurrently) = 1.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-core-util-is) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-create-error-class) = 3.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-cross-spawn-async) = 2.2.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-cross-spawn) = 4.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-cryptiles) = 2.0.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-crypto-random-string) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-cyclist) = 0.2.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-dashdash) = 1.14.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-debug) = 2.6.8
d9632f
Provides: bundled(%{?scl_prefix}nodejs-debuglog) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-decamelize) = 1.2.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-deep-extend) = 0.4.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-defaults) = 1.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-delayed-stream) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-delegates) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-detect-indent) = 5.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-dezalgo) = 1.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-dot-prop) = 4.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-dotenv) = 4.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-duplexer3) = 0.1.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-duplexify) = 3.5.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ecc-jsbn) = 0.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-editor) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-encoding) = 0.1.12
d9632f
Provides: bundled(%{?scl_prefix}nodejs-end-of-stream) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-end-of-stream) = 1.4.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-err-code) = 1.1.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-errno) = 0.1.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-error-ex) = 1.3.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-es6-promise) = 4.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-es6-promisify) = 5.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-escape-string-regexp) = 1.0.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-execa) = 0.4.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-execa) = 0.5.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-extend) = 3.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-extsprintf) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-find-up) = 2.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-flush-write-stream) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-forever-agent) = 0.6.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-form-data) = 2.1.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-from2) = 1.3.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-from2) = 2.3.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-fs-vacuum) = 1.2.10
d9632f
Provides: bundled(%{?scl_prefix}nodejs-fs-write-stream-atomic) = 1.0.10
d9632f
Provides: bundled(%{?scl_prefix}nodejs-fs.realpath) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-fstream-ignore) = 1.0.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-fstream-npm) = 1.2.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-fstream) = 1.0.11
d9632f
Provides: bundled(%{?scl_prefix}nodejs-gauge) = 2.7.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-genfun) = 4.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-get-caller-file) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-get-stream) = 2.3.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-get-stream) = 3.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-getpass) = 0.1.7
d9632f
Provides: bundled(%{?scl_prefix}nodejs-glob) = 7.1.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-got) = 6.7.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-graceful-fs) = 4.1.11
d9632f
Provides: bundled(%{?scl_prefix}nodejs-har-schema) = 1.0.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-har-validator) = 4.2.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-has-ansi) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-has-unicode) = 2.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-hawk) = 3.1.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-hoek) = 2.16.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-hosted-git-info) = 2.5.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-http-cache-semantics) = 3.7.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-http-proxy-agent) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-http-signature) = 1.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-https-proxy-agent) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-humanize-ms) = 1.2.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-iconv-lite) = 0.4.18
d9632f
Provides: bundled(%{?scl_prefix}nodejs-iferr) = 0.1.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-import-lazy) = 2.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-imurmurhash) = 0.1.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-inflight) = 1.0.6
d9632f
Provides: bundled(%{?scl_prefix}nodejs-inherits) = 2.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ini) = 1.3.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-init-package-json) = 1.10.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-invert-kv) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ip) = 1.1.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-is-arrayish) = 0.2.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-is-builtin-module) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-is-fullwidth-code-point) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-is-fullwidth-code-point) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-is-npm) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-is-obj) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-is-redirect) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-is-retry-allowed) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-is-stream) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-is-typedarray) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-isarray) = 0.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-isarray) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-isexe) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-isstream) = 0.1.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-jju) = 1.3.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-jsbn) = 0.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-json-parse-helpfulerror) = 1.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-json-schema) = 0.2.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-json-stable-stringify) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-json-stringify-safe) = 5.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-jsonify) = 0.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-jsonparse) = 1.3.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-jsprim) = 1.4.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-latest-version) = 3.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lazy-property) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lcid) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-libnpx) = 9.2.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-load-json-file) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-locate-path) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lockfile) = 1.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash._baseindexof) = 3.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash._baseuniq) = 4.6.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash._bindcallback) = 3.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash._cacheindexof) = 3.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash._createcache) = 3.1.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash._createset) = 4.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash._getnative) = 3.9.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash._root) = 3.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash.clonedeep) = 4.5.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash.restparam) = 3.6.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash.union) = 4.6.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash.uniq) = 4.5.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lodash.without) = 4.4.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lowercase-keys) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-lru-cache) = 4.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-make-dir) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-make-fetch-happen) = 2.4.13
d9632f
Provides: bundled(%{?scl_prefix}nodejs-mem) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-mime-db) = 1.27.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-mime-types) = 2.1.15
d9632f
Provides: bundled(%{?scl_prefix}nodejs-mimic-fn) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-minimatch) = 3.0.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-minimist) = 0.0.8
d9632f
Provides: bundled(%{?scl_prefix}nodejs-minimist) = 1.2.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-mississippi) = 1.3.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-mkdirp) = 0.5.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-move-concurrently) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ms) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-mute-stream) = 0.0.7
d9632f
Provides: bundled(%{?scl_prefix}nodejs-node-fetch-npm) = 2.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-node-gyp) = 3.6.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-nopt) = 3.0.6
d9632f
Provides: bundled(%{?scl_prefix}nodejs-nopt) = 4.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-normalize-package-data) = 2.4.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-npm-cache-filename) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-npm-install-checks) = 3.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-npm-package-arg) = 5.1.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-npm-pick-manifest) = 1.0.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-npm-registry-client) = 8.4.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-npm-run-path) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-npm-run-path) = 2.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-npm-user-validate) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-npmlog) = 4.1.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-number-is-nan) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-oauth-sign) = 0.8.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-object-assign) = 4.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-once) = 1.3.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-once) = 1.4.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-opener) = 1.4.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-os-homedir) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-os-locale) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-os-tmpdir) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-osenv) = 0.1.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-p-finally) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-p-limit) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-p-locate) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-package-json) = 4.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-pacote) = 2.7.38
d9632f
Provides: bundled(%{?scl_prefix}nodejs-parallel-transform) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-parse-json) = 2.2.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-path-exists) = 3.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-path-is-absolute) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-path-is-inside) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-path-key) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-path-key) = 2.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-path-type) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-performance-now) = 0.2.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-pify) = 2.3.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-pinkie-promise) = 2.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-pinkie) = 2.0.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-prepend-http) = 1.0.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-process-nextick-args) = 1.0.7
d9632f
Provides: bundled(%{?scl_prefix}nodejs-promise-inflight) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-promise-retry) = 1.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-promzard) = 0.3.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-proto-list) = 1.2.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-protoduck) = 4.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-prr) = 0.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-pseudomap) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-pump) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-pumpify) = 1.3.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-punycode) = 1.4.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-qs) = 6.4.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-rc) = 1.2.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-read-cmd-shim) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-read-installed) = 4.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-read-package-json) = 2.0.10
d9632f
Provides: bundled(%{?scl_prefix}nodejs-read-package-tree) = 5.1.6
d9632f
Provides: bundled(%{?scl_prefix}nodejs-read-pkg-up) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-read-pkg) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-read) = 1.0.7
d9632f
Provides: bundled(%{?scl_prefix}nodejs-readable-stream) = 1.1.14
d9632f
Provides: bundled(%{?scl_prefix}nodejs-readable-stream) = 2.3.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-readdir-scoped-modules) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-registry-auth-token) = 3.3.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-registry-url) = 3.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-request) = 2.81.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-require-directory) = 2.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-require-main-filename) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-retry) = 0.10.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-rimraf) = 2.6.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-run-queue) = 1.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-safe-buffer) = 5.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-semver-diff) = 2.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-semver) = 5.3.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-set-blocking) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-sha) = 2.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-signal-exit) = 3.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-slide) = 1.1.6
d9632f
Provides: bundled(%{?scl_prefix}nodejs-smart-buffer) = 1.1.15
d9632f
Provides: bundled(%{?scl_prefix}nodejs-sntp) = 1.0.9
d9632f
Provides: bundled(%{?scl_prefix}nodejs-socks-proxy-agent) = 3.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-socks) = 1.1.10
d9632f
Provides: bundled(%{?scl_prefix}nodejs-sorted-object) = 2.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-sorted-union-stream) = 2.1.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-spdx-correct) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-spdx-expression-parse) = 1.0.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-spdx-license-ids) = 1.2.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-sshpk) = 1.13.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-ssri) = 4.1.6
d9632f
Provides: bundled(%{?scl_prefix}nodejs-stream-each) = 1.2.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-stream-iterate) = 1.2.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-stream-shift) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-string-width) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-string-width) = 2.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-string_decoder) = 0.10.31
d9632f
Provides: bundled(%{?scl_prefix}nodejs-string_decoder) = 1.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-stringstream) = 0.0.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-strip-ansi) = 3.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-strip-ansi) = 4.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-strip-bom) = 3.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-strip-eof) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-strip-json-comments) = 2.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-supports-color) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-tar-fs) = 1.15.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-tar-stream) = 1.5.4
d9632f
Provides: bundled(%{?scl_prefix}nodejs-tar) = 2.2.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-term-size) = 0.1.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-text-table) = 0.2.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-through2) = 2.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-through) = 2.3.8
d9632f
Provides: bundled(%{?scl_prefix}nodejs-timed-out) = 4.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-tough-cookie) = 2.3.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-tunnel-agent) = 0.6.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-tweetnacl) = 0.14.5
d9632f
Provides: bundled(%{?scl_prefix}nodejs-typedarray) = 0.0.6
d9632f
Provides: bundled(%{?scl_prefix}nodejs-uid-number) = 0.0.6
d9632f
Provides: bundled(%{?scl_prefix}nodejs-umask) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-unique-filename) = 1.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-unique-slug) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-unique-string) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-unpipe) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-unzip-response) = 2.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-update-notifier) = 2.2.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-url-parse-lax) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-util-deprecate) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-util-extend) = 1.0.3
d9632f
Provides: bundled(%{?scl_prefix}nodejs-uuid) = 3.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-validate-npm-package-license) = 3.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-validate-npm-package-name) = 3.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-verror) = 1.3.6
d9632f
Provides: bundled(%{?scl_prefix}nodejs-wcwidth) = 1.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-which-module) = 2.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-which) = 1.2.14
d9632f
Provides: bundled(%{?scl_prefix}nodejs-wide-align) = 1.1.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-widest-line) = 1.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-worker-farm) = 1.4.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-wrap-ansi) = 2.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-wrappy) = 1.0.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-write-file-atomic) = 2.1.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-xdg-basedir) = 3.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-xtend) = 4.0.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-y18n) = 3.2.1
d9632f
Provides: bundled(%{?scl_prefix}nodejs-yallist) = 2.1.2
d9632f
Provides: bundled(%{?scl_prefix}nodejs-yargs-parser) = 7.0.0
d9632f
Provides: bundled(%{?scl_prefix}nodejs-yargs) = 8.0.2
d9632f
d9632f
%description -n %{?scl_prefix}npm
d9632f
npm is a package manager for node.js. You can use it to install and publish
d9632f
your node programs. It manages dependencies and does other cool stuff.
d9632f
d9632f
d9632f
%package docs
d9632f
Summary: Node.js API documentation
d9632f
Group: Documentation
d9632f
BuildArch: noarch
d9632f
d9632f
%description docs
d9632f
The API documentation for the Node.js JavaScript runtime.
d9632f
d9632f
d9632f
%prep
d9632f
%setup -q -n node-v%{nodejs_version}
d9632f
d9632f
# remove bundled dependencies that we aren't building
d9632f
%patch1 -p1
d9632f
d9632f
# https://github.com/nodejs/node/issues/15395
d9632f
%patch2 -p1
d9632f
d9632f
# disable tests
d9632f
#%patch3 -p1
d9632f
d9632f
rm -rf deps/zlib
d9632f
d9632f
d9632f
%build
d9632f
%{?scl:scl enable %{scl} devtoolset-7 - << \EOF}
d9632f
set -ex
d9632f
# build with debugging symbols and add defines from libuv (#892601)
d9632f
# Node's v8 breaks with GCC 6 because of incorrect usage of methods on
d9632f
# NULL objects. We need to pass -fno-delete-null-pointer-checks
d9632f
export CFLAGS='%{optflags} -g \
d9632f
               -D_LARGEFILE_SOURCE \
d9632f
               -D_FILE_OFFSET_BITS=64 \
d9632f
               -DZLIB_CONST \
d9632f
               -fno-delete-null-pointer-checks'
d9632f
export CXXFLAGS='%{optflags} -g \
d9632f
                 -D_LARGEFILE_SOURCE \
d9632f
                 -D_FILE_OFFSET_BITS=64 \
d9632f
                 -DZLIB_CONST \
d9632f
                 -fno-delete-null-pointer-checks'
d9632f
d9632f
# Explicit new lines in C(XX)FLAGS can break naive build scripts
d9632f
export CFLAGS="$(echo ${CFLAGS} | tr '\n\\' '  ')"
d9632f
export CXXFLAGS="$(echo ${CXXFLAGS} | tr '\n\\' '  ')"
d9632f
d9632f
%if ! 0%{?bootstrap}
d9632f
./configure --prefix=%{_prefix} \
d9632f
           --shared-openssl \
d9632f
           --shared-zlib \
d9632f
           --shared-http-parser \
d9632f
           --with-dtrace \
d9632f
           --debug-http2 \
d9632f
           --debug-nghttp2 \
d9632f
           --openssl-use-def-ca-store
d9632f
%else
d9632f
./configure --prefix=%{_prefix} \
d9632f
           --shared-openssl \
d9632f
           --shared-zlib \
d9632f
           --with-dtrace \
d9632f
           --debug-http2 \
d9632f
           --debug-nghttp2 \
d9632f
           --openssl-use-def-ca-store
d9632f
%endif
d9632f
d9632f
make BUILDTYPE=Release %{?_smp_mflags}
d9632f
%if 0%{?with_debug} == 1
d9632f
make BUILDTYPE=Debug %{?_smp_mflags}
d9632f
%endif
d9632f
d9632f
%{?scl:EOF}
d9632f
d9632f
d9632f
%install
d9632f
./tools/install.py install %{buildroot} %{_prefix}
d9632f
d9632f
# Set the binary permissions properly
d9632f
chmod 0755 %{buildroot}/%{_bindir}/node
d9632f
d9632f
%if 0%{?with_debug} == 1
d9632f
# Install the debug binary and set its permissions
d9632f
install -Dpm0755 out/Debug/node %{buildroot}/%{_bindir}/node_g
d9632f
%endif
d9632f
d9632f
# own the sitelib directory
d9632f
mkdir -p %{buildroot}%{_prefix}/lib/node_modules
d9632f
d9632f
# ensure Requires are added to every native module that match the Provides from
d9632f
# the nodejs build in the buildroot
d9632f
install -Dpm0644 %{SOURCE7} %{buildroot}%{_rpmconfigdir}/fileattrs/nodejs_native.attr
d9632f
cat << EOF > %{buildroot}%{_rpmconfigdir}/nodejs_native.req
d9632f
#!/bin/sh
d9632f
echo 'nodejs(abi%{nodejs_major}) >= %nodejs_abi'
d9632f
echo 'nodejs(v8-abi%{v8_major}) >= %v8_abi'
d9632f
EOF
d9632f
chmod 0755 %{buildroot}%{_rpmconfigdir}/nodejs_native.req
d9632f
d9632f
#install documentation
d9632f
mkdir -p %{buildroot}%{_pkgdocdir}/html
d9632f
cp -pr doc/* %{buildroot}%{_pkgdocdir}/html
d9632f
rm -f %{buildroot}%{_pkgdocdir}/html/nodejs.1
d9632f
d9632f
#node-gyp needs common.gypi too
d9632f
mkdir -p %{buildroot}%{_datadir}/node
d9632f
cp -p common.gypi %{buildroot}%{_datadir}/node
d9632f
d9632f
# Install the GDB init tool into the documentation directory
d9632f
mv %{buildroot}/%{_datadir}/doc/node/gdbinit %{buildroot}/%{_pkgdocdir}/gdbinit
d9632f
d9632f
# Install LLDB into documentation directory
d9632f
mv %{buildroot}/%{_datadir}/doc/node/lldbinit %{buildroot}/%{_pkgdocdir}/lldbinit
d9632f
mv %{buildroot}/%{_datadir}/doc/node/lldb_commands.py %{buildroot}/%{_pkgdocdir}/lldb_commands.py
d9632f
d9632f
# Since the old version of NPM was unbundled, there are a lot of symlinks in
d9632f
# it's node_modules directory. We need to keep these as symlinks to ensure we
d9632f
# can backtrack on this if we decide to.
d9632f
d9632f
# Rename the npm node_modules directory to node_modules.bundled
d9632f
mv %{buildroot}/%{_prefix}/lib/node_modules/npm/node_modules \
d9632f
   %{buildroot}/%{_prefix}/lib/node_modules/npm/node_modules.bundled
d9632f
d9632f
# Recreate all the symlinks
d9632f
mkdir -p %{buildroot}/%{_prefix}/lib/node_modules/npm/node_modules
d9632f
FILES=%{buildroot}/%{_prefix}/lib/node_modules/npm/node_modules.bundled/*
d9632f
for f in $FILES
d9632f
do
d9632f
  module=`basename $f`
d9632f
  ln -s ../node_modules.bundled/$module %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/$module
d9632f
done
d9632f
d9632f
# install NPM docs to mandir
d9632f
mkdir -p %{buildroot}%{_mandir} \
d9632f
         %{buildroot}%{_pkgdocdir}/npm
d9632f
d9632f
cp -pr deps/npm/man/* %{buildroot}%{_mandir}/
d9632f
rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/man
d9632f
ln -sf %{_mandir}  %{buildroot}%{_prefix}/lib/node_modules/npm/man
d9632f
d9632f
# Install Markdown and HTML documentation to %{_pkgdocdir}
d9632f
cp -pr deps/npm/html deps/npm/doc %{buildroot}%{_pkgdocdir}/npm/
d9632f
rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/html \
d9632f
       %{buildroot}%{_prefix}/lib/node_modules/npm/doc
d9632f
d9632f
ln -sf %{_pkgdocdir} %{buildroot}%{_prefix}/lib/node_modules/npm/html
d9632f
ln -sf %{_pkgdocdir}/npm/html %{buildroot}%{_prefix}/lib/node_modules/npm/doc
d9632f
d9632f
d9632f
%check
d9632f
%{?scl:scl enable %{scl} - << \EOF}
d9632f
set -ex
d9632f
# Fail the build if the versions don't match
d9632f
%{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.node, '%{nodejs_version}')"
d9632f
%{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.v8, '%{v8_version}')"
d9632f
%{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.ares.replace(/-DEV$/, ''), '%{c_ares_version}')"
d9632f
%{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.http_parser, '%{http_parser_version}')"
d9632f
d9632f
# Ensure we have punycode and that the version matches
d9632f
%{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"punycode\").version, '%{punycode_version}')"
d9632f
d9632f
# Ensure we have npm and that the version matches
d9632f
NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"npm\").version, '%{npm_version}')"
d9632f
d9632f
# move test that fails to directory which we do not use to run tests
d9632f
mv test/parallel/test-v8-serdes.js test/known_issues
d9632f
d9632f
python tools/test.py --mode=release --verbose \
d9632f
async-hooks doctool inspector message \
d9632f
parallel pseudo-tty sequential
d9632f
%{?scl:EOF}
d9632f
d9632f
%files
d9632f
%{_bindir}/node
d9632f
%{_mandir}/man1/node.*
d9632f
%dir %{_pkgdocdir}
d9632f
%dir %{_prefix}/lib/node_modules
d9632f
%dir %{_datadir}/node
d9632f
%dir %{_datadir}/systemtap
d9632f
%dir %{_datadir}/systemtap/tapset
d9632f
%{_datadir}/systemtap/tapset/node.stp
d9632f
d9632f
%dir %{_prefix}/lib/dtrace
d9632f
%{_prefix}/lib/dtrace/node.d
d9632f
d9632f
%{_rpmconfigdir}/fileattrs/nodejs_native.attr
d9632f
%{_rpmconfigdir}/nodejs_native.req
d9632f
%license LICENSE
d9632f
%doc AUTHORS CHANGELOG.md COLLABORATOR_GUIDE.md GOVERNANCE.md README.md
d9632f
d9632f
%files devel
d9632f
%if 0%{?with_debug} == 1
d9632f
%{_bindir}/node_g
d9632f
%endif
d9632f
%{_includedir}/node
d9632f
%{_datadir}/node/common.gypi
d9632f
%{_pkgdocdir}/gdbinit
d9632f
%{_pkgdocdir}/lldbinit
d9632f
%{_pkgdocdir}/lldb_commands.py*
d9632f
d9632f
%files -n %{?scl_prefix}npm
d9632f
%{_bindir}/npm
d9632f
%{_bindir}/npx
d9632f
%{_prefix}/lib/node_modules/npm
d9632f
%ghost %{_sysconfdir}/npmrc
d9632f
%ghost %{_sysconfdir}/npmignore
d9632f
%doc %{_mandir}/man*/npm*
d9632f
%doc %{_mandir}/man*/npx*
d9632f
%doc %{_mandir}/man5/package.json.5*
d9632f
%doc %{_mandir}/man5/package-lock.json.5*
d9632f
%doc %{_mandir}/man7/removing-npm.7*
d9632f
%doc %{_mandir}/man7/semver.7*
d9632f
d9632f
d9632f
%files docs
d9632f
%dir %{_pkgdocdir}
d9632f
%{_pkgdocdir}/html
d9632f
%{_pkgdocdir}/npm
d9632f
%{_pkgdocdir}/npm/html
d9632f
%{_pkgdocdir}/npm/doc
d9632f
d9632f
d9632f
%changelog
d9632f
* Wed Sep 27 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.6.0-1
d9632f
- Resolves: RHBZ#1490389
d9632f
- Update, v8.5.0 contains a CVE
d9632f
d9632f
* Thu Sep 21 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.5.0-1
d9632f
- Resolves: RHBZ#1490389
d9632f
- Update to latest version, bundle nghttp2
d9632f
d9632f
* Thu Aug 10 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.3.0-2
d9632f
- Handle failing test in better manner
d9632f
- run more tests
d9632f
d9632f
* Thu Aug 10 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.3.0-1
d9632f
- Update to 8.3.0
d9632f
- update V8 to 6.0
d9632f
- update libuv to 1.13.1
d9632f
- add bundled provides for npm modules
d9632f
- enable aarch64 builds
d9632f
d9632f
* Mon Jul 24 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.2.1-1
d9632f
- Update to 8.2.1
d9632f
- update npm to 5.3.0, add npx command
d9632f
d9632f
* Wed Jul 12 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.1.4-1
d9632f
- Security update (https://nodejs.org/en/blog/vulnerability/july-2017-security-releases/)
d9632f
- Fixes RHBZ#1463132 and RHBZ#1469706
d9632f
d9632f
* Wed Jun 28 2017 Joe Orton <jorton@redhat.com> - 8.1.2-7
d9632f
- disable debug build on aarch64
d9632f
d9632f
* Wed Jun 28 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.1.2-6
d9632f
- Build aarm64 without icu
d9632f
- switch to dts 7
d9632f
d9632f
* Tue Jun 27 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.1.2-5
d9632f
- Switch to DTS
d9632f
d9632f
* Tue Jun 27 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.1.2-4
d9632f
- Add %%BuildArch
d9632f
d9632f
* Sat Jun 24 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.1.2-3
d9632f
- Patch CVE-2017-1000381
d9632f
d9632f
* Fri Jun 23 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.1.2-2
d9632f
- some clean up after fedora
d9632f
d9632f
* Mon Jun 19 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 8.1.2-1
d9632f
- Initial v8.x build, npm@5.0.3
d9632f
- remove merged certs patch
d9632f
- build with updated system openssl
d9632f
- use fedora-style packaging, bundle npm and dependencies
d9632f
- bootstrap is modularity conditional to bundle http-parser 
d9632f
- missing from base-runtime/shared-userspace
d9632f
- RHSCL 3.0 should be built for more arches
d9632f
d9632f
* Wed Jan 11 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.9.1-2
d9632f
- Rebuild from zvetlik/rh-nodejs6
d9632f
- newer releases have problems with debug
d9632f
- add procps-ng for tests
d9632f
- remove unused patches
d9632f
d9632f
* Thu Nov 03 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.9.1-1
d9632f
- Update to 6.9.1
d9632f
d9632f
* Wed Oct 19 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.9.0-1
d9632f
- update to v6.9.0 LTS
d9632f
d9632f
* Tue Oct 04 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.7.0-5
d9632f
- Disable failing crypto tests
d9632f
d9632f
* Tue Oct 04 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.7.0-4
d9632f
- Require openssl
d9632f
d9632f
* Tue Oct 04 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.7.0-2
d9632f
- Build with shared openssl with EPEL7 patch
d9632f
d9632f
* Mon Oct 03 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.7.0-1
d9632f
- Update to 6.7.0
d9632f
d9632f
* Wed Aug 31 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.5.0-1
d9632f
- Update to 6.5.0, meanwhile built with bundled openssl
d9632f
- update system-certs patch
d9632f
d9632f
* Wed Apr 06 2016 Tomas Hrcka <thrcka@redhat.com> - 4.4.2-1
d9632f
- Rebase to latest upstream LTS release 4.4.2
d9632f
- https://nodejs.org/en/blog/release/v4.4.1/
d9632f
d9632f
* Tue Apr 05 2016 Tomas Hrcka <thrcka@redhat.com> - 4.4.1-2
d9632f
- Rebase to latest upstream LTS release 4.4.1
d9632f
- https://nodejs.org/en/blog/release/v4.4.1/
d9632f
d9632f
* Thu Mar 17 2016 Tomas Hrcka <thrcka@redhat.com> - 4.4.0-1
d9632f
- Rebase to latest upstream LTS release 4.4.0
d9632f
d9632f
* Tue Mar 01 2016 Tomas Hrcka <thrcka@redhat.com> - 4.3.0-5
d9632f
- New upstream release 4.3.0
d9632f
- https://nodejs.org/en/blog/release/v4.3.0/
d9632f
- Build with bundled openssl, this will be reverted ASAP
d9632f
- Unbundled http-parser
d9632f
d9632f
* Thu Jul 16 2015 Tomas Hrcka <thrcka@redhat.com> - 0.10.40-1
d9632f
- Rebase to latest upstream release
d9632f
d9632f
* Wed Jul 01 2015 Tomas Hrcka <thrcka@redhat.com> - 0.10.39-1
d9632f
- Rebase to latest upstream release
d9632f
d9632f
* Wed Mar 25 2015 Tomas Hrcka <thrcka@redhat.com> - 0.10.35-4
d9632f
- Enable tests during build time
d9632f
d9632f
* Tue Mar 17 2015 Tomas Hrcka <thrcka@redhat.com> - 0.10.35-2
d9632f
- Reflect dependency on specific ABI changes in v8
d9632f
- RHBZ#1197110
d9632f
d9632f
* Wed Jan 07 2015 Tomas Hrcka <thrcka@redhat.com> - 0.10.35-1
d9632f
- New upstream release 0.10.35
d9632f
d9632f
* Sun Feb 02 2014 Tomas Hrcka <thrcka@redhat.com> - 0.10.25-1
d9632f
- New upstream release 0.10.25
d9632f
d9632f
* Tue Jan 14 2014 Tomas Hrcka <thrcka@redhat.com> - 0.10.24-1
d9632f
- new upstream release 0.10.24
d9632f
d9632f
* Tue Nov 26 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.21-3
d9632f
- rebuilt with v8314 collection
d9632f
d9632f
* Tue Nov 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.22-1
d9632f
- new upstream release 0.10.22
d9632f
  http://blog.nodejs.org/2013/11/12/node-v0-10-22-stable/
d9632f
d9632f
* Mon Oct 21 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.21-2
d9632f
- Build with system wide c-ares
d9632f
d9632f
* Fri Oct 18 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.21-1
d9632f
- new upstream release 0.10.21
d9632f
  http://blog.nodejs.org/2013/10/18/node-v0-10-21-stable/
d9632f
- resolves an undisclosed security vulnerability in the http module
d9632f
d9632f
* Tue Oct 01 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.20-1
d9632f
- new upstream release 0.10.20
d9632f
  http://blog.nodejs.org/2013/09/30/node-v0-10-20-stable/
d9632f
d9632f
* Wed Sep 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.19-1
d9632f
- new upstream release 0.10.19
d9632f
  http://blog.nodejs.org/2013/09/24/node-v0-10-19-stable/
d9632f
d9632f
* Fri Sep 06 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.18-1
d9632f
- new upstream release 0.10.18
d9632f
  http://blog.nodejs.org/2013/09/04/node-v0-10-18-stable/
d9632f
d9632f
* Tue Aug 27 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.17-1
d9632f
- new upstream release 0.10.17
d9632f
  http://blog.nodejs.org/2013/08/21/node-v0-10-17-stable/
d9632f
d9632f
* Sat Aug 17 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.16-1
d9632f
- new upstream release 0.10.16
d9632f
  http://blog.nodejs.org/2013/08/16/node-v0-10-16-stable/
d9632f
- add v8-devel to -devel Requires
d9632f
- restrict -devel Requires to the same architecture
d9632f
d9632f
* Wed Aug 14 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.14-3
d9632f
- fix typo in _isa macro in v8 Requires
d9632f
d9632f
* Wed Aug 07 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.5-6
d9632f
 - Remove badly licensed fonts in script instead of patch
d9632f
d9632f
* Thu Jul 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.14-1
d9632f
- new upstream release 0.10.14
d9632f
  http://blog.nodejs.org/2013/07/25/node-v0-10-14-stable/
d9632f
d9632f
* Wed Jul 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.13-1
d9632f
- new upstream release 0.10.13
d9632f
  http://blog.nodejs.org/2013/07/09/node-v0-10-13-stable/
d9632f
- remove RPM macros, etc. now that they've migrated to nodejs-packaging
d9632f
d9632f
* Wed Jun 19 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.5-5
d9632f
 - added patch to remove badly licensed web fonts
d9632f
d9632f
* Wed Jun 19 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.5-5
d9632f
 - added patch to remove badly licensed web fonts
d9632f
d9632f
* Wed Jun 19 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.5-4
d9632f
  - strip openssl from the tarball it contains prohibited code (RHBZ#967736)
d9632f
  - patch makefile so it do not use bundled deps
d9632f
  - new stripped tarball
d9632f
d9632f
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.12-1
d9632f
- new upstream release 0.10.12
d9632f
  http://blog.nodejs.org/2013/06/18/node-v0-10-12-stable/
d9632f
- split off a -packaging subpackage with RPM macros, etc.
d9632f
- build -docs as noarch
d9632f
- copy mutiple version logic from nodejs-packaging SRPM for now
d9632f
d9632f
* Fri May 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.9-1
d9632f
- new upstream release 0.10.9
d9632f
  http://blog.nodejs.org/2013/05/30/node-v0-10-9-stable/
d9632f
d9632f
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.8-1
d9632f
- new upstream release 0.10.8
d9632f
  http://blog.nodejs.org/2013/05/24/node-v0-10-8-stable/
d9632f
d9632f
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.7-1
d9632f
- new upstream release 0.10.7
d9632f
  http://blog.nodejs.org/2013/05/17/node-v0-10-7-stable/
d9632f
- strip openssl from the tarball; it contains prohibited code (RHBZ#967736)
d9632f
- patch Makefile so we can just remove all bundled deps completely
d9632f
d9632f
* Wed May 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.6-1
d9632f
- new upstream release 0.10.6
d9632f
  http://blog.nodejs.org/2013/05/14/node-v0-10-6-stable/
d9632f
d9632f
* Tue May 14 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.5-3.1
d9632f
 - updated to latest upstream stable release
d9632f
d9632f
* Mon May 06 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.5-3
d9632f
- nodejs-fixdep: work properly when a package has no dependencies
d9632f
d9632f
* Mon Apr 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.5-2
d9632f
- nodejs-symlink-deps: make it work when --check is used and just
d9632f
  devDependencies exist
d9632f
d9632f
* Wed Apr 24 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.5-1
d9632f
- new upstream release 0.10.5
d9632f
  http://blog.nodejs.org/2013/04/23/node-v0-10-5-stable/
d9632f
d9632f
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.4-1
d9632f
- new upstream release 0.10.4
d9632f
  http://blog.nodejs.org/2013/04/11/node-v0-10-4-stable/
d9632f
- drop dependency generator files not supported on EL6
d9632f
- port nodejs_default_filter to EL6
d9632f
- add nodejs_find_provides_and_requires macro to invoke dependency generator
d9632f
- invoke the standard RPM provides and requires generators from the Node.js ones
d9632f
- write native module Requires from nodejs.req
d9632f
- change the c-ares-devel Requires in -devel to match the BuildRequires
d9632f
d9632f
* Tue Apr 09 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.10.3-2.1
d9632f
- Build against c-ares 1.9
d9632f
d9632f
* Mon Apr 08 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.10.3-3
d9632f
- Add support for software collections
d9632f
- Move rpm macros and tooling to separate package
d9632f
- add no-op macro to permit spec compatibility with EPEL
d9632f
d9632f
* Thu Apr 04 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.3-2
d9632f
- nodejs-symlink-deps: symlink unconditionally in the buildroot
d9632f
d9632f
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.3-1
d9632f
- new upstream release 0.10.3
d9632f
  http://blog.nodejs.org/2013/04/03/node-v0-10-3-stable/
d9632f
- nodejs-symlink-deps: only create symlink if target exists
d9632f
- nodejs-symlink-deps: symlink devDependencies when --check is used
d9632f
d9632f
* Sun Mar 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.2-1
d9632f
- new upstream release 0.10.2
d9632f
  http://blog.nodejs.org/2013/03/28/node-v0-10-2-stable/
d9632f
- remove %%nodejs_arches macro since it will only be useful if it is present in
d9632f
  the redhat-rpm-config package
d9632f
- add default filtering macro to remove unwanted Provides from native modules
d9632f
- nodejs-symlink-deps now supports multiple modules in one SRPM properly
d9632f
- nodejs-symlink-deps also now supports a --check argument that works in the
d9632f
  current working directry instead of the buildroot
d9632f
d9632f
* Fri Mar 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.1-1
d9632f
- new upstream release 0.10.1
d9632f
  http://blog.nodejs.org/2013/03/21/node-v0-10-1-stable/
d9632f
d9632f
* Wed Mar 20 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.0-4
d9632f
- fix escaping in dependency generator regular expressions (RHBZ#923941)
d9632f
d9632f
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.0-3
d9632f
- add virtual ABI provides for node and v8 so binary module's deps break when
d9632f
  binary compatibility is broken
d9632f
- automatically add matching Requires to nodejs binary modules
d9632f
- add %%nodejs_arches macro to future-proof ExcluseArch stanza in dependent
d9632f
  packages
d9632f
d9632f
* Tue Mar 12 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.10.0-2
d9632f
- Fix up documentation subpackage
d9632f
d9632f
* Mon Mar 11 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.10.0-1
d9632f
- Update to stable 0.10.0 release
d9632f
- https://raw.github.com/joyent/node/v0.10.0/ChangeLog
d9632f
d9632f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5-11
d9632f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d9632f
d9632f
* Tue Jan 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-10
d9632f
- minor bugfixes to RPM magic
d9632f
  - nodejs-symlink-deps: don't create an empty node_modules dir when a module
d9632f
    has no dependencies
d9632f
  - nodes-fixdep: support adding deps when none exist
d9632f
- Add the full set of headers usually bundled with node as deps to nodejs-devel.
d9632f
  This way `npm install` for native modules that assume the stuff bundled with
d9632f
  node exists will usually "just work".
d9632f
-move RPM magic to nodejs-devel as requested by FPC
d9632f
d9632f
* Sat Jan 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-9
d9632f
- fix brown paper bag bug in requires generation script
d9632f
d9632f
* Thu Jan 10 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.5-8
d9632f
- Build debug binary and install it in the nodejs-devel subpackage
d9632f
d9632f
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-7
d9632f
- don't use make install since it rebuilds everything
d9632f
d9632f
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-6
d9632f
- add %%{?isa}, epoch to v8 deps
d9632f
d9632f
* Wed Jan 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-5
d9632f
- add defines to match libuv (#892601)
d9632f
- make v8 dependency explicit (and thus more accurate)
d9632f
- add -g to $C(XX)FLAGS instead of patching configure to add it
d9632f
- don't write pointless 'npm(foo) > 0' deps
d9632f
d9632f
* Sat Jan 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-4
d9632f
- install development headers
d9632f
- add nodejs_sitearch macro
d9632f
d9632f
* Wed Jan 02 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-3
d9632f
- make nodejs-symlink-deps actually work
d9632f
d9632f
* Tue Jan 01 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-2
d9632f
- provide nodejs-devel so modules can BuildRequire it (and be consistent
d9632f
  with other interpreted languages in the distro)
d9632f
d9632f
* Tue Jan 01 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-1
d9632f
- new upstream release 0.9.5
d9632f
- provide nodejs-devel for the moment
d9632f
- fix minor bugs in RPM magic
d9632f
- add nodejs_fixdep macro so packagers can easily adjust dependencies in
d9632f
  package.json files
d9632f
d9632f
* Wed Dec 26 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.4-1
d9632f
- new upstream release 0.9.4
d9632f
- system library patches are now upstream
d9632f
- respect optflags
d9632f
- include documentation in subpackage
d9632f
- add RPM dependency generation and related magic
d9632f
- guard libuv depedency so it always gets bumped when nodejs does
d9632f
- add -devel subpackage with enough to make node-gyp happy
d9632f
d9632f
* Thu Dec 20 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-9
d9632f
- Drop requirement on openssl 1.0.1
d9632f
d9632f
* Wed Dec 19 2012 Dan HorĂ¡k <dan[at]danny.cz> - 0.9.3-8
d9632f
- set exclusive arch list to match v8
d9632f
d9632f
* Tue Dec 18 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-7
d9632f
- Add remaining changes from code review
d9632f
- Remove unnecessary BuildRequires on findutils
d9632f
- Remove %%clean section
d9632f
d9632f
* Fri Dec 14 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-6
d9632f
- Fixes from code review
d9632f
- Fix executable permissions
d9632f
- Correct the License field
d9632f
- Build debuginfo properly
d9632f
d9632f
* Thu Dec 13 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-5
d9632f
- Return back to using the standard binary name
d9632f
- Temporarily adding a conflict against the ham radio node package until they
d9632f
  complete an agreed rename of their binary.
d9632f
d9632f
* Wed Nov 28 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-4
d9632f
- Rename binary and manpage to nodejs
d9632f
d9632f
* Mon Nov 19 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-3
d9632f
- Update to latest upstream development release 0.9.3
d9632f
- Include upstreamed patches to unbundle dependent libraries
d9632f
d9632f
* Tue Oct 23 2012 Adrian Alves <alvesadrian@fedoraproject.org>  0.8.12-1
d9632f
- Fixes and Patches suggested by Matthias Runge
d9632f
d9632f
* Mon Apr 09 2012 Adrian Alves <alvesadrian@fedoraproject.org> 0.6.5
d9632f
- First build.