From ac817bf873c00489f40dfad01e3f4769d8deb418 Mon Sep 17 00:00:00 2001 From: webbuilder_pel7ppc64lebuilder0 Date: Wed, 13 May 2020 22:14:18 +0200 Subject: [PATCH] nodejs package update v10.15.0 Signed-off-by: webbuilder_pel7ppc64lebuilder0 --- ...1-Disable-running-gyp-on-shared-deps.patch | 14 +- ...ess-NPM-message-to-run-global-update.patch | 11 +- SOURCES/nodejs-tarball.sh | 185 +--- SPECS/nodejs.spec | 899 +++++------------- 4 files changed, 272 insertions(+), 837 deletions(-) diff --git a/SOURCES/0001-Disable-running-gyp-on-shared-deps.patch b/SOURCES/0001-Disable-running-gyp-on-shared-deps.patch index 3c11dd8..79cbc7e 100644 --- a/SOURCES/0001-Disable-running-gyp-on-shared-deps.patch +++ b/SOURCES/0001-Disable-running-gyp-on-shared-deps.patch @@ -1,17 +1,19 @@ -From 7a6257be1d0276ff22d2d92ea89c5bca6c633802 Mon Sep 17 00:00:00 2001 +From def28d29f907050d8bcd94ed2e341d128ffa3fa6 Mon Sep 17 00:00:00 2001 From: Zuzana Svetlikova Date: Thu, 27 Apr 2017 14:25:42 +0200 -Subject: [PATCH 1/3] Disable running gyp on shared deps +Subject: [PATCH 1/2] Disable running gyp on shared deps --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile -index 316410e3f81e39cdddecf91d5b717c884a9c51b3..62c8ebb5b95a68e44d4c2ab3beee70d63c3175c7 100644 +index 5fc2bb0c58f5532044a14e9f9595b2316f562726..f1c1545caa220d7442d6d92c49412ec7554de123 100644 --- a/Makefile +++ b/Makefile -@@ -123,10 +123,9 @@ with-code-cache: +@@ -121,14 +121,13 @@ with-code-cache: + + .PHONY: test-code-cache test-code-cache: with-code-cache $(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) code-cache @@ -25,6 +27,8 @@ index 316410e3f81e39cdddecf91d5b717c884a9c51b3..62c8ebb5b95a68e44d4c2ab3beee70d6 $(PYTHON) tools/gyp_node.py -f make config.gypi: configure configure.py + @if [ -x config.status ]; then \ + ./config.status; \ -- -2.24.1 +2.19.0 diff --git a/SOURCES/0002-Suppress-NPM-message-to-run-global-update.patch b/SOURCES/0002-Suppress-NPM-message-to-run-global-update.patch index 684e383..fd54ee2 100644 --- a/SOURCES/0002-Suppress-NPM-message-to-run-global-update.patch +++ b/SOURCES/0002-Suppress-NPM-message-to-run-global-update.patch @@ -1,7 +1,7 @@ -From 0fd4649d1943f45cb06bda6febdc7ffa7d5859b2 Mon Sep 17 00:00:00 2001 +From ab6c18fd9aba942bee3f2f8030273c846b6025a6 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 1 May 2018 08:05:30 -0400 -Subject: [PATCH 2/3] Suppress NPM message to run global update +Subject: [PATCH 2/2] Suppress NPM message to run global update Signed-off-by: Stephen Gallagher --- @@ -17,7 +17,7 @@ index 6f76b23828531e7af98a7e3cd7d5abfaac09b40c..98edb6f45fe073e03794a2ae6e7aa7f5 npm.argv.unshift(npm.command) npm.command = 'help' } - + - var isGlobalNpmUpdate = conf.global && ['install', 'update'].includes(npm.command) && npm.argv.includes('npm') - // now actually fire up npm and run the command. @@ -82,5 +82,6 @@ index 6f76b23828531e7af98a7e3cd7d5abfaac09b40c..98edb6f45fe073e03794a2ae6e7aa7f5 if ( !err && npm.config.get('ham-it-up') && --- -2.20.1 +-- +2.19.0 + diff --git a/SOURCES/nodejs-tarball.sh b/SOURCES/nodejs-tarball.sh index 582d7c4..237ae13 100755 --- a/SOURCES/nodejs-tarball.sh +++ b/SOURCES/nodejs-tarball.sh @@ -1,187 +1,10 @@ #!/bin/sh -# Uses Argbash to generate command argument parsing. To update -# arguments, make sure to call -# `argbash nodejs-tarball.sh -o nodejs-tarball.sh` -# ARG_POSITIONAL_SINGLE([version],[Node.js release version],[""]) -# ARG_DEFAULTS_POS([]) -# ARG_HELP([Tool to aid in Node.js packaging of new releases]) -# ARGBASH_GO() -# needed because of Argbash --> m4_ignore([ -### START OF CODE GENERATED BY Argbash v2.8.1 one line above ### -# Argbash is a bash code generator used to get arguments parsing right. -# Argbash is FREE SOFTWARE, see https://argbash.io for more info - - -die() -{ - local _ret=$2 - test -n "$_ret" || _ret=1 - test "$_PRINT_HELP" = yes && print_help >&2 - echo "$1" >&2 - exit ${_ret} -} - - -begins_with_short_option() -{ - local first_option all_short_options='h' - first_option="${1:0:1}" - test "$all_short_options" = "${all_short_options/$first_option/}" && return 1 || return 0 -} - -# THE DEFAULTS INITIALIZATION - POSITIONALS -_positionals=() -_arg_version="" -# THE DEFAULTS INITIALIZATION - OPTIONALS - - -print_help() -{ - printf '%s\n' "Tool to aid in Node.js packaging of new releases" - printf 'Usage: %s [-h|--help] []\n' "$0" - printf '\t%s\n' ": Node.js release version (default: '""')" - printf '\t%s\n' "-h, --help: Prints help" -} - - -parse_commandline() -{ - _positionals_count=0 - while test $# -gt 0 - do - _key="$1" - case "$_key" in - -h|--help) - print_help - exit 0 - ;; - -h*) - print_help - exit 0 - ;; - *) - _last_positional="$1" - _positionals+=("$_last_positional") - _positionals_count=$((_positionals_count + 1)) - ;; - esac - shift - done -} - - -handle_passed_args_count() -{ - test "${_positionals_count}" -le 1 || _PRINT_HELP=yes die "FATAL ERROR: There were spurious positional arguments --- we expect between 0 and 1, but got ${_positionals_count} (the last one was: '${_last_positional}')." 1 -} - - -assign_positional_args() -{ - local _positional_name _shift_for=$1 - _positional_names="_arg_version " - - shift "$_shift_for" - for _positional_name in ${_positional_names} - do - test $# -gt 0 || break - eval "$_positional_name=\${1}" || die "Error during argument parsing, possibly an Argbash bug." 1 - shift - done -} - -parse_commandline "$@" -handle_passed_args_count -assign_positional_args 1 "${_positionals[@]}" - -# OTHER STUFF GENERATED BY Argbash - -### END OF CODE GENERATED BY Argbash (sortof) ### ]) -# [ <-- needed because of Argbash - - -set -e - -echo $_arg_version - -if [ x$_arg_version != x ]; then - version=$_arg_version -else - version=$(rpm -q --specfile --qf='%{version}\n' nodejs.spec | head -n1) -fi - -rm -f node-v${version}.tar.gz node-v${version}-stripped.tar.gz -wget http://nodejs.org/dist/v${version}/node-v${version}.tar.gz \ - http://nodejs.org/dist/v${version}/SHASUMS256.txt -sha256sum -c SHASUMS256.txt --ignore-missing +version=$(rpm -q --specfile --qf='%{version}\n' nodejs.spec | head -n1) +rm -f node-v${version}.tar.gz +wget http://nodejs.org/dist/v${version}/node-v${version}.tar.gz tar -zxf node-v${version}.tar.gz rm -rf node-v${version}/deps/openssl tar -zcf node-v${version}-stripped.tar.gz node-v${version} -# Download the matching version of ICU -rm -f icu4c*-src.tgz icu.md5 -ICUMD5=$(cat node-v${version}/tools/icu/current_ver.dep |jq -r '.[0].md5') -wget $(cat node-v${version}/tools/icu/current_ver.dep |jq -r '.[0].url') -ICUTARBALL=$(ls -1 icu4c*-src.tgz) -echo "$ICUMD5 $ICUTARBALL" > icu.md5 -md5sum -c icu.md5 -rm -f icu.md5 SHASUMS256.txt - -fedpkg new-sources node-v${version}-stripped.tar.gz icu4c*-src.tgz - -rm -f node-v${version}.tar.gz - -# Determine the bundled versions of the various packages -echo "Bundled software versions" -echo "-------------------------" -echo -echo "libnode shared object version" -echo "=========================" -grep "define NODE_MODULE_VERSION" node-v${version}/src/node_version.h -echo -echo "V8" -echo "=========================" -grep "define V8_MAJOR_VERSION" node-v${version}/deps/v8/include/v8-version.h -grep "define V8_MINOR_VERSION" node-v${version}/deps/v8/include/v8-version.h -grep "define V8_BUILD_NUMBER" node-v${version}/deps/v8/include/v8-version.h -grep "define V8_PATCH_LEVEL" node-v${version}/deps/v8/include/v8-version.h -echo -echo "c-ares" -echo "=========================" -grep "define ARES_VERSION_MAJOR" node-v${version}/deps/cares/include/ares_version.h -grep "define ARES_VERSION_MINOR" node-v${version}/deps/cares/include/ares_version.h -grep "define ARES_VERSION_PATCH" node-v${version}/deps/cares/include/ares_version.h -echo -echo "http-parser" -echo "=========================" -grep "define HTTP_PARSER_VERSION_MAJOR" node-v${version}/deps/http_parser/http_parser.h -grep "define HTTP_PARSER_VERSION_MINOR" node-v${version}/deps/http_parser/http_parser.h -grep "define HTTP_PARSER_VERSION_PATCH" node-v${version}/deps/http_parser/http_parser.h -echo -echo "libuv" -echo "=========================" -grep "define UV_VERSION_MAJOR" node-v${version}/deps/uv/include/uv/version.h -grep "define UV_VERSION_MINOR" node-v${version}/deps/uv/include/uv/version.h -grep "define UV_VERSION_PATCH" node-v${version}/deps/uv/include/uv/version.h -echo -echo "libuv" -echo "=========================" -grep "define NGHTTP2_VERSION " node-v${version}/deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h -echo -echo "ICU" -echo "=========================" -grep "url" node-v${version}/tools/icu/current_ver.dep -echo -echo "punycode" -echo "=========================" -grep "'version'" node-v${version}/lib/punycode.js -echo -echo "npm" -echo "=========================" -grep "\"version\":" node-v${version}/deps/npm/package.json -echo -echo "Make sure these versions match what is in the RPM spec file" - -rm -rf node-v${version} -# ] <-- needed because of Argbash +fedpkg new-sources node-v${version}-stripped.tar.gz diff --git a/SPECS/nodejs.spec b/SPECS/nodejs.spec index 6690913..02ea544 100644 --- a/SPECS/nodejs.spec +++ b/SPECS/nodejs.spec @@ -1,18 +1,11 @@ -%ifarch ppc64 ppc64le -%define _smp_mflags -j32 -%endif +%global with_debug 1 -# fake EPEL in RDO -%global nodejs_arches %{ix86} x86_64 %{arm} aarch64 %{power64} -# EPEL has an old ICU version, so disable the small-icu unbundling -%if 0%{?fedora} -%global icu_lib system-icu -%else -%global icu_lib small-icu +# PowerPC and s390x segfault during Debug builds +# https://github.com/nodejs/node/issues/20642 +%ifarch %{power64} s390x +%global with_debug 0 +%define _smp_mflags -j16 %endif -# end fake EPEL - -%global with_debug 1 # bundle dependencies that are not available as Fedora modules # %%{!?_with_bootstrap: %%global bootstrap 1} @@ -21,21 +14,14 @@ %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} -# ARM64 builds of 8.5.0 break on the Debug builds, so we'll just -# build the standard runtime until that gets sorted out. -# https://github.com/nodejs/node/issues/15395 -%ifarch aarch64 -%global with_debug 1 -%endif - # == Node.js Version == # 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_epoch 1 -%global nodejs_major 8 -%global nodejs_minor 12 +%global nodejs_major 10 +%global nodejs_minor 15 %global nodejs_patch 0 %global nodejs_abi %{nodejs_major}.%{nodejs_minor} %global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch} @@ -44,9 +30,9 @@ # == Bundled Dependency Versions == # v8 - from deps/v8/include/v8-version.h %global v8_major 6 -%global v8_minor 2 -%global v8_build 414 -%global v8_patch 66 +%global v8_minor 8 +%global v8_build 275 +%global v8_patch 32 # V8 presently breaks ABI at least every x.y release while never bumping SONAME %global v8_abi %{v8_major}.%{v8_minor} %global v8_version %{v8_major}.%{v8_minor}.%{v8_build}.%{v8_patch} @@ -54,33 +40,45 @@ # c-ares - from deps/cares/include/ares_version.h # https://github.com/nodejs/node/pull/9332 %global c_ares_major 1 -%global c_ares_minor 10 -%global c_ares_patch 1 +%global c_ares_minor 15 +%global c_ares_patch 0 %global c_ares_version %{c_ares_major}.%{c_ares_minor}.%{c_ares_patch} # http-parser - from deps/http_parser/http_parser.h %global http_parser_major 2 -%global http_parser_minor 7 +%global http_parser_minor 8 %global http_parser_patch 0 %global http_parser_version %{http_parser_major}.%{http_parser_minor}.%{http_parser_patch} -# libuv - from deps/uv/include/uv-version.h +# libuv - from deps/uv/include/uv/version.h %global libuv_major 1 -%global libuv_minor 15 -%global libuv_patch 0 +%global libuv_minor 23 +%global libuv_patch 2 %global libuv_version %{libuv_major}.%{libuv_minor}.%{libuv_patch} # nghttp2 - from deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h %global nghttp2_major 1 -%global nghttp2_minor 25 +%global nghttp2_minor 34 %global nghttp2_patch 0 %global nghttp2_version %{nghttp2_major}.%{nghttp2_minor}.%{nghttp2_patch} +# ICU - from tools/icu/current_ver.dep +%global icu_major 62 +%global icu_minor 1 +%global icu_version %{icu_major}.%{icu_minor} + +%if 0%{?fedora} >= 29 +%global icu_flag system-icu +%else +%global icu_flag small-icu +%endif + + # punycode - from lib/punycode.js # Note: this was merged into the mainline since 0.6.x # Note: this will be unmerged in an upcoming major release %global punycode_major 2 -%global punycode_minor 0 +%global punycode_minor 1 %global punycode_patch 0 %global punycode_version %{punycode_major}.%{punycode_minor}.%{punycode_patch} @@ -97,10 +95,6 @@ # base npm version number is increasing. %global npm_release %{nodejs_epoch}.%{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_release} -# 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/.*$ - Name: nodejs Epoch: %{nodejs_epoch} @@ -116,7 +110,8 @@ ExclusiveArch: %{nodejs_arches} # 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 -Source0: node-v%{nodejs_version}-stripped.tar.gz +#Source0: node-v%{nodejs_version}-stripped.tar.gz +Source0: http://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz Source100: %{name}-tarball.sh # The native module Requires generator remains in the nodejs SRPM, so it knows @@ -125,22 +120,17 @@ Source100: %{name}-tarball.sh Source7: nodejs_native.attr # Disable running gyp on bundled deps we don't use -Patch1: 0001-Disable-running-gyp-files-for-bundled-deps.patch +Patch1: 0001-Disable-running-gyp-on-shared-deps.patch -# Being fixed upstream. -# Follow https://bugs.chromium.org/p/v8/issues/detail?id=6939 -Patch2: 0001-Fix-aarch64-debug.patch +# Suppress the message from npm to run `npm -g update npm` +# This does bad things on an RPM-managed npm. +Patch2: 0002-Suppress-NPM-message-to-run-global-update.patch BuildRequires: python2-devel -BuildRequires: libicu-devel +BuildRequires: python3-devel BuildRequires: zlib-devel -# gcc 4.9.4 is only available through devtoolset in EL7 -# But no features is used at this stage yet -# https://github.com/nodejs/build/issues/762 -%if 0%{?fedora} BuildRequires: gcc >= 4.9.4 BuildRequires: gcc-c++ >= 4.9.4 -%endif #%if ! 0%%{?bootstrap} %if %{with bootstrap} @@ -148,18 +138,24 @@ Provides: bundled(http-parser) = %{http_parser_version} Provides: bundled(libuv) = %{libuv_version} Provides: bundled(nghttp2) = %{nghttp2_version} %else +BuildRequires: nodejs-packaging BuildRequires: systemtap-sdt-devel -BuildRequires: http-parser-devel >= 2.7.0 -Requires: http-parser >= 2.7.0 -BuildRequires: libuv-devel >= 1:1.9.1 -Requires: libuv >= 1:1.9.1 -BuildRequires: libnghttp2-devel >= 1.25.0 -Requires: libnghttp2 >= 1.25.0 +BuildRequires: http-parser-devel >= 2.9.0 +Requires: http-parser >= 2.9.0 +BuildRequires: libuv-devel >= 1:%{libuv_version} +Requires: libuv >= 1:%{libuv_version} +BuildRequires: libnghttp2-devel >= %{nghttp2_version} +Requires: libnghttp2 >= %{nghttp2_version} +%endif + + +%if 0%{?fedora} >= 29 +BuildRequires: libicu-devel >= 62.1 %endif -BuildRequires: openssl-devel <= 1:1.1.0 +BuildRequires: openssl-devel -# we need the system certificate store when Patch2 is applied +# we need the system certificate store Requires: ca-certificates #we need ABI virtual provides where SONAMEs aren't enough/not present so deps @@ -202,6 +198,11 @@ Provides: bundled(c-ares) = %{c_ares_version} # See https://github.com/nodejs/node/commit/d726a177ed59c37cf5306983ed00ecd858cfbbef Provides: bundled(v8) = %{v8_version} +# Node.js is bound to a specific version of ICU which may not match the OS +# We cannot pin the OS to this version of ICU because every update includes +# an ABI-break, so we'll use the bundled copy. +Provides: bundled(icu) = %{icu_version} + # Make sure we keep NPM up to date when we update Node.js %if 0%{?rhel} # EPEL doesn't support Recommends, so make it strict @@ -278,14 +279,22 @@ The API documentation for the Node.js JavaScript runtime. # remove bundled dependencies that we aren't building %patch1 -p1 -%if 0%{?fedora} -rm -rf deps/icu-small \ - deps/zlib -%endif +rm -rf deps/zlib %patch2 -p1 +# Replace any instances of unversioned python' with python2 +#pathfix.py -i %{__python2} -pn $(find -type f) +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~" {} \; +sed -i "s~python~python2~" $(find . -type f | grep "gyp$") +sed -i "s~usr\/bin\/python2~usr\/bin\/python3~" ./deps/v8/tools/gen-inlining-tests.py +sed -i "s~usr\/bin\/python.*$~usr\/bin\/python2~" ./deps/v8/tools/mb/mb_unittest.py +find . -type f -exec sed -i "s~python -c~python2 -c~" {} \; +sed -i "s~which('python')~which('python2')~" configure + %build + # build with debugging symbols and add defines from libuv (#892601) # Node's v8 breaks with GCC 6 because of incorrect usage of methods on # NULL objects. We need to pass -fno-delete-null-pointer-checks @@ -304,26 +313,30 @@ export CXXFLAGS='%{optflags} -g \ export CFLAGS="$(echo ${CFLAGS} | tr '\n\\' ' ')" export CXXFLAGS="$(echo ${CXXFLAGS} | tr '\n\\' ' ')" +export LDFLAGS="%{__global_ldflags}" + #%if ! 0%%{?bootstrap} %if %{with bootstrap} ./configure --prefix=%{_prefix} \ +%ifarch s390x --shared-openssl \ +%endif --shared-zlib \ --without-dtrace \ - --with-intl=%{?icu_lib} \ - --debug-http2 \ + --with-intl=small-icu \ --debug-nghttp2 \ --openssl-use-def-ca-store %else ./configure --prefix=%{_prefix} \ +%ifarch s390x --shared-openssl \ +%endif --shared-zlib \ --shared-libuv \ --shared-http-parser \ --shared-nghttp2 \ --with-dtrace \ - --with-intl=%{?icu_lib} \ - --debug-http2 \ + --with-intl=%{icu_flag} \ --debug-nghttp2 \ --openssl-use-def-ca-store %endif @@ -335,6 +348,7 @@ make BUILDTYPE=Debug %{?_smp_mflags} make BUILDTYPE=Release %{?_smp_mflags} %endif + %install rm -rf %{buildroot} @@ -373,23 +387,6 @@ cp -p common.gypi %{buildroot}%{_datadir}/node # Install the GDB init tool into the documentation directory mv %{buildroot}/%{_datadir}/doc/node/gdbinit %{buildroot}/%{_pkgdocdir}/gdbinit -# 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 @@ -413,17 +410,46 @@ ln -sf %{_pkgdocdir}/npm/html %{buildroot}%{_prefix}/lib/node_modules/npm/doc rm -f %{buildroot}/%{_defaultdocdir}/node/lldb_commands.py \ %{buildroot}/%{_defaultdocdir}/node/lldbinit +# Some NPM bundled deps are executable but should not be. This causes +# unnecessary automatic dependencies to be added. Make them not executable. +# Skip the npm bin directory or the npm binary will not work. +find %{buildroot}%{_prefix}/lib/node_modules/npm \ + -not -path "%{buildroot}%{_prefix}/lib/node_modules/npm/bin/*" \ + -executable -type f \ + -exec chmod -x {} \; + +# The above command is a little overzealous. Add a few permissions back. +chmod 0755 %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp +chmod 0755 %{buildroot}%{_prefix}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js + + %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.v8.replace(/-node\.\d+$/, ''), '%{v8_version}')" %{buildroot}/%{_bindir}/node -e "require('assert').equal(process.versions.ares.replace(/-DEV$/, ''), '%{c_ares_version}')" # Ensure we have punycode and that the version matches %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"punycode\").version, '%{punycode_version}')" # 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}')" +NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules:%{buildroot}%{_prefix}/lib/node_modules/npm/node_modules %{buildroot}/%{_bindir}/node -e "require(\"assert\").equal(require(\"npm\").version, '%{npm_version}')" + + +%pretrans -n npm -p +-- Remove all of the symlinks from the bundled npm node_modules directory +-- This scriptlet can be removed in Fedora 31 +base_path = "%{_prefix}/lib/node_modules/npm/node_modules/" +d_st = posix.stat(base_path) +if d_st then + for f in posix.files(base_path) do + path = base_path..f + st = posix.stat(path) + if st and st.type == "link" then + os.remove(path) + end + end +end %files %{_bindir}/node @@ -474,11 +500,153 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node - %files docs %dir %{_pkgdocdir} %{_pkgdocdir}/html -%{_pkgdocdir}/npm* %{_pkgdocdir}/npm/html %{_pkgdocdir}/npm/doc %changelog +* Wed Jan 02 2019 Stephen Gallagher - 1:10.15.0-1 +- Update to 10.15.0 +- https://nodejs.org/en/blog/release/v10.15.0/ + +* Thu Nov 29 2018 Stephen Gallagher - 1:10.14.1-1 +- Update to 10.14.1 +- https://nodejs.org/en/blog/release/v10.14.0/ +- https://nodejs.org/en/blog/release/v10.14.1/ + +* Thu Nov 01 2018 Stephen Gallagher - 1:10.13.0-1 +- Update to 10.13.0 +- https://nodejs.org/en/blog/release/v10.13.0/ + +* Thu Oct 11 2018 Stephen Gallagher - 1:10.12.0-1 +- Update to 10.12.0 +- https://nodejs.org/en/blog/release/v10.12.0/ + +* Wed Oct 10 2018 Jan Staněk - 1:10.11.0-2 +- Add non-bootstrap BR for nodejs-packaging + +* Thu Sep 20 2018 Stephen Gallagher - 1:10.11.0-1 +- Update to 10.11.0 +- https://nodejs.org/en/blog/release/v10.11.0/ + +* Wed Sep 19 2018 Stephen Gallagher - 1:10.10.0-2 +- Really, finally fix npm dep executable permissions + +* Tue Sep 11 2018 Stephen Gallagher - 1:10.10.0-1 +- Update to 10.10.0 +- https://nodejs.org/en/blog/release/v10.10.0/ +- Fix issue with npm permissions + +* Tue Aug 21 2018 Stephen Gallagher - 1:10.9.0-2 +- Clean up automatic dependencies for npm + +* Thu Aug 16 2018 Stephen Gallagher - 1:10.9.0-1 +- Update to 10.9.0 +- https://nodejs.org/en/blog/release/v10.9.0/ + +* Tue Aug 07 2018 Stephen Gallagher - 1:10.8.0-1 +- Update to 10.8.0 +- https://nodejs.org/en/blog/release/v10.8.0/ + +* Fri Jul 20 2018 Stephen Gallagher - 1:10.7.0-4 +- Fix npm upgrade scriptlet +- Fix unexpected trailing .1 in npm release field + +* Fri Jul 20 2018 Stephen Gallagher - 1:10.7.0-3 +- Restore annotations to binaries +- Fix unexpected trailing .1 in release field + +* Thu Jul 19 2018 Stephen Gallagher - 1:10.7.0-2 +- Update to 10.7.0 +- https://nodejs.org/en/blog/release/v10.7.0/ +- https://nodejs.org/en/blog/release/v10.6.0/ + +* Fri Jul 13 2018 Fedora Release Engineering - 1:10.5.0-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 21 2018 Stephen Gallagher - 1:10.5.0-1 +- Update to 10.5.0 +- https://nodejs.org/en/blog/release/v10.5.0/ + +* Thu Jun 14 2018 Stephen Gallagher - 1:10.4.1-1 +- Update to 10.4.1 to address security issues +- https://nodejs.org/en/blog/release/v10.4.1/ +- Resolves: rhbz#1590801 +- Resolves: rhbz#1591014 +- Resolves: rhbz#1591019 + +* Thu Jun 07 2018 Stephen Gallagher - 1:10.4.0-1 +- Update to 10.4.0 +- https://nodejs.org/en/blog/release/v10.4.0/ + +* Wed May 30 2018 Stephen Gallagher - 1:10.3.0-1 +- Update to 10.3.0 +- Update npm to 6.1.0 +- https://nodejs.org/en/blog/release/v10.3.0/ + +* Tue May 29 2018 Stephen Gallagher - 1:10.2.1-2 +- Fix up bare 'python' to be python2 +- Drop redundant entry in docs section + +* Fri May 25 2018 Stephen Gallagher - 1:10.2.1-1 +- Update to 10.2.1 +- https://nodejs.org/en/blog/release/v10.2.1/ + +* Wed May 23 2018 Stephen Gallagher - 1:10.2.0-1 +- Update to 10.2.0 +- https://nodejs.org/en/blog/release/v10.2.0/ + +* Thu May 10 2018 Stephen Gallagher - 1:10.1.0-3 +- Fix incorrect rpm macro + +* Thu May 10 2018 Stephen Gallagher - 1:10.1.0-2 +- Include upstream v8 fix for ppc64[le] +- Disable debug build on ppc64[le] and s390x + +* Wed May 09 2018 Stephen Gallagher - 1:10.1.0-1 +- Update to 10.1.0 +- https://nodejs.org/en/blog/release/v10.1.0/ +- Reenable node_g binary + +* Thu Apr 26 2018 Stephen Gallagher - 1:10.0.0-1 +- Update to 10.0.0 +- https://nodejs.org/en/blog/release/v10.0.0/ +- Drop workaround patch +- Temporarily drop node_g binary due to + https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85587 + +* Fri Apr 13 2018 Rafael dos Santos - 1:9.11.1-2 +- Use standard Fedora linker flags (bug #1543859) + +* Thu Apr 05 2018 Stephen Gallagher - 1:9.11.1-1 +- Update to 9.11.1 +- https://nodejs.org/en/blog/release/v9.11.0/ +- https://nodejs.org/en/blog/release/v9.11.1/ + +* Wed Mar 28 2018 Stephen Gallagher - 1:9.10.0-1 +- Update to 9.10.0 +- https://nodejs.org/en/blog/release/v9.10.0/ + +* Wed Mar 21 2018 Stephen Gallagher - 1:9.9.0-1 +- Update to 9.9.0 +- https://nodejs.org/en/blog/release/v9.9.0/ + +* Thu Mar 08 2018 Stephen Gallagher - 1:9.8.0-1 +- Update to 9.8.0 +- https://nodejs.org/en/blog/release/v9.8.0/ + +* Thu Mar 01 2018 Stephen Gallagher - 1:9.7.0-1 +- Update to 9.7.0 +- https://nodejs.org/en/blog/release/v9.7.0/ +- Work around F28 build issue + +* Sun Feb 25 2018 Stephen Gallagher - 1:9.6.1-1 +- Update to 9.6.1 +- https://nodejs.org/en/blog/release/v9.6.1/ +- https://nodejs.org/en/blog/release/v9.6.0/ + +* Mon Feb 05 2018 Stephen Gallagher - 1:9.5.0-1 +- Package Node.js 9.5.0 + * Thu Jan 11 2018 Stephen Gallagher - 1:8.9.4-2 - Fix incorrect Requires: @@ -580,570 +748,9 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node - * Thu Jun 29 2017 Zuzana Svetlikova - 1:8.1.3-1 - Update to v8.1.3 -- https://nodejs.org/en/blog/release/v8.1.3/ +- https://nodejs.org/en/blog/release/v8.1.3/ * Wed Jun 28 2017 Zuzana Svetlikova - 1:8.1.2-1 - Update to v8.1.2 - remove GCC 7 patch, as it is now fixed in node >= 6.12 -* Fri Jun 09 2017 Zuzana Svetlikova - 1:6.11.0-1 -- Update to 6.11.0 -- remove system CA patch since it was merged upstream -- https://github.com/nodejs/node/pull/8334 - -* Fri May 12 2017 Zuzana Svetlikova - 1:6.10.3-3 -- Rebuild without bootstrap - -* Thu May 11 2017 Zuzana Svetlikova - 1:6.10.3-2 -- Provide bundled http-parser in case of boostraping - -* Wed May 10 2017 Stephen Gallagher - 1:6.10.3-1 -- Update to 6.10.3 (LTS) -- https://nodejs.org/en/blog/release/v6.10.3/ -- Stop using the bundled http-parser now that there is an upstream - release with a new-enough version. - -* Tue May 09 2017 Zuzana Svetlikova - 1:6.10.2-3 -- Bootstrap systemtap-sdt-devel for modularity - -* Wed Apr 19 2017 Stephen Gallagher - 1:6.10.2-2 -- Switch to final upstream patch for GCC 7 compatibility - -* Wed Apr 12 2017 Zuzana Svetlikova - 1:6.10.2-1 -- Update to 6.10.2 - -* Mon Apr 03 2017 Stephen Gallagher - 1:6.10.1-3 -- Move NPM manpages into the correct subpackage -- Fixes: rhbz#1433403 - -* Mon Apr 03 2017 Stephen Gallagher - 1:6.10.1-2 -- Revert upstream change that is incompatible with OpenSSL 1.0.1 -- Fixes: rhbz#1436445 - -* Wed Mar 22 2017 Zuzana Svetlikova - 1:6.10.1-1 -- Update to 6.10.1 -- remove small-icu from deps - -* Thu Mar 09 2017 Stephen Gallagher - 1:6.10.0-1 -- Update to 6.10.0 -- https://nodejs.org/en/blog/release/v6.10.0/ -- New patch for handling system CA certificates - -* Tue Feb 28 2017 Stephen Gallagher - 1:6.9.5-2 -- Fix FTBFS against GCC 7 -- Resolves: RHBZ 1423991 - -* Fri Feb 10 2017 Fedora Release Engineering - 1:6.9.5-1.1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Feb 1 2017 Zuzana Svetlikova - 1:6.9.5-1 -- Update to v6.9.5(security) -- Reenable debug mode (https://github.com/nodejs/node/pull/10525) - -* Tue Jan 17 2017 Stephen Gallagher - 1:6.9.4-2 -- Enable DTrace support. -- Eliminate newlines from CFLAGS due to broken dtrace shim - https://sourceware.org/bugzilla/show_bug.cgi?id=21063 - Thanks to Kinston Hughes for the fix. - -* Tue Jan 10 2017 Zuzana Svetlikova - 1:6.9.4-1 -- Update to v6.9.4 - -* Thu Jan 05 2017 Stephen Gallagher - 1:6.9.3-1 -- https://nodejs.org/en/blog/release/v6.9.3/ - -* Wed Dec 21 2016 Stephen Gallagher - 1:6.9.2-2 -- Debug builds are failing. Disable them. - -* Thu Dec 08 2016 Zuzana Svetlikova - 1:6.9.2-1 -- Update to v6.9.2 - -* Tue Nov 08 2016 Stephen Gallagher - 1:6.9.1-4 -- Fix incorrect Conflicts for nodejs-docs - -* Tue Nov 08 2016 Stephen Gallagher - 1:6.9.1-2 -- Bump revision and rebuild for s390x - -* Thu Oct 20 2016 Stephen Gallagher - 1:6.9.1-1 -- Update to 6.9.1 LTS release -- Fix a regression introduced in v6.8.0 in readable stream that caused unpipe - to remove the wrong stream -- https://nodejs.org/en/blog/release/v6.9.1/ - -* Tue Oct 18 2016 Stephen Gallagher - - -- Update to 6.9.0 LTS release -- https://nodejs.org/en/blog/release/v6.9.0/ - -* Mon Oct 17 2016 Stephen Gallagher - 1:6.8.1-5 -- Add dist tag to npm nodejs dependency - -* Mon Oct 17 2016 Stephen Gallagher - 1:6.8.1-4 -- Fix typo in npm nodejs dependency - -* Sat Oct 15 2016 Stephen Gallagher - 1:6.8.1-3 -- Bump release version for tagging bug - -* Sat Oct 15 2016 Stephen Gallagher - 1:6.8.1-1 -- Update node to v6.8.0 -- Fix FTBFS against non-bundled zlib - -* Thu Oct 13 2016 Zuzana Svetlikova - 1:6.8.0-108 -- Update node to v6.8.0 and npm@3.10.8 - -* Tue Sep 27 2016 Stephen Gallagher - 1:6.7.0-107 -- Update to 6.7.0 -- https://nodejs.org/en/blog/release/v6.7.0/ - -* Fri Sep 16 2016 Stephen Gallagher - 1:6.6.0-106 -- Drop Conflicts: from main package. - It wasn't needed and was breaking upgrades in some cases. -- Move npm support files into the npm package -- Mark manpages as %%doc - -* Fri Sep 16 2016 Stephen Gallagher - 1:6.6.0-105 -- Update to 6.6.0 -- https://github.com/nodejs/node/blob/v6.6.0/doc/changelogs/CHANGELOG_V6.md#6.6.0 - -* Mon Sep 12 2016 Stephen Gallagher - 1:6.5.0-104 -- Add support for building on EPEL 7 against OpenSSL 1.0.1 -- Modify v8_abi autorequires to avoid unnecessary rebuilds - -* Mon Aug 29 2016 Zuzana Svetlikova - 1:6.5.0-103 -- Update to 6.5.0 - -* Mon Aug 22 2016 Zuzana Svetlikova - 1:6.4.0-102 -- Bump release to 102 to fix broken npm dependency - -* Thu Aug 18 2016 Zuzana Svetlikova - 1:6.4.0-1 -- Update to 6.4.0 - -* Tue Aug 16 2016 Stephen Gallagher - 1:6.3.1-101 -- Build Node.js with internationalization support - -* Thu Aug 04 2016 Stephen Gallagher - 1:6.3.1-100 -- Split npm into a subpackage - -* Mon Jul 25 2016 Zuzana Svetlikova - 1:6.3.1-1 -- Update to 6.3.1 -- comment out %%patch3 - -* Mon Jul 18 2016 Stephen Gallagher - 1:6.3.0-3 -- Fix epoch version dependency on libuv - -* Tue Jul 12 2016 Zuzana Svetlikova - 1:6.3.0-2 -- Patch node.gyp to fix failing ./configure - -* Sun Jul 10 2016 Zuzana Svetlikova - 1:6.3.0-1 -- Update node to 6.3.0 -- update punycode to 2.0.0 -- add gcc and gcc-c++ as build dependencies -- modified system-certs patch - -* Sat Jun 18 2016 Tom Hughes - 1:6.2.2-1 -- Update to latest stable release 6.2.2 -- Add check on npm version - -* Tue Jun 7 2016 Tom Hughes - 1:6.2.1-1 -- Update to latest stable release 6.2.1 - -* Wed May 18 2016 Stephen Gallagher - 1:6.2.0-1 -- Update to latest stable release 6.2.0 -- https://github.com/nodejs/node/blob/v6.2.0/doc/changelogs/CHANGELOG_V6.md#6.2.0 - -* Mon May 09 2016 Stephen Gallagher - 1:6.1.0-1 -- Update to latest stable release 6.1.0 -- https://github.com/nodejs/node/blob/v6.1.0/CHANGELOG.md - -* Tue May 03 2016 Stephen Gallagher - 1:5.11.0-3 -- Drop the epoch on the virtual provides for npm - -* Thu Apr 28 2016 Stephen Gallagher - 1:5.11.0-2 -- Add epoch and rebuild to preserve upgrade path - -* Mon Apr 25 2016 Stephen Gallagher - 5.11.0-1 -- Update to latest stable release 5.11.0 -- https://github.com/nodejs/node/blob/v5.11.0/CHANGELOG.md - -* Mon Apr 11 2016 Stephen Gallagher - 5.10.0-1 -- Update to latest stable release 5.10.1 -- https://github.com/nodejs/node/blob/v5.10.1/CHANGELOG.md - -* Fri Apr 01 2016 Stephen Gallagher - 5.10.0-1 -- Update to latest security release (5.10.0) -- Update bundled npm to 3.8.3 -- Fixes serious man-in-the-middle vulnerability with npm - -* Wed Mar 23 2016 Stephen Gallagher - 5.9.1-1 -- Update to latest stable release (5.9.1) -- Bundle npm (3.7.3) - -* Wed Mar 23 2016 Stephen Gallagher - 4.4.1-1 -- Update to 4.4.1 upstream LTS release -- Add more versatile ABI checking - -* Tue Feb 23 2016 Tom Hughes - 4.3.1-1 -- Update to 4.3.1 upstream LTS release - -* Wed Feb 10 2016 Tom Hughes - 4.3.0-3 -- Verify that the built node reports the expected versions -- Drop unneeded dep on http-parser-devel -- Add version check for punycode - -* Wed Feb 10 2016 Stephen Gallagher - 4.3.0-2 -- Fix nodejs-abi to be 4.3 -- Clean up bundled versions in spec file - -* Tue Feb 09 2016 Stephen Gallagher - 4.3.0-1 -- Update to 4.3.0 upstream LTS release -- https://github.com/nodejs/node/blob/v4.3.0/CHANGELOG.md -- Switch to the bundled http-parser -- Build with -fno-delete-pointer-null-checks for GCC 6 - -* Tue Feb 9 2016 Tom Hughes - 4.2.6-1 -- Update to 4.2.6 upstream release - -* Thu Feb 04 2016 Fedora Release Engineering - 4.2.4-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Jan 19 2016 Stephen Gallagher - 4.2.4-4 -- Force a depdendency on the correct version of http-parser - -* Tue Jan 19 2016 Stephen Gallagher - 4.2.4-3 -- Force a dependency on the correct version of libuv - -* Mon Jan 18 2016 Stephen Gallagher - 4.2.4-2 -- Fix Provides: for punycode - -* Wed Jan 13 2016 Stephen Gallagher - 4.2.4-1 -- New upstream bugfix release 4.2.4 -- https://github.com/nodejs/node/blob/v4.2.3/CHANGELOG.md - -* Fri Dec 04 2015 Stephen Gallagher 4.2.3-2 -- Add %%with_debug variable to spec file - The debug build is not supported on all architectures. - -* Fri Dec 04 2015 Stephen Gallagher 4.2.3-1 -- New upstream security release 4.2.3 -- https://github.com/nodejs/node/blob/v4.2.3/CHANGELOG.md -- Fix incorrect v8 version - -* Wed Dec 2 2015 Peter Robinson 4.2.2-4 -- Use nodejs_arches macro for arch definition (add aarch64 and power64 platforms) - -* Wed Dec 02 2015 Stephen Gallagher 4.2.2-3 -- Fix nodejs_abi version -- Also ensure that we are building against the correct libuv - -* Wed Dec 02 2015 Stephen Gallagher 4.2.2-2 -- Disable debug build for ARMv7 since it fails to build - -* Tue Dec 01 2015 Stephen Gallagher 4.2.2-1 -- Upgrade to Node.js 4.2.2 (LTS) - -* Wed Jun 17 2015 Fedora Release Engineering - 0.10.36-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Wed Apr 29 2015 T.C. Hollingsworth - 0.10.36-4 -- fix incorrect Requires on libuv (RHBZ#1215719) - -* Tue Feb 24 2015 T.C. Hollingsworth - 0.10.36-3 -- bump v8 requires (RHBZ#1195457) - -* Thu Feb 19 2015 T.C. Hollingsworth - 0.10.36-2 -- build against compat-libuv010 - -* Thu Feb 19 2015 T.C. Hollingsworth - 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. - -* Wed Nov 19 2014 T.C. Hollingsworth - 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. - -* Tue Oct 21 2014 T.C. Hollingsworth - 0.10.32-2 -- add Provides nodejs-punycode (RHBZ#1151811) - -* Thu Sep 18 2014 T.C. Hollingsworth - 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/ - -* Sun Aug 17 2014 Fedora Release Engineering - 0.10.30-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Aug 01 2014 T.C. Hollingsworth - 0.10.30-1 -- new upstream release 0.10.30 - http://blog.nodejs.org/2014/07/31/node-v0-10-30-stable/ - -* Thu Jun 19 2014 T.C. Hollingsworth - 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/ - -* Sat Jun 07 2014 Fedora Release Engineering - 0.10.28-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat May 03 2014 T.C. Hollingsworth - 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 - -* Sat May 03 2014 T.C. Hollingsworth - 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/ - -* Thu Feb 20 2014 T.C. Hollingsworth - 0.10.26-1 -- new upstream release 0.10.26 - http://blog.nodejs.org/2014/02/18/node-v0-10-26-stable/ - -* Fri Feb 14 2014 T.C. Hollingsworth - 0.10.25-2 -- rebuild for icu-53 (via v8) - -* Mon Jan 27 2014 T.C. Hollingsworth - 0.10.25-1 -- new upstream release 0.10.25 - http://blog.nodejs.org/2014/01/23/node-v0-10-25-stable/ - -* Thu Dec 19 2013 T.C. Hollingsworth - 0.10.24-1 -- new upstream release 0.10.24 - http://blog.nodejs.org/2013/12/19/node-v0-10-24-stable/ -- upstream install script installs the headers now - -* Thu Dec 12 2013 T.C. Hollingsworth - 0.10.23-1 -- new upstream release 0.10.23 - http://blog.nodejs.org/2013/12/11/node-v0-10-23-stable/ - -* Tue Nov 12 2013 T.C. Hollingsworth - 0.10.22-1 -- new upstream release 0.10.22 - http://blog.nodejs.org/2013/11/12/node-v0-10-22-stable/ - -* Fri Oct 18 2013 T.C. Hollingsworth - 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 - -* Tue Oct 01 2013 T.C. Hollingsworth - 0.10.20-1 -- new upstream release 0.10.20 - http://blog.nodejs.org/2013/09/30/node-v0-10-20-stable/ - -* Wed Sep 25 2013 T.C. Hollingsworth - 0.10.19-1 -- new upstream release 0.10.19 - http://blog.nodejs.org/2013/09/24/node-v0-10-19-stable/ - -* Fri Sep 06 2013 T.C. Hollingsworth - 0.10.18-1 -- new upstream release 0.10.18 - http://blog.nodejs.org/2013/09/04/node-v0-10-18-stable/ - -* Tue Aug 27 2013 T.C. Hollingsworth - 0.10.17-1 -- new upstream release 0.10.17 - http://blog.nodejs.org/2013/08/21/node-v0-10-17-stable/ -- fix duplicated/conflicting documentation files (RHBZ#1001253) - -* Sat Aug 17 2013 T.C. Hollingsworth - 0.10.16-1 -- new upstream release 0.10.16 - http://blog.nodejs.org/2013/08/16/node-v0-10-16-stable/ -- add v8-devel to -devel Requires -- restrict -devel Requires to the same architecture - -* Wed Aug 14 2013 T.C. Hollingsworth - 0.10.14-3 -- fix typo in _isa macro in v8 Requires - -* Mon Aug 05 2013 T.C. Hollingsworth - 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 - -* Thu Jul 25 2013 T.C. Hollingsworth - 0.10.14-1 -- new upstream release 0.10.14 - http://blog.nodejs.org/2013/07/25/node-v0-10-14-stable/ - -* Wed Jul 10 2013 T.C. Hollingsworth - 0.10.13-1 -- new upstream release 0.10.13 - http://blog.nodejs.org/2013/07/09/node-v0-10-13-stable/ -- remove RPM macros, etc. now that they've migrated to nodejs-packaging - -* Wed Jun 19 2013 T.C. Hollingsworth - 0.10.12-1 -- new upstream release 0.10.12 - http://blog.nodejs.org/2013/06/18/node-v0-10-12-stable/ -- split off a -packaging subpackage with RPM macros, etc. -- build -docs as noarch -- copy mutiple version logic from nodejs-packaging SRPM for now - -* Fri May 31 2013 T.C. Hollingsworth - 0.10.9-1 -- new upstream release 0.10.9 - http://blog.nodejs.org/2013/05/30/node-v0-10-9-stable/ - -* Wed May 29 2013 T.C. Hollingsworth - 0.10.8-1 -- new upstream release 0.10.8 - http://blog.nodejs.org/2013/05/24/node-v0-10-8-stable/ - -* Wed May 29 2013 T.C. Hollingsworth - 0.10.7-1 -- new upstream release 0.10.7 - http://blog.nodejs.org/2013/05/17/node-v0-10-7-stable/ -- strip openssl from the tarball; it contains prohibited code (RHBZ#967736) -- patch Makefile so we can just remove all bundled deps completely - -* Wed May 15 2013 T.C. Hollingsworth - 0.10.6-1 -- new upstream release 0.10.6 - http://blog.nodejs.org/2013/05/14/node-v0-10-6-stable/ - -* Mon May 06 2013 T.C. Hollingsworth - 0.10.5-3 -- nodejs-fixdep: work properly when a package has no dependencies - -* Mon Apr 29 2013 T.C. Hollingsworth - 0.10.5-2 -- nodejs-symlink-deps: make it work when --check is used and just - devDependencies exist - -* Wed Apr 24 2013 T.C. Hollingsworth - 0.10.5-1 -- new upstream release 0.10.5 - http://blog.nodejs.org/2013/04/23/node-v0-10-5-stable/ - -* Mon Apr 15 2013 T.C. Hollingsworth - 0.10.4-1 -- new upstream release 0.10.4 - http://blog.nodejs.org/2013/04/11/node-v0-10-4-stable/ -- add no-op macro to permit spec compatibility with EPEL - -* Thu Apr 04 2013 T.C. Hollingsworth - 0.10.3-2 -- nodejs-symlink-deps: symlink unconditionally in the buildroot - -* Wed Apr 03 2013 T.C. Hollingsworth - 0.10.3-1 -- new upstream release 0.10.3 - http://blog.nodejs.org/2013/04/03/node-v0-10-3-stable/ -- nodejs-symlink-deps: only create symlink if target exists -- nodejs-symlink-deps: symlink devDependencies when --check is used - -* Sun Mar 31 2013 T.C. Hollingsworth - 0.10.2-1 -- new upstream release 0.10.2 - http://blog.nodejs.org/2013/03/28/node-v0-10-2-stable/ -- remove %%nodejs_arches macro since it will only be useful if it is present in - the redhat-rpm-config package -- add default filtering macro to remove unwanted Provides from native modules -- 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 - -* Fri Mar 22 2013 T.C. Hollingsworth - 0.10.1-1 -- new upstream release 0.10.1 - http://blog.nodejs.org/2013/03/21/node-v0-10-1-stable/ - -* Wed Mar 20 2013 T.C. Hollingsworth - 0.10.0-4 -- fix escaping in dependency generator regular expressions (RHBZ#923941) - -* Wed Mar 13 2013 T.C. Hollingsworth - 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 - -* Tue Mar 12 2013 Stephen Gallagher - 0.10.0-2 -- Fix up documentation subpackage - -* Mon Mar 11 2013 Stephen Gallagher - 0.10.0-1 -- Update to stable 0.10.0 release -- https://raw.github.com/joyent/node/v0.10.0/ChangeLog - -* Thu Feb 14 2013 Fedora Release Engineering - 0.9.5-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Tue Jan 22 2013 T.C. Hollingsworth - 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". --move RPM magic to nodejs-devel as requested by FPC - -* Sat Jan 12 2013 T.C. Hollingsworth - 0.9.5-9 -- fix brown paper bag bug in requires generation script - -* Thu Jan 10 2013 Stephen Gallagher - 0.9.5-8 -- Build debug binary and install it in the nodejs-devel subpackage - -* Thu Jan 10 2013 T.C. Hollingsworth - 0.9.5-7 -- don't use make install since it rebuilds everything - -* Thu Jan 10 2013 T.C. Hollingsworth - 0.9.5-6 -- add %%{?isa}, epoch to v8 deps - -* Wed Jan 09 2013 T.C. Hollingsworth - 0.9.5-5 -- add defines to match libuv (#892601) -- make v8 dependency explicit (and thus more accurate) -- add -g to $C(XX)FLAGS instead of patching configure to add it -- don't write pointless 'npm(foo) > 0' deps - -* Sat Jan 05 2013 T.C. Hollingsworth - 0.9.5-4 -- install development headers -- add nodejs_sitearch macro - -* Wed Jan 02 2013 T.C. Hollingsworth - 0.9.5-3 -- make nodejs-symlink-deps actually work - -* Tue Jan 01 2013 T.C. Hollingsworth - 0.9.5-2 -- provide nodejs-devel so modules can BuildRequire it (and be consistent - with other interpreted languages in the distro) - -* Tue Jan 01 2013 T.C. Hollingsworth - 0.9.5-1 -- new upstream release 0.9.5 -- provide nodejs-devel for the moment -- fix minor bugs in RPM magic -- add nodejs_fixdep macro so packagers can easily adjust dependencies in - package.json files - -* Wed Dec 26 2012 T.C. Hollingsworth - 0.9.4-1 -- new upstream release 0.9.4 -- system library patches are now upstream -- respect optflags -- include documentation in subpackage -- add RPM dependency generation and related magic -- guard libuv depedency so it always gets bumped when nodejs does -- add -devel subpackage with enough to make node-gyp happy - -* Wed Dec 19 2012 Dan Horák - 0.9.3-8 -- set exclusive arch list to match v8 - -* Tue Dec 18 2012 Stephen Gallagher - 0.9.3-7 -- Add remaining changes from code review -- Remove unnecessary BuildRequires on findutils -- Remove %%clean section - -* Fri Dec 14 2012 Stephen Gallagher - 0.9.3-6 -- Fixes from code review -- Fix executable permissions -- Correct the License field -- Build debuginfo properly - -* Thu Dec 13 2012 Stephen Gallagher - 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 - 0.9.3-4 -- Rename binary and manpage to nodejs - -* Mon Nov 19 2012 Stephen Gallagher - 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 0.8.12-1 -- Fixes and Patches suggested by Matthias Runge - -* Mon Apr 09 2012 Adrian Alves 0.6.5 -- First build. -