2017-03-22 18:19:11 +00:00
|
|
|
%global with_debug 1
|
2015-12-04 16:31:37 +00:00
|
|
|
|
2017-09-20 11:10:05 +00:00
|
|
|
# bundle dependencies that are not available as Fedora modules
|
2017-10-06 07:36:28 +00:00
|
|
|
# %%{!?_with_bootstrap: %%global bootstrap 1}
|
|
|
|
# use bcond for building modules
|
|
|
|
%bcond_with bootstrap
|
2017-05-09 14:54:00 +00:00
|
|
|
|
2016-09-12 18:21:14 +00:00
|
|
|
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
2016-02-10 15:12:55 +00:00
|
|
|
# == Node.js Version ==
|
2016-05-09 12:39:49 +00:00
|
|
|
# Note: Fedora should only ship LTS versions of Node.js (currently expected
|
|
|
|
# to be major versions with even numbers). The odd-numbered versions are new
|
|
|
|
# feature releases that are only supported for nine months, which is shorter
|
|
|
|
# than a Fedora release lifecycle.
|
2016-10-15 17:43:58 +00:00
|
|
|
%global nodejs_epoch 1
|
2017-06-28 09:00:13 +00:00
|
|
|
%global nodejs_major 8
|
2018-03-28 18:14:33 +00:00
|
|
|
%global nodejs_minor 11
|
2018-05-17 15:20:09 +00:00
|
|
|
%global nodejs_patch 2
|
2016-02-10 15:12:55 +00:00
|
|
|
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
|
2016-02-10 19:02:50 +00:00
|
|
|
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
|
2018-06-04 17:04:15 +00:00
|
|
|
%global nodejs_release 2
|
2016-02-10 15:12:55 +00:00
|
|
|
|
|
|
|
# == Bundled Dependency Versions ==
|
|
|
|
# v8 - from deps/v8/include/v8-version.h
|
2017-08-10 07:53:48 +00:00
|
|
|
%global v8_major 6
|
2018-03-08 14:35:34 +00:00
|
|
|
%global v8_minor 2
|
|
|
|
%global v8_build 414
|
2018-05-17 15:20:09 +00:00
|
|
|
%global v8_patch 54
|
2016-02-10 15:12:55 +00:00
|
|
|
# V8 presently breaks ABI at least every x.y release while never bumping SONAME
|
|
|
|
%global v8_abi %{v8_major}.%{v8_minor}
|
2016-02-10 19:02:50 +00:00
|
|
|
%global v8_version %{v8_major}.%{v8_minor}.%{v8_build}.%{v8_patch}
|
2016-02-10 15:12:55 +00:00
|
|
|
|
|
|
|
# c-ares - from deps/cares/include/ares_version.h
|
2017-06-28 09:00:13 +00:00
|
|
|
# https://github.com/nodejs/node/pull/9332
|
2016-02-10 15:12:55 +00:00
|
|
|
%global c_ares_major 1
|
|
|
|
%global c_ares_minor 10
|
|
|
|
%global c_ares_patch 1
|
2016-02-10 19:02:50 +00:00
|
|
|
%global c_ares_version %{c_ares_major}.%{c_ares_minor}.%{c_ares_patch}
|
2016-02-10 15:12:55 +00:00
|
|
|
|
2017-05-11 07:48:09 +00:00
|
|
|
# http-parser - from deps/http_parser/http_parser.h
|
|
|
|
%global http_parser_major 2
|
2018-03-28 18:36:50 +00:00
|
|
|
%global http_parser_minor 8
|
2017-05-11 07:48:09 +00:00
|
|
|
%global http_parser_patch 0
|
|
|
|
%global http_parser_version %{http_parser_major}.%{http_parser_minor}.%{http_parser_patch}
|
|
|
|
|
2017-09-20 11:10:05 +00:00
|
|
|
# libuv - from deps/uv/include/uv-version.h
|
|
|
|
%global libuv_major 1
|
2018-03-08 14:35:34 +00:00
|
|
|
%global libuv_minor 19
|
|
|
|
%global libuv_patch 1
|
2017-09-20 11:10:05 +00:00
|
|
|
%global libuv_version %{libuv_major}.%{libuv_minor}.%{libuv_patch}
|
|
|
|
|
2018-05-17 15:20:09 +00:00
|
|
|
# ICU - from configure in the configure_intl() function
|
2018-03-28 18:45:33 +00:00
|
|
|
%global libicu_major 60
|
2018-05-17 15:20:09 +00:00
|
|
|
%global libicu_minor 1
|
2018-03-28 18:45:33 +00:00
|
|
|
%global libicu_version %{libicu_major}.%{libicu_minor}
|
|
|
|
|
2018-01-11 13:27:13 +00:00
|
|
|
# nghttp2 - from deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h
|
|
|
|
%global nghttp2_major 1
|
2018-05-17 15:20:09 +00:00
|
|
|
%global nghttp2_minor 29
|
2018-01-11 13:27:13 +00:00
|
|
|
%global nghttp2_patch 0
|
|
|
|
%global nghttp2_version %{nghttp2_major}.%{nghttp2_minor}.%{nghttp2_patch}
|
|
|
|
|
2016-02-10 19:31:40 +00:00
|
|
|
# punycode - from lib/punycode.js
|
|
|
|
# Note: this was merged into the mainline since 0.6.x
|
2018-01-11 13:27:13 +00:00
|
|
|
# Note: this will be unmerged in an upcoming major release
|
2016-07-10 18:03:45 +00:00
|
|
|
%global punycode_major 2
|
|
|
|
%global punycode_minor 0
|
|
|
|
%global punycode_patch 0
|
2016-02-10 19:31:40 +00:00
|
|
|
%global punycode_version %{punycode_major}.%{punycode_minor}.%{punycode_patch}
|
|
|
|
|
2016-03-04 17:25:36 +00:00
|
|
|
# npm - from deps/npm/package.json
|
2016-08-10 13:08:48 +00:00
|
|
|
%global npm_epoch 1
|
2017-06-28 09:00:13 +00:00
|
|
|
%global npm_major 5
|
2018-01-11 13:27:13 +00:00
|
|
|
%global npm_minor 6
|
|
|
|
%global npm_patch 0
|
2016-03-04 17:25:36 +00:00
|
|
|
%global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}
|
|
|
|
|
2016-10-15 17:43:58 +00:00
|
|
|
# In order to avoid needing to keep incrementing the release version for the
|
|
|
|
# main package forever, we will just construct one for npm that is guaranteed
|
|
|
|
# to increment safely. Changing this can only be done during an update when the
|
|
|
|
# base npm version number is increasing.
|
|
|
|
%global npm_release %{nodejs_epoch}.%{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_release}
|
|
|
|
|
2016-03-04 17:25:36 +00:00
|
|
|
# Filter out the NPM bundled dependencies so we aren't providing them
|
|
|
|
%global __provides_exclude_from ^%{_prefix}/lib/node_modules/npm/.*$
|
|
|
|
%global __requires_exclude_from ^%{_prefix}/lib/node_modules/npm/.*$
|
|
|
|
|
|
|
|
|
2012-12-18 13:51:29 +00:00
|
|
|
Name: nodejs
|
2016-10-15 17:43:58 +00:00
|
|
|
Epoch: %{nodejs_epoch}
|
2016-02-10 19:02:50 +00:00
|
|
|
Version: %{nodejs_version}
|
2018-03-01 13:25:32 +00:00
|
|
|
Release: %{nodejs_release}%{?dist}
|
2012-12-18 13:51:29 +00:00
|
|
|
Summary: JavaScript runtime
|
|
|
|
License: MIT and ASL 2.0 and ISC and BSD
|
|
|
|
Group: Development/Languages
|
|
|
|
URL: http://nodejs.org/
|
2013-01-10 00:54:20 +00:00
|
|
|
|
2015-12-03 03:37:09 +00:00
|
|
|
ExclusiveArch: %{nodejs_arches}
|
2013-01-10 00:54:20 +00:00
|
|
|
|
2013-05-29 03:08:10 +00:00
|
|
|
# nodejs bundles openssl, but we use the system version in Fedora
|
2016-09-09 12:16:32 +00:00
|
|
|
# because openssl contains prohibited code, we remove openssl completely from
|
|
|
|
# the tarball, using the script in Source100
|
|
|
|
Source0: node-v%{nodejs_version}-stripped.tar.gz
|
2013-05-29 03:08:10 +00:00
|
|
|
Source100: %{name}-tarball.sh
|
|
|
|
|
2013-07-10 10:03:28 +00:00
|
|
|
# The native module Requires generator remains in the nodejs SRPM, so it knows
|
|
|
|
# the nodejs and v8 versions. The remainder has migrated to the
|
|
|
|
# nodejs-packaging SRPM.
|
2013-03-13 01:29:17 +00:00
|
|
|
Source7: nodejs_native.attr
|
2013-01-10 00:54:20 +00:00
|
|
|
|
2013-05-29 03:12:55 +00:00
|
|
|
# Disable running gyp on bundled deps we don't use
|
2018-05-18 13:36:07 +00:00
|
|
|
Patch1: 0001-Disable-running-gyp-on-shared-deps.patch
|
2016-09-12 18:21:14 +00:00
|
|
|
|
2017-10-26 13:59:05 +00:00
|
|
|
# Being fixed upstream.
|
|
|
|
# Follow https://bugs.chromium.org/p/v8/issues/detail?id=6939
|
2018-05-18 13:36:07 +00:00
|
|
|
Patch2: 0002-Fix-aarch64-debug.patch
|
2017-09-20 11:10:05 +00:00
|
|
|
|
2018-04-09 21:01:28 +00:00
|
|
|
# Suppress the message from npm to run `npm -g update npm`
|
|
|
|
# This does bad things on an RPM-managed npm.
|
2018-05-18 13:36:07 +00:00
|
|
|
Patch3: 0003-Suppress-message-to-update-npm.patch
|
|
|
|
|
|
|
|
# Fix nghttp2 debug builds
|
|
|
|
# https://github.com/nodejs/node/pull/20815
|
|
|
|
Patch4: 0004-http2-pass-session-to-DEBUG_HTTP2SESSION2.patch
|
2018-04-09 21:01:28 +00:00
|
|
|
|
2017-07-17 12:58:57 +00:00
|
|
|
BuildRequires: python2-devel
|
2016-08-16 17:49:57 +00:00
|
|
|
BuildRequires: libicu-devel
|
2012-12-18 13:51:29 +00:00
|
|
|
BuildRequires: zlib-devel
|
2017-08-10 07:53:48 +00:00
|
|
|
BuildRequires: gcc >= 4.9.4
|
|
|
|
BuildRequires: gcc-c++ >= 4.9.4
|
2017-05-09 14:54:00 +00:00
|
|
|
|
2017-10-06 07:36:28 +00:00
|
|
|
#%if ! 0%%{?bootstrap}
|
|
|
|
%if %{with bootstrap}
|
|
|
|
Provides: bundled(http-parser) = %{http_parser_version}
|
|
|
|
Provides: bundled(libuv) = %{libuv_version}
|
2018-01-11 13:27:13 +00:00
|
|
|
Provides: bundled(nghttp2) = %{nghttp2_version}
|
2017-10-06 07:36:28 +00:00
|
|
|
%else
|
2017-01-19 14:34:15 +00:00
|
|
|
BuildRequires: systemtap-sdt-devel
|
2017-05-10 13:16:52 +00:00
|
|
|
BuildRequires: http-parser-devel >= 2.7.0
|
2017-06-28 09:00:13 +00:00
|
|
|
Requires: http-parser >= 2.7.0
|
2018-03-28 19:28:50 +00:00
|
|
|
BuildRequires: libuv-devel >= 1:1.19.1
|
|
|
|
Requires: libuv >= 1:1.19.1
|
2018-01-11 13:27:13 +00:00
|
|
|
BuildRequires: libnghttp2-devel >= 1.25.0
|
2018-01-11 19:30:44 +00:00
|
|
|
Requires: libnghttp2 >= 1.25.0
|
2017-05-11 07:48:09 +00:00
|
|
|
%endif
|
2016-09-12 18:21:14 +00:00
|
|
|
|
2018-06-04 17:04:15 +00:00
|
|
|
BuildRequires: openssl-devel
|
2013-01-10 00:54:20 +00:00
|
|
|
|
2014-05-03 01:24:05 +00:00
|
|
|
# we need the system certificate store when Patch2 is applied
|
|
|
|
Requires: ca-certificates
|
|
|
|
|
2013-03-13 01:29:17 +00:00
|
|
|
#we need ABI virtual provides where SONAMEs aren't enough/not present so deps
|
|
|
|
#break when binary compatibility is broken
|
|
|
|
Provides: nodejs(abi) = %{nodejs_abi}
|
2016-03-23 14:12:03 +00:00
|
|
|
Provides: nodejs(abi%{nodejs_major}) = %{nodejs_abi}
|
2013-03-13 01:29:17 +00:00
|
|
|
Provides: nodejs(v8-abi) = %{v8_abi}
|
2016-09-12 18:21:14 +00:00
|
|
|
Provides: nodejs(v8-abi%{v8_major}) = %{v8_abi}
|
2013-03-13 01:29:17 +00:00
|
|
|
|
|
|
|
#this corresponds to the "engine" requirement in package.json
|
2016-08-10 13:08:48 +00:00
|
|
|
Provides: nodejs(engine) = %{nodejs_version}
|
2012-12-18 13:51:29 +00:00
|
|
|
|
|
|
|
# Node.js currently has a conflict with the 'node' package in Fedora
|
|
|
|
# The ham-radio group has agreed to rename their binary for us, but
|
|
|
|
# in the meantime, we're setting an explicit Conflicts: here
|
2015-12-02 00:48:58 +00:00
|
|
|
Conflicts: node <= 0.3.2-12
|
2012-12-18 13:51:29 +00:00
|
|
|
|
2014-10-21 19:13:10 +00:00
|
|
|
# The punycode module was absorbed into the standard library in v0.6.
|
|
|
|
# It still exists as a seperate package for the benefit of users of older
|
|
|
|
# versions. Since we've never shipped anything older than v0.10 in Fedora,
|
|
|
|
# we don't need the seperate nodejs-punycode package, so we Provide it here so
|
|
|
|
# dependent packages don't need to override the dependency generator.
|
|
|
|
# See also: RHBZ#11511811
|
2016-11-08 22:05:57 +00:00
|
|
|
# UPDATE: punycode will be deprecated and so we should unbundle it in Node v8
|
2016-08-12 15:26:06 +00:00
|
|
|
# and use upstream module instead
|
|
|
|
# https://github.com/nodejs/node/commit/29e49fc286080215031a81effbd59eac092fff2f
|
2016-02-10 19:31:40 +00:00
|
|
|
Provides: nodejs-punycode = %{punycode_version}
|
|
|
|
Provides: npm(punycode) = %{punycode_version}
|
2014-10-21 19:13:10 +00:00
|
|
|
|
|
|
|
|
2015-12-02 00:48:58 +00:00
|
|
|
# Node.js has forked c-ares from upstream in an incompatible way, so we need
|
|
|
|
# to carry the bundled version internally.
|
|
|
|
# See https://github.com/nodejs/node/commit/766d063e0578c0f7758c3a965c971763f43fec85
|
2016-02-10 19:02:50 +00:00
|
|
|
Provides: bundled(c-ares) = %{c_ares_version}
|
2015-12-02 00:48:58 +00:00
|
|
|
|
|
|
|
# Node.js is closely tied to the version of v8 that is used with it. It makes
|
|
|
|
# sense to use the bundled version because upstream consistently breaks ABI
|
|
|
|
# even in point releases. Node.js upstream has now removed the ability to build
|
|
|
|
# against a shared system version entirely.
|
|
|
|
# See https://github.com/nodejs/node/commit/d726a177ed59c37cf5306983ed00ecd858cfbbef
|
2016-02-10 19:02:50 +00:00
|
|
|
Provides: bundled(v8) = %{v8_version}
|
2015-12-02 00:48:58 +00:00
|
|
|
|
2018-03-28 18:45:33 +00:00
|
|
|
%if 0%{?fedora} && 0%{?fedora < 28}
|
|
|
|
# Node.js requires up-to-date ICU
|
|
|
|
%global config_intl --with-intl=small-icu
|
|
|
|
Provides: bundled(icu) = %{libicu_version}
|
|
|
|
%else
|
|
|
|
%global config_intl --with-intl=system-icu
|
|
|
|
%endif
|
|
|
|
|
2016-08-10 13:08:48 +00:00
|
|
|
# Make sure we keep NPM up to date when we update Node.js
|
2018-01-16 16:58:04 +00:00
|
|
|
%if 0%{?rhel}
|
2016-09-12 18:21:14 +00:00
|
|
|
# EPEL doesn't support Recommends, so make it strict
|
2016-11-08 22:01:26 +00:00
|
|
|
Requires: npm = %{npm_epoch}:%{npm_version}-%{npm_release}%{?dist}
|
2016-09-12 18:21:14 +00:00
|
|
|
%else
|
2016-11-08 22:01:26 +00:00
|
|
|
Recommends: npm = %{npm_epoch}:%{npm_version}-%{npm_release}%{?dist}
|
2016-09-12 18:21:14 +00:00
|
|
|
%endif
|
2016-05-02 13:16:15 +00:00
|
|
|
|
2016-03-04 17:25:36 +00:00
|
|
|
|
2012-12-18 13:51:29 +00:00
|
|
|
%description
|
|
|
|
Node.js is a platform built on Chrome's JavaScript runtime
|
|
|
|
for easily building fast, scalable network applications.
|
|
|
|
Node.js uses an event-driven, non-blocking I/O model that
|
|
|
|
makes it lightweight and efficient, perfect for data-intensive
|
|
|
|
real-time applications that run across distributed devices.
|
|
|
|
|
2013-01-05 09:55:51 +00:00
|
|
|
%package devel
|
|
|
|
Summary: JavaScript runtime - development headers
|
|
|
|
Group: Development/Languages
|
2016-11-08 22:05:57 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
|
2016-02-10 19:05:57 +00:00
|
|
|
Requires: openssl-devel%{?_isa}
|
|
|
|
Requires: zlib-devel%{?_isa}
|
2013-06-19 03:05:21 +00:00
|
|
|
Requires: nodejs-packaging
|
2013-01-05 09:55:51 +00:00
|
|
|
|
2017-10-06 07:36:28 +00:00
|
|
|
#%if ! 0%%{?bootstrap}
|
|
|
|
%if %{with bootstrap}
|
|
|
|
# deps are bundled
|
|
|
|
%else
|
2017-07-18 21:36:48 +00:00
|
|
|
Requires: http-parser-devel%{?_isa}
|
2017-09-20 11:10:05 +00:00
|
|
|
Requires: libuv-devel%{?_isa}
|
2017-06-28 09:00:13 +00:00
|
|
|
%endif
|
|
|
|
|
2013-01-05 09:55:51 +00:00
|
|
|
%description devel
|
|
|
|
Development headers for the Node.js JavaScript runtime.
|
|
|
|
|
2016-08-10 13:08:48 +00:00
|
|
|
%package -n npm
|
|
|
|
Summary: Node.js Package Manager
|
|
|
|
Epoch: %{npm_epoch}
|
|
|
|
Version: %{npm_version}
|
2018-03-01 13:25:32 +00:00
|
|
|
Release: %{npm_release}%{?dist}
|
2016-08-10 13:08:48 +00:00
|
|
|
|
|
|
|
# We used to ship npm separately, but it is so tightly integrated with Node.js
|
|
|
|
# (and expected to be present on all Node.js systems) that we ship it bundled
|
|
|
|
# now.
|
|
|
|
Obsoletes: npm < 0:3.5.4-6
|
|
|
|
Provides: npm = %{npm_epoch}:%{npm_version}
|
2016-10-17 14:03:25 +00:00
|
|
|
Requires: nodejs = %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
|
2016-08-10 13:08:48 +00:00
|
|
|
|
|
|
|
# Do not add epoch to the virtual NPM provides or it will break
|
|
|
|
# the automatic dependency-generation script.
|
|
|
|
Provides: npm(npm) = %{npm_version}
|
|
|
|
|
|
|
|
%description -n npm
|
|
|
|
npm is a package manager for node.js. You can use it to install and publish
|
|
|
|
your node programs. It manages dependencies and does other cool stuff.
|
|
|
|
|
2012-12-27 02:57:50 +00:00
|
|
|
%package docs
|
|
|
|
Summary: Node.js API documentation
|
|
|
|
Group: Documentation
|
2013-06-19 03:06:46 +00:00
|
|
|
BuildArch: noarch
|
2012-12-27 02:57:50 +00:00
|
|
|
|
2016-03-04 17:25:36 +00:00
|
|
|
# We don't require that the main package be installed to
|
|
|
|
# use the docs, but if it is installed, make sure the
|
|
|
|
# version always matches
|
2016-11-08 22:05:57 +00:00
|
|
|
Conflicts: %{name} > %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
|
|
|
|
Conflicts: %{name} < %{epoch}:%{nodejs_version}-%{nodejs_release}%{?dist}
|
2016-03-04 17:25:36 +00:00
|
|
|
|
2012-12-27 02:57:50 +00:00
|
|
|
%description docs
|
|
|
|
The API documentation for the Node.js JavaScript runtime.
|
2012-12-18 13:51:29 +00:00
|
|
|
|
2013-06-19 03:05:21 +00:00
|
|
|
|
2012-12-18 13:51:29 +00:00
|
|
|
%prep
|
2016-08-10 13:08:48 +00:00
|
|
|
%setup -q -n node-v%{nodejs_version}
|
2012-12-18 13:51:29 +00:00
|
|
|
|
2015-12-02 00:48:58 +00:00
|
|
|
# remove bundled dependencies that we aren't building
|
2014-05-03 01:24:05 +00:00
|
|
|
%patch1 -p1
|
2018-03-28 18:45:33 +00:00
|
|
|
|
|
|
|
%if 0%{?fedora} && 0%{?fedora < 28}
|
|
|
|
rm -rf deps/zlib
|
|
|
|
%else
|
2017-05-11 07:48:09 +00:00
|
|
|
rm -rf deps/icu-small \
|
2015-12-02 00:48:58 +00:00
|
|
|
deps/zlib
|
2018-03-28 18:45:33 +00:00
|
|
|
%endif
|
2012-12-18 13:51:29 +00:00
|
|
|
|
2017-09-20 11:10:05 +00:00
|
|
|
%patch2 -p1
|
|
|
|
|
2018-04-09 21:01:28 +00:00
|
|
|
%patch3 -p1
|
|
|
|
|
2018-05-18 13:36:07 +00:00
|
|
|
%patch4 -p1
|
|
|
|
|
2018-05-29 12:21:46 +00:00
|
|
|
# Replace any instances of unversioned python' with python2
|
|
|
|
find . -type f -exec sed -i "s~/usr\/bin\/env python~/usr/bin/python2~" {} \;
|
|
|
|
find . -type f -exec sed -i "s~/usr\/bin\/python\W~/usr/bin/python2~" {} \;
|
|
|
|
find . -type f -exec sed -i "s~/usr\/bin\/python\W~/usr/bin/python2~" {} \;
|
|
|
|
find . -type f -exec sed -i "s~python -c~python2 -c~" {} \;
|
|
|
|
sed -i "s~which('python')~which('python2')~" configure
|
|
|
|
|
2012-12-18 13:51:29 +00:00
|
|
|
%build
|
2013-01-10 01:12:46 +00:00
|
|
|
# build with debugging symbols and add defines from libuv (#892601)
|
2016-08-10 13:08:48 +00:00
|
|
|
# Node's v8 breaks with GCC 6 because of incorrect usage of methods on
|
2016-02-10 01:18:29 +00:00
|
|
|
# NULL objects. We need to pass -fno-delete-null-pointer-checks
|
2016-10-15 17:43:58 +00:00
|
|
|
export CFLAGS='%{optflags} -g \
|
|
|
|
-D_LARGEFILE_SOURCE \
|
|
|
|
-D_FILE_OFFSET_BITS=64 \
|
|
|
|
-DZLIB_CONST \
|
|
|
|
-fno-delete-null-pointer-checks'
|
|
|
|
export CXXFLAGS='%{optflags} -g \
|
|
|
|
-D_LARGEFILE_SOURCE \
|
|
|
|
-D_FILE_OFFSET_BITS=64 \
|
|
|
|
-DZLIB_CONST \
|
|
|
|
-fno-delete-null-pointer-checks'
|
2013-01-10 01:12:46 +00:00
|
|
|
|
2017-01-19 14:34:15 +00:00
|
|
|
# Explicit new lines in C(XX)FLAGS can break naive build scripts
|
|
|
|
export CFLAGS="$(echo ${CFLAGS} | tr '\n\\' ' ')"
|
|
|
|
export CXXFLAGS="$(echo ${CXXFLAGS} | tr '\n\\' ' ')"
|
|
|
|
|
2018-04-13 07:37:53 +00:00
|
|
|
export LDFLAGS="%{build_ldflags}"
|
|
|
|
|
2017-10-06 07:36:28 +00:00
|
|
|
#%if ! 0%%{?bootstrap}
|
|
|
|
%if %{with bootstrap}
|
2012-12-18 13:51:29 +00:00
|
|
|
./configure --prefix=%{_prefix} \
|
2016-09-09 12:16:32 +00:00
|
|
|
--shared-openssl \
|
2012-12-18 13:51:29 +00:00
|
|
|
--shared-zlib \
|
2017-10-06 07:36:28 +00:00
|
|
|
--without-dtrace \
|
2018-03-28 18:45:33 +00:00
|
|
|
%{config_intl} \
|
2017-08-16 13:36:43 +00:00
|
|
|
--debug-http2 \
|
|
|
|
--debug-nghttp2 \
|
2017-03-09 19:08:08 +00:00
|
|
|
--openssl-use-def-ca-store
|
2017-05-09 14:54:00 +00:00
|
|
|
%else
|
|
|
|
./configure --prefix=%{_prefix} \
|
|
|
|
--shared-openssl \
|
|
|
|
--shared-zlib \
|
2017-10-06 07:36:28 +00:00
|
|
|
--shared-libuv \
|
|
|
|
--shared-http-parser \
|
2018-01-11 13:27:13 +00:00
|
|
|
--shared-nghttp2 \
|
2017-10-06 07:36:28 +00:00
|
|
|
--with-dtrace \
|
2018-03-28 18:45:33 +00:00
|
|
|
%{config_intl} \
|
2017-08-16 13:36:43 +00:00
|
|
|
--debug-http2 \
|
|
|
|
--debug-nghttp2 \
|
2017-05-09 14:54:00 +00:00
|
|
|
--openssl-use-def-ca-store
|
|
|
|
%endif
|
2013-01-10 13:03:49 +00:00
|
|
|
|
2015-12-04 16:31:37 +00:00
|
|
|
%if %{?with_debug} == 1
|
2013-01-10 13:03:49 +00:00
|
|
|
# Setting BUILDTYPE=Debug builds both release and debug binaries
|
|
|
|
make BUILDTYPE=Debug %{?_smp_mflags}
|
2015-12-02 14:45:45 +00:00
|
|
|
%else
|
|
|
|
make BUILDTYPE=Release %{?_smp_mflags}
|
|
|
|
%endif
|
2012-12-18 13:51:29 +00:00
|
|
|
|
2016-02-10 19:02:50 +00:00
|
|
|
|
2012-12-18 13:51:29 +00:00
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2015-12-02 00:48:58 +00:00
|
|
|
./tools/install.py install %{buildroot} %{_prefix}
|
2012-12-18 13:51:29 +00:00
|
|
|
|
|
|
|
# Set the binary permissions properly
|
|
|
|
chmod 0755 %{buildroot}/%{_bindir}/node
|
|
|
|
|
2015-12-04 16:31:37 +00:00
|
|
|
%if %{?with_debug} == 1
|
2013-01-10 13:03:49 +00:00
|
|
|
# Install the debug binary and set its permissions
|
|
|
|
install -Dpm0755 out/Debug/node %{buildroot}/%{_bindir}/node_g
|
2015-12-02 14:45:45 +00:00
|
|
|
%endif
|
2013-01-10 13:03:49 +00:00
|
|
|
|
2012-12-27 23:45:37 +00:00
|
|
|
# own the sitelib directory
|
|
|
|
mkdir -p %{buildroot}%{_prefix}/lib/node_modules
|
|
|
|
|
2013-03-13 01:29:17 +00:00
|
|
|
# ensure Requires are added to every native module that match the Provides from
|
|
|
|
# the nodejs build in the buildroot
|
2013-07-10 10:03:28 +00:00
|
|
|
install -Dpm0644 %{SOURCE7} %{buildroot}%{_rpmconfigdir}/fileattrs/nodejs_native.attr
|
2013-03-13 01:29:17 +00:00
|
|
|
cat << EOF > %{buildroot}%{_rpmconfigdir}/nodejs_native.req
|
|
|
|
#!/bin/sh
|
2016-03-23 14:12:03 +00:00
|
|
|
echo 'nodejs(abi%{nodejs_major}) >= %nodejs_abi'
|
2016-09-12 18:21:14 +00:00
|
|
|
echo 'nodejs(v8-abi%{v8_major}) >= %v8_abi'
|
2013-03-13 01:29:17 +00:00
|
|
|
EOF
|
|
|
|
chmod 0755 %{buildroot}%{_rpmconfigdir}/nodejs_native.req
|
2012-12-27 23:45:37 +00:00
|
|
|
|
2012-12-27 02:57:50 +00:00
|
|
|
#install documentation
|
2013-08-05 03:32:28 +00:00
|
|
|
mkdir -p %{buildroot}%{_pkgdocdir}/html
|
|
|
|
cp -pr doc/* %{buildroot}%{_pkgdocdir}/html
|
|
|
|
rm -f %{buildroot}%{_pkgdocdir}/html/nodejs.1
|
2012-12-27 02:57:50 +00:00
|
|
|
|
2013-01-05 10:15:29 +00:00
|
|
|
#node-gyp needs common.gypi too
|
2013-01-05 10:19:17 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/node
|
|
|
|
cp -p common.gypi %{buildroot}%{_datadir}/node
|
2013-01-05 10:15:29 +00:00
|
|
|
|
2015-12-02 00:48:58 +00:00
|
|
|
# Install the GDB init tool into the documentation directory
|
|
|
|
mv %{buildroot}/%{_datadir}/doc/node/gdbinit %{buildroot}/%{_pkgdocdir}/gdbinit
|
|
|
|
|
2016-03-04 17:25:36 +00:00
|
|
|
# Since the old version of NPM was unbundled, there are a lot of symlinks in
|
|
|
|
# it's node_modules directory. We need to keep these as symlinks to ensure we
|
|
|
|
# can backtrack on this if we decide to.
|
|
|
|
|
|
|
|
# Rename the npm node_modules directory to node_modules.bundled
|
|
|
|
mv %{buildroot}/%{_prefix}/lib/node_modules/npm/node_modules \
|
|
|
|
%{buildroot}/%{_prefix}/lib/node_modules/npm/node_modules.bundled
|
|
|
|
|
|
|
|
# Recreate all the symlinks
|
|
|
|
mkdir -p %{buildroot}/%{_prefix}/lib/node_modules/npm/node_modules
|
|
|
|
FILES=%{buildroot}/%{_prefix}/lib/node_modules/npm/node_modules.bundled/*
|
|
|
|
for f in $FILES
|
|
|
|
do
|
|
|
|
module=`basename $f`
|
|
|
|
ln -s ../node_modules.bundled/$module %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/$module
|
|
|
|
done
|
|
|
|
|
|
|
|
# install NPM docs to mandir
|
|
|
|
mkdir -p %{buildroot}%{_mandir} \
|
|
|
|
%{buildroot}%{_pkgdocdir}/npm
|
|
|
|
|
|
|
|
cp -pr deps/npm/man/* %{buildroot}%{_mandir}/
|
|
|
|
rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/man
|
|
|
|
ln -sf %{_mandir} %{buildroot}%{_prefix}/lib/node_modules/npm/man
|
|
|
|
|
|
|
|
# Install Markdown and HTML documentation to %{_pkgdocdir}
|
|
|
|
cp -pr deps/npm/html deps/npm/doc %{buildroot}%{_pkgdocdir}/npm/
|
|
|
|
rm -rf %{buildroot}%{_prefix}/lib/node_modules/npm/html \
|
|
|
|
%{buildroot}%{_prefix}/lib/node_modules/npm/doc
|
|
|
|
|
|
|
|
ln -sf %{_pkgdocdir} %{buildroot}%{_prefix}/lib/node_modules/npm/html
|
|
|
|
ln -sf %{_pkgdocdir}/npm/html %{buildroot}%{_prefix}/lib/node_modules/npm/doc
|
2016-02-10 19:02:50 +00:00
|
|
|
|
2016-05-02 13:16:15 +00:00
|
|
|
|
2017-05-10 13:16:52 +00:00
|
|
|
# Node tries to install some python files into a documentation directory
|
|
|
|
# (and not the proper one). Remove them for now until we figure out what to
|
|
|
|
# do with them.
|
|
|
|
rm -f %{buildroot}/%{_defaultdocdir}/node/lldb_commands.py \
|
|
|
|
%{buildroot}/%{_defaultdocdir}/node/lldbinit
|
|
|
|
|
2016-02-10 19:02:50 +00:00
|
|
|
%check
|
|
|
|
# Fail the build if the versions don't match
|
|
|
|
%{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.node, '%{nodejs_version}')"
|
2018-03-01 13:25:32 +00:00
|
|
|
%{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.v8.replace(/-node\.\d+$/, ''), '%{v8_version}')"
|
2016-02-10 19:02:50 +00:00
|
|
|
%{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.ares.replace(/-DEV$/, ''), '%{c_ares_version}')"
|
|
|
|
|
2016-02-10 19:31:40 +00:00
|
|
|
# Ensure we have punycode and that the version matches
|
|
|
|
%{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"punycode\").version, '%{punycode_version}')"
|
2016-02-10 19:02:50 +00:00
|
|
|
|
2016-06-18 09:26:18 +00:00
|
|
|
# Ensure we have npm and that the version matches
|
|
|
|
NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"npm\").version, '%{npm_version}')"
|
|
|
|
|
2012-12-18 13:51:29 +00:00
|
|
|
%files
|
|
|
|
%{_bindir}/node
|
2012-12-27 23:45:37 +00:00
|
|
|
%dir %{_prefix}/lib/node_modules
|
2013-06-19 03:08:09 +00:00
|
|
|
%dir %{_datadir}/node
|
2015-12-02 00:48:58 +00:00
|
|
|
%dir %{_datadir}/systemtap
|
|
|
|
%dir %{_datadir}/systemtap/tapset
|
|
|
|
%{_datadir}/systemtap/tapset/node.stp
|
2017-05-10 06:10:03 +00:00
|
|
|
|
2017-10-06 07:36:28 +00:00
|
|
|
#%if ! 0%%{?bootstrap}
|
|
|
|
%if %{with bootstrap}
|
|
|
|
# no dtrace
|
|
|
|
%else
|
2017-01-19 14:34:15 +00:00
|
|
|
%dir %{_usr}/lib/dtrace
|
|
|
|
%{_usr}/lib/dtrace/node.d
|
2017-05-10 06:10:03 +00:00
|
|
|
%endif
|
|
|
|
|
2013-07-10 10:03:28 +00:00
|
|
|
%{_rpmconfigdir}/fileattrs/nodejs_native.attr
|
|
|
|
%{_rpmconfigdir}/nodejs_native.req
|
2015-12-02 00:48:58 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc AUTHORS CHANGELOG.md COLLABORATOR_GUIDE.md GOVERNANCE.md README.md
|
2017-04-03 18:14:17 +00:00
|
|
|
%doc %{_mandir}/man1/node.1*
|
2016-03-04 17:25:36 +00:00
|
|
|
|
2016-05-02 13:16:15 +00:00
|
|
|
|
2013-01-05 09:55:51 +00:00
|
|
|
%files devel
|
2015-12-04 16:31:37 +00:00
|
|
|
%if %{?with_debug} == 1
|
2013-01-10 13:03:49 +00:00
|
|
|
%{_bindir}/node_g
|
2015-12-02 14:45:45 +00:00
|
|
|
%endif
|
2013-01-05 09:55:51 +00:00
|
|
|
%{_includedir}/node
|
2013-06-19 03:08:09 +00:00
|
|
|
%{_datadir}/node/common.gypi
|
2015-12-02 00:48:58 +00:00
|
|
|
%{_pkgdocdir}/gdbinit
|
2013-01-05 09:55:51 +00:00
|
|
|
|
2016-08-10 13:08:48 +00:00
|
|
|
|
|
|
|
%files -n npm
|
|
|
|
%{_bindir}/npm
|
2017-07-20 16:29:26 +00:00
|
|
|
%{_bindir}/npx
|
2016-09-16 18:33:18 +00:00
|
|
|
%{_prefix}/lib/node_modules/npm
|
|
|
|
%ghost %{_sysconfdir}/npmrc
|
|
|
|
%ghost %{_sysconfdir}/npmignore
|
2017-04-03 18:14:17 +00:00
|
|
|
%doc %{_mandir}/man*/npm*
|
2017-07-20 16:29:26 +00:00
|
|
|
%doc %{_mandir}/man*/npx*
|
2017-04-03 18:14:17 +00:00
|
|
|
%doc %{_mandir}/man5/package.json.5*
|
2017-06-28 09:00:13 +00:00
|
|
|
%doc %{_mandir}/man5/package-lock.json.5*
|
2017-04-03 18:14:17 +00:00
|
|
|
%doc %{_mandir}/man7/removing-npm.7*
|
|
|
|
%doc %{_mandir}/man7/semver.7*
|
|
|
|
|
2016-08-10 13:08:48 +00:00
|
|
|
|
2012-12-27 02:57:50 +00:00
|
|
|
%files docs
|
2013-08-05 03:32:28 +00:00
|
|
|
%dir %{_pkgdocdir}
|
|
|
|
%{_pkgdocdir}/html
|
2016-03-04 17:25:36 +00:00
|
|
|
%{_pkgdocdir}/npm/html
|
|
|
|
%{_pkgdocdir}/npm/doc
|
2012-12-27 02:57:50 +00:00
|
|
|
|
2012-12-18 13:51:29 +00:00
|
|
|
%changelog
|
2018-06-04 17:04:15 +00:00
|
|
|
* Mon Jun 04 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:8.11.2-2
|
|
|
|
- Build against OpenSSL 1.1
|
|
|
|
|
2018-05-17 15:20:09 +00:00
|
|
|
* Thu May 17 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:8.11.2-1
|
|
|
|
- Update to 8.11.2
|
|
|
|
- https://nodejs.org/en/blog/release/v8.11.2/
|
|
|
|
|
2018-04-13 07:37:53 +00:00
|
|
|
* Fri Apr 13 2018 Rafael dos Santos <rdossant@redhat.com> - 1:8.11.0-2
|
|
|
|
- Use standard Fedora linker flags (bug #1543859)
|
|
|
|
|
2018-03-28 18:14:33 +00:00
|
|
|
* Wed Mar 28 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:8.11.0-1
|
|
|
|
- Update to 8.11.0
|
|
|
|
- https://nodejs.org/en/blog/release/v8.11.0/
|
|
|
|
|
2018-03-08 14:35:34 +00:00
|
|
|
* Thu Mar 08 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:8.10.0-1
|
|
|
|
- Update to 8.10.0
|
|
|
|
- https://nodejs.org/en/blog/release/v8.10.0/
|
|
|
|
|
2018-03-01 13:25:32 +00:00
|
|
|
* Thu Mar 01 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:8.9.4-3
|
|
|
|
- Work around build issue on F28
|
|
|
|
|
2018-02-08 04:19:45 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.9.4-2.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-11 19:30:44 +00:00
|
|
|
* Thu Jan 11 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:8.9.4-2
|
|
|
|
- Fix incorrect Requires:
|
|
|
|
|
2018-01-11 13:27:13 +00:00
|
|
|
* Thu Jan 11 2018 Stephen Gallagher <sgallagh@redhat.com> - 1:8.9.4-1
|
|
|
|
- Update to 8.9.4
|
|
|
|
- https://nodejs.org/en/blog/release/v8.9.4/
|
|
|
|
- Switch to system copy of nghttp2
|
|
|
|
|
|
|
|
* Fri Dec 08 2017 Stephen Gallagher <sgallagh@redhat.com> - 1:8.9.3-2
|
2017-12-08 16:53:43 +00:00
|
|
|
- Update to 8.9.3
|
|
|
|
- https://nodejs.org/en/blog/release/v8.9.3/
|
|
|
|
- https://nodejs.org/en/blog/release/v8.9.2/
|
|
|
|
|
2017-12-01 08:17:34 +00:00
|
|
|
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 1:8.9.1-2
|
2017-11-30 20:38:18 +00:00
|
|
|
- Rebuild for ICU 60.1
|
|
|
|
|
2017-11-09 14:37:46 +00:00
|
|
|
* Thu Nov 09 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.9.1-1
|
|
|
|
- Update to 8.9.1
|
|
|
|
|
2017-10-31 22:57:50 +00:00
|
|
|
* Tue Oct 31 2017 Stephen Gallagher <sgallagh@redhat.com> - 1:8.9.0-1
|
|
|
|
- Update to 8.9.0
|
|
|
|
- Drop upstreamed patch
|
|
|
|
|
2017-10-26 12:37:57 +00:00
|
|
|
* Thu Oct 26 2017 Stephen Gallagher <sgallagh@redhat.com> - 1:8.8.1-1
|
|
|
|
- Update to 8.8.1 to fix a regression
|
|
|
|
|
|
|
|
* Wed Oct 25 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.8.0-1
|
2017-10-25 14:11:00 +00:00
|
|
|
- Security update to 8.8.0
|
|
|
|
- https://nodejs.org/en/blog/release/v8.8.0/
|
|
|
|
|
2017-10-26 12:37:57 +00:00
|
|
|
* Sun Oct 15 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.7.0-1
|
2017-10-15 21:40:32 +00:00
|
|
|
- Update to 8.7.0
|
|
|
|
- https://nodejs.org/en/blog/release/v8.7.0/
|
|
|
|
|
2017-10-26 12:37:57 +00:00
|
|
|
* Fri Oct 06 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.6.0-2
|
2017-10-06 07:36:28 +00:00
|
|
|
- Use bcond macro instead of bootstrap conditional
|
|
|
|
|
2017-10-26 12:37:57 +00:00
|
|
|
* Wed Sep 27 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.6.0-1
|
2017-09-27 13:13:49 +00:00
|
|
|
- Fix nghttp2 version
|
|
|
|
- Update to 8.6.0
|
|
|
|
- https://nodejs.org/en/blog/release/v8.6.0/
|
|
|
|
|
2017-10-26 12:37:57 +00:00
|
|
|
* Wed Sep 20 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.5.0-3
|
2017-09-20 11:10:05 +00:00
|
|
|
- Build with bootstrap + bundle libuv for modularity
|
|
|
|
- backport patch for aarch64 debug build
|
|
|
|
|
2017-10-26 12:37:57 +00:00
|
|
|
* Wed Sep 13 2017 Stephen Gallagher <sgallagh@redhat.com> - 1:8.5.0-2
|
2017-09-13 17:11:48 +00:00
|
|
|
- Disable debug builds on aarch64 due to https://github.com/nodejs/node/issues/15395
|
|
|
|
|
2017-09-13 00:49:13 +00:00
|
|
|
* Tue Sep 12 2017 Stephen Gallagher <sgallagh@redhat.com> - 1:8.5.0-1
|
|
|
|
- Update to v8.5.0
|
|
|
|
- https://nodejs.org/en/blog/release/v8.5.0/
|
|
|
|
|
2017-09-07 16:06:26 +00:00
|
|
|
* Thu Sep 07 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.4.0-2
|
|
|
|
- Refactor openssl BR
|
|
|
|
|
2017-08-16 13:36:43 +00:00
|
|
|
* Wed Aug 16 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.4.0-1
|
|
|
|
- Update to v8.4.0
|
|
|
|
- https://nodejs.org/en/blog/release/v8.4.0/
|
|
|
|
- http2 is now supported, add bundled nghttp2
|
|
|
|
- remove openssl 1.0.1 patches, we won't be using them in fedora
|
|
|
|
|
2017-08-10 07:53:48 +00:00
|
|
|
* Thu Aug 10 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.3.0-1
|
|
|
|
- Update to v8.3.0
|
|
|
|
- https://nodejs.org/en/blog/release/v8.3.0/
|
|
|
|
- update V8 to 6.0
|
|
|
|
- update minimal gcc and g++ requirements to 4.9.4
|
|
|
|
|
|
|
|
* Wed Aug 09 2017 Tom Hughes <tom@compton.nu> - 1:8.2.1-2
|
2017-08-09 10:16:36 +00:00
|
|
|
- Bump release to fix broken dependencies
|
|
|
|
|
2017-08-03 04:01:19 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.2.1-1.2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 23:01:28 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.2.1-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-21 12:23:07 +00:00
|
|
|
* Fri Jul 21 2017 Stephen Gallagher <sgallagh@redhat.com> - 1:8.2.1-1
|
|
|
|
- Update to v8.2.1
|
|
|
|
- https://nodejs.org/en/blog/release/v8.2.1/
|
|
|
|
|
2017-07-20 16:29:26 +00:00
|
|
|
* Thu Jul 20 2017 Stephen Gallagher <sgallagh@redhat.com> - 1:8.2.0-1
|
|
|
|
- Update to v8.2.0
|
|
|
|
- https://nodejs.org/en/blog/release/v8.2.0/
|
|
|
|
- Update npm to 5.3.0
|
|
|
|
- Adds npx command
|
|
|
|
|
2017-07-18 21:36:48 +00:00
|
|
|
* Tue Jul 18 2017 Igor Gnatenko <ignatenko@redhat.com> - 1:8.1.4-3
|
|
|
|
- s/BuildRequires/Requires/ for http-parser-devel%%{?_isa}
|
|
|
|
|
2017-07-17 12:58:57 +00:00
|
|
|
* Mon Jul 17 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.1.4-2
|
|
|
|
- Rename python-devel to python2-devel
|
|
|
|
- own %%{_pkgdocdir}/npm
|
|
|
|
|
2017-07-11 18:22:35 +00:00
|
|
|
* Tue Jul 11 2017 Stephen Gallagher <sgallagh@redhat.com> - 1:8.1.4-1
|
|
|
|
- Update to v8.1.4
|
|
|
|
- https://nodejs.org/en/blog/release/v8.1.4/
|
|
|
|
- Drop upstreamed c-ares patch
|
|
|
|
|
2017-06-29 12:05:16 +00:00
|
|
|
* Thu Jun 29 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.1.3-1
|
|
|
|
- Update to v8.1.3
|
|
|
|
- https://nodejs.org/en/blog/release/v8.1.3/
|
|
|
|
|
2017-06-28 09:00:13 +00:00
|
|
|
* Wed Jun 28 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:8.1.2-1
|
|
|
|
- Update to v8.1.2
|
|
|
|
- remove GCC 7 patch, as it is now fixed in node >= 6.12
|
|
|
|
|