2016-02-10 17:10:57 +00:00
|
|
|
%global with_debug 1
|
2016-02-10 15:51:40 +00:00
|
|
|
|
2016-09-12 18:21:14 +00:00
|
|
|
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
2016-02-10 18:31:28 +00:00
|
|
|
|
2016-02-10 15:51:40 +00:00
|
|
|
# ARM builds currently break on the Debug builds, so we'll just
|
|
|
|
# build the standard runtime until that gets sorted out.
|
|
|
|
%ifarch %{arm} aarch64 %{power64}
|
|
|
|
%global with_debug 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# == 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.
|
|
|
|
%global nodejs_major 6
|
2016-09-16 14:49:47 +00:00
|
|
|
%global nodejs_minor 6
|
2016-08-18 11:10:32 +00:00
|
|
|
%global nodejs_patch 0
|
2016-02-10 15:51:40 +00:00
|
|
|
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
|
2016-02-10 19:11:56 +00:00
|
|
|
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
|
2016-02-10 15:51:40 +00:00
|
|
|
|
|
|
|
# == Bundled Dependency Versions ==
|
2016-02-10 15:12:55 +00:00
|
|
|
# v8 - from deps/v8/include/v8-version.h
|
2016-05-09 12:39:49 +00:00
|
|
|
%global v8_major 5
|
2016-08-29 15:14:02 +00:00
|
|
|
%global v8_minor 1
|
|
|
|
%global v8_build 281
|
2016-09-16 14:49:47 +00:00
|
|
|
%global v8_patch 83
|
2016-02-10 15:51:40 +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:11:56 +00:00
|
|
|
%global v8_version %{v8_major}.%{v8_minor}.%{v8_build}.%{v8_patch}
|
2016-02-10 15:51:40 +00:00
|
|
|
|
|
|
|
# c-ares - from deps/cares/include/ares_version.h
|
|
|
|
%global c_ares_major 1
|
2016-02-10 15:12:55 +00:00
|
|
|
%global c_ares_minor 10
|
|
|
|
%global c_ares_patch 1
|
2016-02-10 19:11:56 +00:00
|
|
|
%global c_ares_version %{c_ares_major}.%{c_ares_minor}.%{c_ares_patch}
|
2016-02-10 15:51:40 +00:00
|
|
|
|
2016-03-04 17:25:36 +00:00
|
|
|
# http-parser - from deps/http_parser/http_parser.h
|
2016-02-10 15:12:55 +00:00
|
|
|
%global http_parser_major 2
|
2016-04-25 18:20:21 +00:00
|
|
|
%global http_parser_minor 7
|
|
|
|
%global http_parser_patch 0
|
2016-02-10 19:02:50 +00:00
|
|
|
%global http_parser_version %{http_parser_major}.%{http_parser_minor}.%{http_parser_patch}
|
2016-02-10 19:11:56 +00:00
|
|
|
|
|
|
|
# punycode - from lib/punycode.js
|
|
|
|
# Note: this was merged into the mainline since 0.6.x
|
2016-08-18 11:10:32 +00:00
|
|
|
# Note: this will be unmerged in v7 or v8
|
2016-07-10 18:03:45 +00:00
|
|
|
%global punycode_major 2
|
|
|
|
%global punycode_minor 0
|
2016-02-10 19:11:56 +00:00
|
|
|
%global punycode_patch 0
|
|
|
|
%global punycode_version %{punycode_major}.%{punycode_minor}.%{punycode_patch}
|
2016-02-10 15:51:40 +00:00
|
|
|
|
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
|
2016-03-04 17:25:36 +00:00
|
|
|
%global npm_major 3
|
2016-07-10 18:03:45 +00:00
|
|
|
%global npm_minor 10
|
|
|
|
%global npm_patch 3
|
2016-03-04 17:25:36 +00:00
|
|
|
%global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}
|
|
|
|
|
|
|
|
# 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-04-28 12:37:29 +00:00
|
|
|
Epoch: 1
|
2016-02-10 19:11:56 +00:00
|
|
|
Version: %{nodejs_version}
|
2016-08-10 13:08:48 +00:00
|
|
|
# Keep this release > 100 for F25+ due to a complicated npm upgrade bug
|
2016-09-16 15:51:55 +00:00
|
|
|
Release: 105%{?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
|
|
|
|
2016-02-10 15:51:40 +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
|
|
|
|
# because openssl contains prohibited code, we remove openssl completely from
|
|
|
|
# the tarball, using the script in Source100
|
2016-09-09 12:16:32 +00:00
|
|
|
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
|
2016-09-12 18:21:14 +00:00
|
|
|
Patch1: 0001-disable-running-gyp-files-for-bundled-deps.patch
|
|
|
|
|
|
|
|
# EPEL only has OpenSSL 1.0.1, so we need to carry a patch on that platform
|
|
|
|
Patch2: 0002-Use-openssl-1.0.1.patch
|
2013-05-29 03:12:55 +00:00
|
|
|
|
2014-05-03 01:24:05 +00:00
|
|
|
# use system certificates instead of the bundled ones
|
|
|
|
# modified version of Debian patch:
|
|
|
|
# http://patch-tracker.debian.org/patch/series/view/nodejs/0.10.26~dfsg1-1/2014_donotinclude_root_certs.patch
|
2016-09-12 18:21:14 +00:00
|
|
|
Patch3: 0003-CA-Certificates-are-provided-by-Fedora.patch
|
2014-05-03 01:24:05 +00:00
|
|
|
|
2016-02-10 15:51:40 +00:00
|
|
|
BuildRequires: python-devel
|
2016-07-18 20:38:50 +00:00
|
|
|
BuildRequires: libuv-devel >= 1:1.9.1
|
|
|
|
Requires: libuv >= 1:1.9.1
|
2016-08-16 17:49:57 +00:00
|
|
|
BuildRequires: libicu-devel
|
2012-12-18 13:51:29 +00:00
|
|
|
BuildRequires: zlib-devel
|
2016-07-10 18:03:45 +00:00
|
|
|
BuildRequires: gcc >= 4.8.0
|
|
|
|
BuildRequires: gcc-c++ >= 4.8.0
|
2016-09-12 18:21:14 +00:00
|
|
|
|
|
|
|
%if 0%{?epel}
|
2012-12-18 13:51:29 +00:00
|
|
|
BuildRequires: openssl-devel >= 1:1.0.1
|
2016-09-12 18:21:14 +00:00
|
|
|
%else
|
2016-01-18 19:02:29 +00:00
|
|
|
BuildRequires: openssl-devel >= 1:1.0.2
|
2016-09-12 18:21:14 +00:00
|
|
|
%endif
|
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-08-12 15:26:06 +00:00
|
|
|
# UPDATE: punycode will be deprecated and so we should unbundle it in Node v8
|
|
|
|
# and use upstream module instead
|
|
|
|
# https://github.com/nodejs/node/commit/29e49fc286080215031a81effbd59eac092fff2f
|
2016-02-10 19:11:56 +00:00
|
|
|
Provides: nodejs-punycode = %{punycode_version}
|
|
|
|
Provides: npm(punycode) = %{punycode_version}
|
2014-10-21 19:13:10 +00:00
|
|
|
|
|
|
|
|
2016-02-10 15:51:40 +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:11:56 +00:00
|
|
|
Provides: bundled(c-ares) = %{c_ares_version}
|
2016-02-10 15:51:40 +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:11:56 +00:00
|
|
|
Provides: bundled(v8) = %{v8_version}
|
|
|
|
|
|
|
|
# Node.js and http-parser share an upstream. The http-parser upstream does not
|
|
|
|
# do releases often and is almost always far behind the bundled version
|
|
|
|
Provides: bundled(http-parser) = %{http_parser_version}
|
2016-02-10 15:51:40 +00:00
|
|
|
|
2016-08-10 13:08:48 +00:00
|
|
|
# Make sure we keep NPM up to date when we update Node.js
|
2016-09-12 18:21:14 +00:00
|
|
|
%if 0%{?epel}
|
|
|
|
# EPEL doesn't support Recommends, so make it strict
|
|
|
|
Requires: npm = %{npm_epoch}:%{npm_version}-%{release}
|
|
|
|
%else
|
|
|
|
Recommends: npm = %{npm_epoch}:%{npm_version}-%{release}
|
|
|
|
Conflicts: npm < %{npm_epoch}:%{npm_version}-%{release}
|
|
|
|
%endif
|
2016-05-02 13:16:15 +00:00
|
|
|
|
2014-10-21 19:13:10 +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-08-10 13:08:48 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{epoch}:%{nodejs_version}-%{release}
|
2016-02-10 19:57:50 +00:00
|
|
|
Requires: libuv-devel%{?_isa}
|
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
|
|
|
|
|
|
|
%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}
|
|
|
|
|
|
|
|
# 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}
|
|
|
|
Requires: nodejs = %{epoch}:%{nodejs_version}-%{release}
|
|
|
|
|
|
|
|
# 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-08-10 13:08:48 +00:00
|
|
|
Conflicts: %{name} > %{epoch}:%{nodejs_version}-%{release}
|
|
|
|
Conflicts: %{name} < %{epoch}:%{nodejs_version}-%{release}
|
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
|
2016-03-04 17:25:36 +00:00
|
|
|
rm -rf deps/uv \
|
2016-02-10 15:51:40 +00:00
|
|
|
deps/zlib
|
2012-12-18 13:51:29 +00:00
|
|
|
|
2014-05-03 01:24:05 +00:00
|
|
|
# remove bundled CA certificates
|
|
|
|
rm -f src/node_root_certs.h
|
2016-09-12 18:21:14 +00:00
|
|
|
%patch3 -p1
|
|
|
|
|
|
|
|
%if 0%{?epel}
|
|
|
|
%patch2 -p1
|
|
|
|
%endif
|
2014-05-03 01:24:05 +00:00
|
|
|
|
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-02-10 15:51:40 +00:00
|
|
|
export CFLAGS='%{optflags} -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-delete-null-pointer-checks'
|
|
|
|
export CXXFLAGS='%{optflags} -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-delete-null-pointer-checks'
|
2013-01-10 01:12:46 +00:00
|
|
|
|
2012-12-18 13:51:29 +00:00
|
|
|
./configure --prefix=%{_prefix} \
|
|
|
|
--shared-openssl \
|
|
|
|
--shared-zlib \
|
|
|
|
--shared-libuv \
|
2016-08-16 17:49:57 +00:00
|
|
|
--without-dtrace \
|
|
|
|
--with-intl=system-icu
|
2013-01-10 13:03:49 +00:00
|
|
|
|
2016-02-10 15:51:40 +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}
|
2016-02-10 15:51:40 +00:00
|
|
|
%else
|
|
|
|
make BUILDTYPE=Release %{?_smp_mflags}
|
|
|
|
%endif
|
2012-12-18 13:51:29 +00:00
|
|
|
|
2016-02-10 19:11:56 +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
|
|
|
|
|
|
|
# and remove dtrace file again
|
|
|
|
rm -rf %{buildroot}/%{_prefix}/lib/dtrace
|
|
|
|
|
|
|
|
# Set the binary permissions properly
|
|
|
|
chmod 0755 %{buildroot}/%{_bindir}/node
|
|
|
|
|
2016-02-10 15:51:40 +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
|
2016-02-10 15:51:40 +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-02-10 19:11:56 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
# Fail the build if the versions don't match
|
|
|
|
%{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.node, '%{nodejs_version}')"
|
|
|
|
%{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.v8, '%{v8_version}')"
|
|
|
|
%{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.ares.replace(/-DEV$/, ''), '%{c_ares_version}')"
|
|
|
|
%{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.http_parser, '%{http_parser_version}')"
|
|
|
|
|
|
|
|
# Ensure we have punycode and that the version matches
|
|
|
|
%{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"punycode\").version, '%{punycode_version}')"
|
|
|
|
|
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}')"
|
2016-02-10 19:11:56 +00:00
|
|
|
|
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
|
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
|
|
|
|
%doc ROADMAP.md WORKING_GROUPS.md
|
2016-03-04 17:25:36 +00:00
|
|
|
%{_prefix}/lib/node_modules/npm
|
|
|
|
%ghost %{_sysconfdir}/npmrc
|
|
|
|
%ghost %{_sysconfdir}/npmignore
|
|
|
|
%{_mandir}/man*/*
|
|
|
|
|
2012-12-18 13:51:29 +00:00
|
|
|
|
2013-01-05 09:55:51 +00:00
|
|
|
%files devel
|
2016-02-10 15:51:40 +00:00
|
|
|
%if %{?with_debug} == 1
|
2013-01-10 13:03:49 +00:00
|
|
|
%{_bindir}/node_g
|
2016-02-10 15:51:40 +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
|
|
|
|
|
2013-01-05 09:55:51 +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
|
2016-09-16 15:51:55 +00:00
|
|
|
* Fri Sep 16 2016 Stephen Gallagher <sgallagh@redhat.com> - 1:6.6.0-105
|
2016-09-16 14:49:47 +00:00
|
|
|
- Update to 6.6.0
|
|
|
|
- https://github.com/nodejs/node/blob/v6.6.0/doc/changelogs/CHANGELOG_V6.md#6.6.0
|
|
|
|
|
2016-09-12 18:21:14 +00:00
|
|
|
* Mon Sep 12 2016 Stephen Gallagher <sgallagh@redhat.com> - 1:6.5.0-104
|
2016-09-12 19:20:07 +00:00
|
|
|
- Update to 6.5.0
|
2016-09-12 18:21:14 +00:00
|
|
|
- Add support for building on EPEL 7 against OpenSSL 1.0.1
|
|
|
|
- Modify v8_abi autorequires to avoid unnecessary rebuilds
|
|
|
|
|
2016-06-24 14:02:36 +00:00
|
|
|
* Fri Jun 24 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.10.46-1
|
|
|
|
- Update to 0.10.46(security fix)
|
|
|
|
- https://github.com/nodejs/node/blob/v0.10.46/ChangeLog
|
|
|
|
- Bump http-parser version
|
|
|
|
|
2016-02-10 19:11:56 +00:00
|
|
|
* Wed Feb 10 2016 Stephen Gallagher <sgallagh@redhat.com> - 0.10.43-4
|
|
|
|
- Verify that the built node reports the expected versions
|
|
|
|
- Properly Provides: http-parser
|
|
|
|
- Fix Provides: for punycode
|
|
|
|
|
2016-02-10 18:27:15 +00:00
|
|
|
* Wed Feb 10 2016 Stephen Gallagher <sgallagh@redhat.com> - 0.10.42-3
|
|
|
|
- Remove duplicated content from spec file
|
|
|
|
|
2016-02-10 17:10:57 +00:00
|
|
|
* Wed Feb 10 2016 Stephen Gallagher <sgallagh@redhat.com> - 0.10.42-2
|
|
|
|
- Re-enable debug builds on supported arches
|
|
|
|
|
2016-02-10 15:51:40 +00:00
|
|
|
* Wed Feb 10 2016 Stephen Gallagher <sgallagh@redhat.com> - 0.10.42-1
|
|
|
|
- Update to Node.js 0.10.42
|
|
|
|
- https://github.com/nodejs/node/blob/v0.10.42/ChangeLog
|
|
|
|
- Bundle v8, c-ares and http-parser with Node.js
|
|
|
|
- Drop patches that revert v8 UTF8 change
|
|
|
|
- Resolves: RHBZ#1306203
|
|
|
|
- Resolves: RHBZ#1306200
|
|
|
|
- Resolves: RHBZ#1306207
|
|
|
|
|
2015-06-17 21:53:49 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.36-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-29 21:33:16 +00:00
|
|
|
* Wed Apr 29 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.36-4
|
|
|
|
- fix incorrect Requires on libuv (RHBZ#1215719)
|
|
|
|
|
2015-02-24 23:20:59 +00:00
|
|
|
* Tue Feb 24 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.36-3
|
|
|
|
- bump v8 requires (RHBZ#1195457)
|
|
|
|
|
2015-02-19 20:21:24 +00:00
|
|
|
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.36-2
|
|
|
|
- build against compat-libuv010
|
|
|
|
|
2015-02-19 07:59:58 +00:00
|
|
|
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.36-1
|
|
|
|
- new upstream release 0.10.36
|
|
|
|
http://blog.nodejs.org/2015/01/26/node-v0-10-36-stable/
|
|
|
|
- Please note that several upstream releases were skipped due to regressions
|
|
|
|
reported in the upstream bug tracker. Please also review the 0.10.34 and
|
|
|
|
0.10.35 changelogs available at the above URL for a list of all changes.
|
|
|
|
|
2014-11-19 01:22:09 +00:00
|
|
|
* Wed Nov 19 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.33-1
|
|
|
|
- new upstream release 0.10.33
|
|
|
|
http://blog.nodejs.org/2014/10/23/node-v0-10-33-stable/
|
|
|
|
- This release disables SSLv3 to secure Node.js services against the POODLE
|
|
|
|
attack. (CVE-2014-3566; RHBZ#1152789) For more information or to learn how
|
|
|
|
to re-enable SSLv3 in order to support legacy clients, please see the upstream
|
|
|
|
release announcement linked above.
|
|
|
|
|
2014-10-21 19:13:10 +00:00
|
|
|
* Tue Oct 21 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.32-2
|
|
|
|
- add Provides nodejs-punycode (RHBZ#1151811)
|
|
|
|
|
2014-09-18 03:33:19 +00:00
|
|
|
* Thu Sep 18 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.32-1
|
|
|
|
- new upstream release 0.10.32
|
|
|
|
http://blog.nodejs.org/2014/08/19/node-v0-10-31-stable/
|
|
|
|
http://blog.nodejs.org/2014/09/16/node-v0-10-32-stable/
|
|
|
|
|
2014-08-17 12:01:52 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.30-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-01 00:24:19 +00:00
|
|
|
* Fri Aug 01 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.30-1
|
|
|
|
- new upstream release 0.10.30
|
|
|
|
http://blog.nodejs.org/2014/07/31/node-v0-10-30-stable/
|
|
|
|
|
2014-06-19 06:34:48 +00:00
|
|
|
* Thu Jun 19 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.29-1
|
|
|
|
- new upstream release 0.10.29
|
|
|
|
http://blog.nodejs.org/2014/06/16/node-v0-10-29-stable/
|
|
|
|
- The invalid UTF8 fix has been reverted since this breaks v8 API, which cannot
|
|
|
|
be done in a stable distribution release. This build of nodejs will behave as
|
|
|
|
if NODE_INVALID_UTF8 was set. For more information on the implications, see:
|
|
|
|
http://blog.nodejs.org/2014/06/16/openssl-and-breaking-utf-8-change/
|
|
|
|
|
2014-06-07 13:00:42 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.28-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-03 01:24:05 +00:00
|
|
|
* Sat May 03 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.28-2
|
|
|
|
- use the system certificate store instead of the bundled copy
|
|
|
|
both are based on the Mozilla CA list, so the only effect this should have is
|
|
|
|
making additional certificates added by the system administrator available to
|
|
|
|
node
|
|
|
|
|
2014-05-03 00:49:35 +00:00
|
|
|
* Sat May 03 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.28-1
|
|
|
|
- new upstream release 0.10.28
|
|
|
|
There is no dfference between 0.10.27 and 0.10.28 for Fedora, as the only
|
|
|
|
thing updated was npm, which is shipped seperately. The latest was only
|
|
|
|
packaged to avoid confusion. Please see the v0.10.27 changelog for relevant
|
|
|
|
changes in this update:
|
|
|
|
http://blog.nodejs.org/2014/05/01/node-v0-10-27-stable/
|
|
|
|
|
2014-02-20 03:59:43 +00:00
|
|
|
* Thu Feb 20 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.26-1
|
2014-05-03 00:51:14 +00:00
|
|
|
- new upstream release 0.10.26
|
2014-02-20 03:59:43 +00:00
|
|
|
http://blog.nodejs.org/2014/02/18/node-v0-10-26-stable/
|
|
|
|
|
2014-02-14 00:48:49 +00:00
|
|
|
* Fri Feb 14 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.25-2
|
|
|
|
- rebuild for icu-53 (via v8)
|
|
|
|
|
2014-01-27 22:30:48 +00:00
|
|
|
* Mon Jan 27 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.25-1
|
|
|
|
- new upstream release 0.10.25
|
|
|
|
http://blog.nodejs.org/2014/01/23/node-v0-10-25-stable/
|
|
|
|
|
2013-12-19 18:26:54 +00:00
|
|
|
* Thu Dec 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.24-1
|
|
|
|
- new upstream release 0.10.24
|
|
|
|
http://blog.nodejs.org/2013/12/19/node-v0-10-24-stable/
|
2013-12-19 18:39:02 +00:00
|
|
|
- upstream install script installs the headers now
|
2013-12-19 18:26:54 +00:00
|
|
|
|
2013-12-12 18:02:53 +00:00
|
|
|
* Thu Dec 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.23-1
|
|
|
|
- new upstream release 0.10.23
|
|
|
|
http://blog.nodejs.org/2013/12/11/node-v0-10-23-stable/
|
|
|
|
|
2013-11-12 21:31:09 +00:00
|
|
|
* Tue Nov 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.22-1
|
|
|
|
- new upstream release 0.10.22
|
|
|
|
http://blog.nodejs.org/2013/11/12/node-v0-10-22-stable/
|
|
|
|
|
2013-10-18 23:12:25 +00:00
|
|
|
* Fri Oct 18 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.21-1
|
|
|
|
- new upstream release 0.10.21
|
|
|
|
http://blog.nodejs.org/2013/10/18/node-v0-10-21-stable/
|
|
|
|
- resolves an undisclosed security vulnerability in the http module
|
|
|
|
|
2013-10-01 00:18:36 +00:00
|
|
|
* Tue Oct 01 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.20-1
|
|
|
|
- new upstream release 0.10.20
|
|
|
|
http://blog.nodejs.org/2013/09/30/node-v0-10-20-stable/
|
|
|
|
|
2013-09-25 00:30:22 +00:00
|
|
|
* Wed Sep 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.19-1
|
|
|
|
- new upstream release 0.10.19
|
|
|
|
http://blog.nodejs.org/2013/09/24/node-v0-10-19-stable/
|
|
|
|
|
2013-09-06 22:24:49 +00:00
|
|
|
* Fri Sep 06 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.18-1
|
|
|
|
- new upstream release 0.10.18
|
|
|
|
http://blog.nodejs.org/2013/09/04/node-v0-10-18-stable/
|
|
|
|
|
2013-08-27 08:35:24 +00:00
|
|
|
* Tue Aug 27 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.17-1
|
|
|
|
- new upstream release 0.10.17
|
|
|
|
http://blog.nodejs.org/2013/08/21/node-v0-10-17-stable/
|
2013-08-27 08:57:07 +00:00
|
|
|
- fix duplicated/conflicting documentation files (RHBZ#1001253)
|
2013-08-27 08:35:24 +00:00
|
|
|
|
2013-08-17 03:15:05 +00:00
|
|
|
* Sat Aug 17 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.16-1
|
|
|
|
- new upstream release 0.10.16
|
|
|
|
http://blog.nodejs.org/2013/08/16/node-v0-10-16-stable/
|
2013-08-17 03:17:28 +00:00
|
|
|
- add v8-devel to -devel Requires
|
|
|
|
- restrict -devel Requires to the same architecture
|
2013-08-17 03:15:05 +00:00
|
|
|
|
2013-08-14 08:55:09 +00:00
|
|
|
* Wed Aug 14 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.14-3
|
|
|
|
- fix typo in _isa macro in v8 Requires
|
|
|
|
|
2013-08-05 03:32:28 +00:00
|
|
|
* Mon Aug 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.14-2
|
|
|
|
- use unversioned docdir for -docs subpackage
|
|
|
|
https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
|
|
|
|
- use main package's docdir instead of a seperate -docs directory
|
|
|
|
|
2013-07-25 21:22:08 +00:00
|
|
|
* Thu Jul 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.14-1
|
|
|
|
- new upstream release 0.10.14
|
|
|
|
http://blog.nodejs.org/2013/07/25/node-v0-10-14-stable/
|
|
|
|
|
2013-07-10 09:56:13 +00:00
|
|
|
* Wed Jul 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.13-1
|
|
|
|
- new upstream release 0.10.13
|
|
|
|
http://blog.nodejs.org/2013/07/09/node-v0-10-13-stable/
|
2013-07-10 10:03:28 +00:00
|
|
|
- remove RPM macros, etc. now that they've migrated to nodejs-packaging
|
2013-07-10 09:56:13 +00:00
|
|
|
|
2013-06-19 02:49:37 +00:00
|
|
|
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.12-1
|
|
|
|
- new upstream release 0.10.12
|
|
|
|
http://blog.nodejs.org/2013/06/18/node-v0-10-12-stable/
|
2013-06-19 03:05:21 +00:00
|
|
|
- split off a -packaging subpackage with RPM macros, etc.
|
2013-06-19 03:06:46 +00:00
|
|
|
- build -docs as noarch
|
2013-06-19 03:08:09 +00:00
|
|
|
- copy mutiple version logic from nodejs-packaging SRPM for now
|
2013-06-19 02:49:37 +00:00
|
|
|
|
2013-05-31 02:51:42 +00:00
|
|
|
* Fri May 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.9-1
|
|
|
|
- new upstream release 0.10.9
|
|
|
|
http://blog.nodejs.org/2013/05/30/node-v0-10-9-stable/
|
|
|
|
|
2013-05-29 03:44:29 +00:00
|
|
|
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.8-1
|
|
|
|
- new upstream release 0.10.8
|
2013-05-31 02:52:24 +00:00
|
|
|
http://blog.nodejs.org/2013/05/24/node-v0-10-8-stable/
|
2013-05-29 03:44:29 +00:00
|
|
|
|
2013-05-29 02:55:25 +00:00
|
|
|
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.7-1
|
|
|
|
- new upstream release 0.10.7
|
2013-05-31 02:52:24 +00:00
|
|
|
http://blog.nodejs.org/2013/05/17/node-v0-10-7-stable/
|
2013-05-29 03:08:10 +00:00
|
|
|
- strip openssl from the tarball; it contains prohibited code (RHBZ#967736)
|
2013-05-29 03:12:55 +00:00
|
|
|
- patch Makefile so we can just remove all bundled deps completely
|
2013-05-29 02:55:25 +00:00
|
|
|
|
2013-05-15 19:28:06 +00:00
|
|
|
* Wed May 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.6-1
|
|
|
|
- new upstream release 0.10.6
|
|
|
|
http://blog.nodejs.org/2013/05/14/node-v0-10-6-stable/
|
|
|
|
|
2013-05-06 21:34:09 +00:00
|
|
|
* Mon May 06 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.5-3
|
|
|
|
- nodejs-fixdep: work properly when a package has no dependencies
|
|
|
|
|
2013-04-29 11:47:26 +00:00
|
|
|
* Mon Apr 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.5-2
|
|
|
|
- nodejs-symlink-deps: make it work when --check is used and just
|
|
|
|
devDependencies exist
|
|
|
|
|
2013-04-24 15:46:51 +00:00
|
|
|
* Wed Apr 24 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.5-1
|
|
|
|
- new upstream release 0.10.5
|
|
|
|
http://blog.nodejs.org/2013/04/23/node-v0-10-5-stable/
|
|
|
|
|
2013-04-15 01:19:38 +00:00
|
|
|
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.4-1
|
|
|
|
- new upstream release 0.10.4
|
|
|
|
http://blog.nodejs.org/2013/04/11/node-v0-10-4-stable/
|
2013-04-15 01:21:43 +00:00
|
|
|
- add no-op macro to permit spec compatibility with EPEL
|
2013-04-15 01:19:38 +00:00
|
|
|
|
2013-04-04 02:34:39 +00:00
|
|
|
* Thu Apr 04 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.3-2
|
|
|
|
- nodejs-symlink-deps: symlink unconditionally in the buildroot
|
|
|
|
|
2013-04-03 19:40:15 +00:00
|
|
|
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.3-1
|
|
|
|
- new upstream release 0.10.3
|
|
|
|
http://blog.nodejs.org/2013/04/03/node-v0-10-3-stable/
|
2013-04-03 21:05:10 +00:00
|
|
|
- nodejs-symlink-deps: only create symlink if target exists
|
2013-04-03 21:32:56 +00:00
|
|
|
- nodejs-symlink-deps: symlink devDependencies when --check is used
|
2013-04-03 19:40:15 +00:00
|
|
|
|
2013-03-31 23:46:53 +00:00
|
|
|
* Sun Mar 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.2-1
|
|
|
|
- new upstream release 0.10.2
|
|
|
|
http://blog.nodejs.org/2013/03/28/node-v0-10-2-stable/
|
2013-03-31 23:49:55 +00:00
|
|
|
- remove %%nodejs_arches macro since it will only be useful if it is present in
|
|
|
|
the redhat-rpm-config package
|
2013-04-01 00:03:32 +00:00
|
|
|
- add default filtering macro to remove unwanted Provides from native modules
|
2013-04-01 04:26:43 +00:00
|
|
|
- nodejs-symlink-deps now supports multiple modules in one SRPM properly
|
|
|
|
- nodejs-symlink-deps also now supports a --check argument that works in the
|
|
|
|
current working directry instead of the buildroot
|
2013-03-31 23:46:53 +00:00
|
|
|
|
2013-03-22 01:12:03 +00:00
|
|
|
* Fri Mar 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.1-1
|
|
|
|
- new upstream release 0.10.1
|
|
|
|
http://blog.nodejs.org/2013/03/21/node-v0-10-1-stable/
|
|
|
|
|
2013-03-20 20:23:18 +00:00
|
|
|
* Wed Mar 20 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.0-4
|
|
|
|
- fix escaping in dependency generator regular expressions (RHBZ#923941)
|
|
|
|
|
2013-03-13 01:29:17 +00:00
|
|
|
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.0-3
|
|
|
|
- add virtual ABI provides for node and v8 so binary module's deps break when
|
|
|
|
binary compatibility is broken
|
|
|
|
- automatically add matching Requires to nodejs binary modules
|
|
|
|
- add %%nodejs_arches macro to future-proof ExcluseArch stanza in dependent
|
|
|
|
packages
|
|
|
|
|
2013-03-12 15:33:44 +00:00
|
|
|
* Tue Mar 12 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.10.0-2
|
|
|
|
- Fix up documentation subpackage
|
|
|
|
|
2013-03-11 20:20:39 +00:00
|
|
|
* Mon Mar 11 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.10.0-1
|
|
|
|
- Update to stable 0.10.0 release
|
|
|
|
- https://raw.github.com/joyent/node/v0.10.0/ChangeLog
|
|
|
|
|
2013-02-14 08:22:25 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-22 20:46:01 +00:00
|
|
|
* Tue Jan 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-10
|
|
|
|
- minor bugfixes to RPM magic
|
|
|
|
- nodejs-symlink-deps: don't create an empty node_modules dir when a module
|
|
|
|
has no dependencies
|
|
|
|
- nodes-fixdep: support adding deps when none exist
|
|
|
|
- Add the full set of headers usually bundled with node as deps to nodejs-devel.
|
|
|
|
This way `npm install` for native modules that assume the stuff bundled with
|
|
|
|
node exists will usually "just work".
|
2013-01-30 23:46:47 +00:00
|
|
|
-move RPM magic to nodejs-devel as requested by FPC
|
2013-01-22 20:46:01 +00:00
|
|
|
|
2013-01-12 23:16:50 +00:00
|
|
|
* Sat Jan 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-9
|
|
|
|
- fix brown paper bag bug in requires generation script
|
|
|
|
|
2013-01-10 13:03:49 +00:00
|
|
|
* Thu Jan 10 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.5-8
|
|
|
|
- Build debug binary and install it in the nodejs-devel subpackage
|
|
|
|
|
2013-01-10 09:10:39 +00:00
|
|
|
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-7
|
|
|
|
- don't use make install since it rebuilds everything
|
|
|
|
|
2013-01-10 08:25:01 +00:00
|
|
|
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-6
|
|
|
|
- add %%{?isa}, epoch to v8 deps
|
|
|
|
|
2013-01-10 00:47:55 +00:00
|
|
|
* Wed Jan 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-5
|
|
|
|
- add defines to match libuv (#892601)
|
2013-01-10 01:01:49 +00:00
|
|
|
- make v8 dependency explicit (and thus more accurate)
|
2013-01-10 01:12:46 +00:00
|
|
|
- add -g to $C(XX)FLAGS instead of patching configure to add it
|
2013-01-10 01:44:46 +00:00
|
|
|
- don't write pointless 'npm(foo) > 0' deps
|
2013-01-10 00:47:55 +00:00
|
|
|
|
2013-01-05 09:55:51 +00:00
|
|
|
* Sat Jan 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-4
|
|
|
|
- install development headers
|
2013-01-05 10:26:47 +00:00
|
|
|
- add nodejs_sitearch macro
|
2013-01-05 09:55:51 +00:00
|
|
|
|
2013-01-02 07:05:33 +00:00
|
|
|
* Wed Jan 02 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-3
|
|
|
|
- make nodejs-symlink-deps actually work
|
|
|
|
|
2013-01-02 01:54:12 +00:00
|
|
|
* Tue Jan 01 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-2
|
|
|
|
- provide nodejs-devel so modules can BuildRequire it (and be consistent
|
|
|
|
with other interpreted languages in the distro)
|
|
|
|
|
2013-01-02 00:33:10 +00:00
|
|
|
* Tue Jan 01 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-1
|
|
|
|
- new upstream release 0.9.5
|
2013-01-02 00:46:31 +00:00
|
|
|
- provide nodejs-devel for the moment
|
|
|
|
- fix minor bugs in RPM magic
|
2013-01-02 01:01:34 +00:00
|
|
|
- add nodejs_fixdep macro so packagers can easily adjust dependencies in
|
|
|
|
package.json files
|
2013-01-02 00:33:10 +00:00
|
|
|
|
2012-12-27 02:57:50 +00:00
|
|
|
* Wed Dec 26 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.4-1
|
|
|
|
- new upstream release 0.9.4
|
|
|
|
- system library patches are now upstream
|
|
|
|
- respect optflags
|
|
|
|
- include documentation in subpackage
|
2012-12-27 23:45:37 +00:00
|
|
|
- add RPM dependency generation and related magic
|
2012-12-27 23:48:09 +00:00
|
|
|
- guard libuv depedency so it always gets bumped when nodejs does
|
2013-01-05 09:55:51 +00:00
|
|
|
- add -devel subpackage with enough to make node-gyp happy
|
2012-12-27 02:57:50 +00:00
|
|
|
|
2012-12-19 11:18:24 +00:00
|
|
|
* Wed Dec 19 2012 Dan Horák <dan[at]danny.cz> - 0.9.3-8
|
|
|
|
- set exclusive arch list to match v8
|
|
|
|
|
2012-12-18 13:55:24 +00:00
|
|
|
* Tue Dec 18 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-7
|
|
|
|
- Add remaining changes from code review
|
|
|
|
- Remove unnecessary BuildRequires on findutils
|
|
|
|
- Remove %%clean section
|
2012-12-18 13:51:29 +00:00
|
|
|
|
2012-12-18 13:55:24 +00:00
|
|
|
* Fri Dec 14 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-6
|
|
|
|
- Fixes from code review
|
|
|
|
- Fix executable permissions
|
|
|
|
- Correct the License field
|
|
|
|
- Build debuginfo properly
|
2012-12-18 13:51:29 +00:00
|
|
|
|
|
|
|
* Thu Dec 13 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-5
|
|
|
|
- Return back to using the standard binary name
|
|
|
|
- Temporarily adding a conflict against the ham radio node package until they
|
|
|
|
complete an agreed rename of their binary.
|
|
|
|
|
|
|
|
* Wed Nov 28 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-4
|
|
|
|
- Rename binary and manpage to nodejs
|
|
|
|
|
|
|
|
* Mon Nov 19 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-3
|
|
|
|
- Update to latest upstream development release 0.9.3
|
|
|
|
- Include upstreamed patches to unbundle dependent libraries
|
|
|
|
|
|
|
|
* Tue Oct 23 2012 Adrian Alves <alvesadrian@fedoraproject.org> 0.8.12-1
|
|
|
|
- Fixes and Patches suggested by Matthias Runge
|
|
|
|
|
|
|
|
* Mon Apr 09 2012 Adrian Alves <alvesadrian@fedoraproject.org> 0.6.5
|
|
|
|
- First build.
|
|
|
|
|