Blame SPECS/nodejs.spec

8dc1ea
%{?scl:%scl_package nodejs}
8dc1ea
%{!?scl:%global pkg_name %{name}}
8dc1ea
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
8dc1ea
8dc1ea
%global with_debug 1
8dc1ea
8dc1ea
# ARM builds currently break on the Debug builds, so we'll just
8dc1ea
# build the standard runtime until that gets sorted out.
8dc1ea
%ifarch %{arm} aarch64 %{power64}
8dc1ea
%global with_debug 0
8dc1ea
%endif
8dc1ea
8dc1ea
Name: %{?scl_prefix}nodejs
503c61
Version: 6.11.3
8c1749
Release: 7%{?dist}
8dc1ea
Summary: JavaScript runtime
8dc1ea
License: MIT and ASL 2.0 and ISC and BSD
8dc1ea
URL: http://nodejs.org/
8dc1ea
8dc1ea
ExclusiveArch: %{nodejs_arches}
8dc1ea
8dc1ea
# nodejs bundles openssl, but we use the system version in Fedora
8dc1ea
# because openssl contains prohibited code, we remove openssl completely from
8dc1ea
# the tarball, using the script in Source100
8dc1ea
Source0: node-v%{version}-stripped.tar.gz
8dc1ea
Source100: %{pkg_name}-tarball.sh
8dc1ea
8dc1ea
# The native module Requires generator remains in the nodejs SRPM, so it knows
8dc1ea
# the nodejs and v8 versions.  The remainder has migrated to the
8dc1ea
# nodejs-packaging SRPM.
8dc1ea
#Source7: nodejs_native.attr
8dc1ea
8dc1ea
# Disable running gyp on bundled deps we don't use
503c61
Patch1: 0001-Dont-run-gyp-on-shared-deps.patch
8dc1ea
8dc1ea
# openssl-1.0.2 isn't in RHEL yet, so we use old one
503c61
Patch3: 0001-Use-openssl-1.0.1.patch
8dc1ea
8dc1ea
# some tests are failing, we turn them off
8dc1ea
Patch4: 0001-Disable-crypto-tests.patch
8dc1ea
Patch5: 0001-Disable-failing-tests.patch
8dc1ea
a233a8
# patch openssl segfaults (RHBZ#1508986)
a233a8
# revert 5900ebe and 4849d03145
a233a8
Patch6: 0001-https-segfault.patch
a233a8
8c1749
# Fix UCS2 buffer overflow (RHBZ#1620219)
8c1749
Patch7: ucs2-buffer-overrrun.patch
8c1749
8dc1ea
BuildRequires: %{?scl_prefix}gyp
8dc1ea
BuildRequires: %{?scl_prefix}scldevel
8dc1ea
BuildRequires: %{?scl_prefix}libuv-devel >= 1.9.1
8dc1ea
BuildRequires: %{?scl_prefix}http-parser-devel >= 2.7.0
503c61
BuildRequires: python-devel
8dc1ea
BuildRequires: zlib-devel
8dc1ea
BuildRequires: openssl-devel
8dc1ea
BuildRequires: procps-ng
8dc1ea
Requires: %{?scl_prefix}libuv >= 1.9.1
8dc1ea
Requires: %{?scl_prefix}http-parser >= 2.7.0
8dc1ea
Requires: openssl
8dc1ea
8dc1ea
# we need the system certificate store when Patch2 is applied
8dc1ea
Requires: ca-certificates
8dc1ea
503c61
# V8 presently breaks ABI at least every x.y release while never bumping SONAME
503c61
%global v8_abi 5.1
8dc1ea
#we need ABI virtual provides where SONAMEs aren't enough/not present so deps
8dc1ea
#break when binary compatibility is broken
503c61
%global nodejs_abi 6.11
8dc1ea
Provides: %{?scl_prefix}nodejs(abi) = %{nodejs_abi}
8dc1ea
Provides: %{?scl_prefix}nodejs(v8-abi) = %{v8_abi}
8dc1ea
8dc1ea
#this corresponds to the "engine" requirement in package.json
8dc1ea
Provides: %{?scl_prefix}nodejs(engine) = %{version}
8dc1ea
8dc1ea
# Node.js currently has a conflict with the 'node' package in Fedora
8dc1ea
# The ham-radio group has agreed to rename their binary for us, but
8dc1ea
# in the meantime, we're setting an explicit Conflicts: here
8dc1ea
Conflicts: %{?scl_prefix}node <= 0.3.2-12
8dc1ea
8dc1ea
# The punycode module was absorbed into the standard library in v0.6.
8dc1ea
# It still exists as a seperate package for the benefit of users of older
8dc1ea
# versions.  Since we've never shipped anything older than v0.10 in Fedora,
8dc1ea
# we don't need the seperate nodejs-punycode package, so we Provide it here so
8dc1ea
# dependent packages don't need to override the dependency generator.
8dc1ea
# See also: RHBZ#11511811
8dc1ea
# UPDATE: punycode will be unabsorbed from node in v7/v8 release
8dc1ea
Provides: %{?scl_prefix}nodejs-punycode = 2.0.0
8dc1ea
Provides: %{?scl_prefix}npm(punycode) = 2.0.0
8dc1ea
8dc1ea
8dc1ea
# Node.js has forked c-ares from upstream in an incompatible way, so we need
8dc1ea
# to carry the bundled version internally.
8dc1ea
# See https://github.com/nodejs/node/commit/766d063e0578c0f7758c3a965c971763f43fec85
503c61
Provides: bundled(%{?scl_prefix}c-ares) = 1.10.1
8dc1ea
8dc1ea
# Node.js is closely tied to the version of v8 that is used with it. It makes
8dc1ea
# sense to use the bundled version because upstream consistently breaks ABI
8dc1ea
# even in point releases. Node.js upstream has now removed the ability to build
8dc1ea
# against a shared system version entirely.
8dc1ea
# See https://github.com/nodejs/node/commit/d726a177ed59c37cf5306983ed00ecd858cfbbef
503c61
Provides: bundled(%{?scl_prefix}v8) = 5.1.281.107
8dc1ea
8dc1ea
%description
8dc1ea
Node.js is a platform built on Chrome's JavaScript runtime
8dc1ea
for easily building fast, scalable network applications.
8dc1ea
Node.js uses an event-driven, non-blocking I/O model that
8dc1ea
makes it lightweight and efficient, perfect for data-intensive
8dc1ea
real-time applications that run across distributed devices.
8dc1ea
8dc1ea
%package devel
8dc1ea
Summary: JavaScript runtime - development headers
8dc1ea
Requires: %{?scl_prefix}%{pkg_name}%{?_isa} == %{version}-%{release}
8dc1ea
Requires: %{?scl_prefix}libuv-devel%{?_isa} %{?scl_prefix}http-parser-devel%{?_isa}
8dc1ea
Requires: openssl-devel%{?_isa} zlib-devel%{?_isa}
8dc1ea
Requires: %{?scl_prefix}runtime
8dc1ea
8dc1ea
%description devel
8dc1ea
Development headers for the Node.js JavaScript runtime.
8dc1ea
8dc1ea
%package docs
8dc1ea
Summary: Node.js API documentation
8dc1ea
Group: Documentation
8dc1ea
BuildArch: noarch
8dc1ea
8dc1ea
%description docs
8dc1ea
The API documentation for the Node.js JavaScript runtime.
8dc1ea
8dc1ea
%prep
8dc1ea
%setup -q -n node-v%{version}
8dc1ea
8dc1ea
# remove bundled dependencies that we aren't building
8dc1ea
%patch1 -p1
8dc1ea
rm -rf deps/npm \
8dc1ea
       deps/uv \
503c61
       deps/http_parser \
8c1749
       deps/zlib
8dc1ea
8dc1ea
# remove bundled CA certificates
503c61
#rm -f src/node_root_certs.h
8dc1ea
8dc1ea
# use old openssl
8dc1ea
%patch3 -p1
8dc1ea
8dc1ea
# disable tests
8dc1ea
%patch4 -p1
8dc1ea
%patch5 -p1
8dc1ea
a233a8
# fix segafulting https
a233a8
%patch6 -p1
a233a8
8c1749
# fix ucs2 buffer overflow
8c1749
%patch7 -p1
8c1749
8dc1ea
%build
8dc1ea
# build with debugging symbols and add defines from libuv (#892601)
8dc1ea
# Node's v8 breaks with GCC 8 because of incorrect usage of methods on
8dc1ea
# NULL objects. We need to pass -fno-delete-null-pointer-checks
8dc1ea
export CFLAGS='%{optflags} -g \
8dc1ea
               -D_LARGEFILE_SOURCE \
8dc1ea
               -D_FILE_OFFSET_BITS=64 \
8dc1ea
               -DZLIB_CONST \
8dc1ea
               -fno-delete-null-pointer-checks'
8dc1ea
8dc1ea
export CXXFLAGS='%{optflags} -g \
8dc1ea
                 -D_LARGEFILE_SOURCE \
8dc1ea
                 -D_FILE_OFFSET_BITS=64 \
8dc1ea
                 -DZLIB_CONST \
8c1749
                 -fno-delete-null-pointer-checks -I%{_includedir}'
8dc1ea
8dc1ea
export LDFLAGS='%{optflags} -L%{_libdir}'
8dc1ea
503c61
%{?scl:scl enable %{scl} - << \EOF}
503c61
8dc1ea
./configure --prefix=%{_prefix} \
8dc1ea
           --shared-http-parser \
8dc1ea
           --shared-zlib \
8dc1ea
           --shared-libuv \
8dc1ea
           --without-npm \
8dc1ea
           --without-dtrace \
503c61
           --shared-openssl \
503c61
           --openssl-use-def-ca-store
8dc1ea
8dc1ea
8dc1ea
%if %{?with_debug} == 1
8dc1ea
# Setting BUILDTYPE=Debug builds both release and debug binaries
503c61
#%{?scl:scl enable %{scl} - << \EOF}
8dc1ea
make BUILDTYPE=Debug %{?_smp_mflags}
8dc1ea
%{?scl:EOF}
8dc1ea
%else
503c61
#%{?scl:scl enable %{scl} - << \EOF}
8dc1ea
make BUILDTYPE=Release %{?_smp_mflags}
8dc1ea
%{?scl:EOF}
8dc1ea
%endif
8dc1ea
8dc1ea
%install
8dc1ea
./tools/install.py install %{buildroot} %{_prefix}
8dc1ea
8dc1ea
# and remove dtrace file again
8dc1ea
rm -rf %{buildroot}/%{_prefix}/lib/dtrace
8dc1ea
8dc1ea
# Set the binary permissions properly
8dc1ea
chmod 0755 %{buildroot}/%{_bindir}/node
8dc1ea
8dc1ea
%if %{?with_debug} == 1
8dc1ea
# Install the debug binary and set its permissions
8dc1ea
install -Dpm0755 out/Debug/node %{buildroot}/%{_bindir}/node_g
8dc1ea
%endif
8dc1ea
8dc1ea
# own the sitelib directory
8dc1ea
mkdir -p %{buildroot}%{_prefix}/lib/node_modules
8dc1ea
8dc1ea
# ensure Requires are added to every native module that match the Provides from
8dc1ea
# the nodejs build in the buildroot
8dc1ea
#install -Dpm0644 %%{SOURCE7} %%{buildroot}%{_rpmconfigdir}/fileattrs/nodejs_native.attr
8dc1ea
#cat << EOF > %{buildroot}%{_rpmconfigdir}/nodejs_native.req
8dc1ea
#!/bin/sh
8dc1ea
#echo 'nodejs(abi) = %nodejs_abi'
8dc1ea
#echo 'nodejs(v8-abi) = %v8_abi'
8dc1ea
#EOF
8dc1ea
#chmod 0755 %{buildroot}%{_rpmconfigdir}/nodejs_native.req
8dc1ea
8dc1ea
#install documentation
8dc1ea
mkdir -p %{buildroot}%{_pkgdocdir}/html
8dc1ea
cp -pr doc/* %{buildroot}%{_pkgdocdir}/html
8dc1ea
rm -f %{buildroot}%{_pkgdocdir}/html/nodejs.1
8dc1ea
8dc1ea
#node-gyp needs common.gypi too
8dc1ea
mkdir -p %{buildroot}%{_datadir}/node
8dc1ea
cp -p common.gypi %{buildroot}%{_datadir}/node
8dc1ea
8dc1ea
# Install the GDB init tool into the documentation directory
8dc1ea
mv %{buildroot}/%{_datadir}/doc/node/gdbinit %{buildroot}/%{_pkgdocdir}/gdbinit
8dc1ea
503c61
# Install LLDB into documentation directory
503c61
mv %{buildroot}/%{_datadir}/doc/node/lldbinit %{buildroot}%{_pkgdocdir}/lldbinit
503c61
mv %{buildroot}/%{_datadir}/doc/node/lldb_commands.py %{buildroot}%{_pkgdocdir}/lldb_commands.py
503c61
8c1749
%check
503c61
mv test/parallel/test-zlib-failed-init.js test/disabled/
8dc1ea
%{?scl:scl enable %{scl} "}
8c1749
python tools/test.py --mode=release parallel -J
8dc1ea
%{?scl:"}
8dc1ea
8dc1ea
%files
8dc1ea
%{_bindir}/node
8dc1ea
%{_mandir}/man1/node.*
8dc1ea
%dir %{_prefix}/lib/node_modules
8dc1ea
%dir %{_datadir}/node
8dc1ea
%dir %{_datadir}/systemtap
8dc1ea
%dir %{_datadir}/systemtap/tapset
8dc1ea
%{_datadir}/systemtap/tapset/node.stp
8dc1ea
#%%{_rpmconfigdir}/fileattrs/nodejs_native.attr
8dc1ea
#%%{_rpmconfigdir}/nodejs_native.req
8dc1ea
%dir %{_pkgdocdir}
8dc1ea
%license LICENSE
503c61
%doc AUTHORS CHANGELOG.md README.md
503c61
%doc COLLABORATOR_GUIDE.md GOVERNANCE.md CODE_OF_CONDUCT.md
8c1749
8dc1ea
%files devel
8dc1ea
%if %{?with_debug} == 1
8dc1ea
%{_bindir}/node_g
8dc1ea
%endif
8dc1ea
%{_includedir}/node
8dc1ea
%{_datadir}/node/common.gypi
8dc1ea
%{_pkgdocdir}/gdbinit
503c61
%{_pkgdocdir}/lldbinit
503c61
%{_pkgdocdir}/lldb_commands.py*
8dc1ea
8dc1ea
%files docs
8dc1ea
%dir %{_pkgdocdir}
8dc1ea
%{_pkgdocdir}/html
8dc1ea
8dc1ea
%changelog
8c1749
* Mon Sep 24 2018 Jan Staněk <jstanek@redhat.com> - 6.11.3-7
8c1749
- Import upstream fix for CVE-2018-12115
8c1749
- Resolves: RHBZ#1621763
8c1749
37c9bc
* Tue Jun 19 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.11.3-6
37c9bc
- Resolves: RHBZ#1543198, fix cert segfault (1589027)
37c9bc
37c9bc
* Thu May 17 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.11.3-5
37c9bc
- Resolves: RHBZ#1543198, rebuild for multiarch
37c9bc
a233a8
* Thu Nov 09 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.11.3-4
a233a8
- Resolves: RHBZ#1508986
a233a8
- revert some upstream commits to fix https+openssl-1.0.1 segfaults
a233a8
503c61
* Thu Sep 07 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.11.3-2
a233a8
- Resolves: RHBZ#1476316
503c61
- turn off lots of tests (mainly https and tls)
503c61
- update to latest v6.x version (fixes c-ares CVE), rebase patches
503c61
- remove bundled-ca patch (merged upstream as configure option)
503c61
- fix typo, so http_parser dir gets removed (1478718)
503c61
- add lldbinit
503c61
8dc1ea
* Wed Jan 11 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.9.1-2
8dc1ea
- Rebuild from zvetlik/rh-nodejs6
8dc1ea
- newer releases have problems with debug
8dc1ea
- add procps-ng for tests
8dc1ea
- remove unused patches
8dc1ea
8dc1ea
* Thu Nov 03 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.9.1-1
8dc1ea
- Update to 6.9.1
8dc1ea
8dc1ea
* Wed Oct 19 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.9.0-1
8dc1ea
- update to v6.9.0 LTS
8dc1ea
8dc1ea
* Tue Oct 04 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.7.0-5
8dc1ea
- Disable failing crypto tests
8dc1ea
8dc1ea
* Tue Oct 04 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.7.0-4
8dc1ea
- Require openssl
8dc1ea
8dc1ea
* Tue Oct 04 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.7.0-2
8dc1ea
- Build with shared openssl with EPEL7 patch
8dc1ea
8dc1ea
* Mon Oct 03 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.7.0-1
8dc1ea
- Update to 6.7.0
8dc1ea
8dc1ea
* Wed Aug 31 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 6.5.0-1
8dc1ea
- Update to 6.5.0, meanwhile built with bundled openssl
8dc1ea
- update system-certs patch
8dc1ea
8dc1ea
* Wed Apr 06 2016 Tomas Hrcka <thrcka@redhat.com> - 4.4.2-1
8dc1ea
- Rebase to latest upstream LTS release 4.4.2
8dc1ea
- https://nodejs.org/en/blog/release/v4.4.1/
8dc1ea
8dc1ea
* Tue Apr 05 2016 Tomas Hrcka <thrcka@redhat.com> - 4.4.1-2
8dc1ea
- Rebase to latest upstream LTS release 4.4.1
8dc1ea
- https://nodejs.org/en/blog/release/v4.4.1/
8dc1ea
8dc1ea
* Thu Mar 17 2016 Tomas Hrcka <thrcka@redhat.com> - 4.4.0-1
8dc1ea
- Rebase to latest upstream LTS release 4.4.0
8dc1ea
8dc1ea
* Tue Mar 01 2016 Tomas Hrcka <thrcka@redhat.com> - 4.3.0-5
8dc1ea
- New upstream release 4.3.0
8dc1ea
- https://nodejs.org/en/blog/release/v4.3.0/
8dc1ea
- Build with bundled openssl, this will be reverted ASAP
8dc1ea
- Unbundled http-parser
8dc1ea
8dc1ea
* Thu Jul 16 2015 Tomas Hrcka <thrcka@redhat.com> - 0.10.40-1
8dc1ea
- Rebase to latest upstream release
8dc1ea
8dc1ea
* Wed Jul 01 2015 Tomas Hrcka <thrcka@redhat.com> - 0.10.39-1
8dc1ea
- Rebase to latest upstream release
8dc1ea
8dc1ea
* Wed Mar 25 2015 Tomas Hrcka <thrcka@redhat.com> - 0.10.35-4
8dc1ea
- Enable tests during build time
8dc1ea
8dc1ea
* Tue Mar 17 2015 Tomas Hrcka <thrcka@redhat.com> - 0.10.35-2
8dc1ea
- Reflect dependency on specific ABI changes in v8
8dc1ea
- RHBZ#1197110
8dc1ea
8dc1ea
* Wed Jan 07 2015 Tomas Hrcka <thrcka@redhat.com> - 0.10.35-1
8dc1ea
- New upstream release 0.10.35
8dc1ea
8dc1ea
* Sun Feb 02 2014 Tomas Hrcka <thrcka@redhat.com> - 0.10.25-1
8dc1ea
- New upstream release 0.10.25
8dc1ea
8dc1ea
* Tue Jan 14 2014 Tomas Hrcka <thrcka@redhat.com> - 0.10.24-1
8dc1ea
- new upstream release 0.10.24
8dc1ea
8dc1ea
* Tue Nov 26 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.21-3
8dc1ea
- rebuilt with v8314 collection
8dc1ea
8dc1ea
* Tue Nov 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.22-1
8dc1ea
- new upstream release 0.10.22
8dc1ea
  http://blog.nodejs.org/2013/11/12/node-v0-10-22-stable/
8dc1ea
8dc1ea
* Mon Oct 21 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.21-2
8dc1ea
- Build with system wide c-ares
8dc1ea
8dc1ea
* Fri Oct 18 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.21-1
8dc1ea
- new upstream release 0.10.21
8dc1ea
  http://blog.nodejs.org/2013/10/18/node-v0-10-21-stable/
8dc1ea
- resolves an undisclosed security vulnerability in the http module
8dc1ea
8dc1ea
* Tue Oct 01 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.20-1
8dc1ea
- new upstream release 0.10.20
8dc1ea
  http://blog.nodejs.org/2013/09/30/node-v0-10-20-stable/
8dc1ea
8dc1ea
* Wed Sep 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.19-1
8dc1ea
- new upstream release 0.10.19
8dc1ea
  http://blog.nodejs.org/2013/09/24/node-v0-10-19-stable/
8dc1ea
8dc1ea
* Fri Sep 06 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.18-1
8dc1ea
- new upstream release 0.10.18
8dc1ea
  http://blog.nodejs.org/2013/09/04/node-v0-10-18-stable/
8dc1ea
8dc1ea
* Tue Aug 27 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.17-1
8dc1ea
- new upstream release 0.10.17
8dc1ea
  http://blog.nodejs.org/2013/08/21/node-v0-10-17-stable/
8dc1ea
8dc1ea
* Sat Aug 17 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.16-1
8dc1ea
- new upstream release 0.10.16
8dc1ea
  http://blog.nodejs.org/2013/08/16/node-v0-10-16-stable/
8dc1ea
- add v8-devel to -devel Requires
8dc1ea
- restrict -devel Requires to the same architecture
8dc1ea
8dc1ea
* Wed Aug 14 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.14-3
8dc1ea
- fix typo in _isa macro in v8 Requires
8dc1ea
8dc1ea
* Wed Aug 07 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.5-6
8dc1ea
 - Remove badly licensed fonts in script instead of patch
8dc1ea
8dc1ea
* Thu Jul 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.14-1
8dc1ea
- new upstream release 0.10.14
8dc1ea
  http://blog.nodejs.org/2013/07/25/node-v0-10-14-stable/
8dc1ea
8dc1ea
* Wed Jul 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.13-1
8dc1ea
- new upstream release 0.10.13
8dc1ea
  http://blog.nodejs.org/2013/07/09/node-v0-10-13-stable/
8dc1ea
- remove RPM macros, etc. now that they've migrated to nodejs-packaging
8dc1ea
8dc1ea
* Wed Jun 19 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.5-5
8dc1ea
 - added patch to remove badly licensed web fonts
8dc1ea
8dc1ea
* Wed Jun 19 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.5-5
8dc1ea
 - added patch to remove badly licensed web fonts
8dc1ea
8dc1ea
* Wed Jun 19 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.5-4
8dc1ea
  - strip openssl from the tarball it contains prohibited code (RHBZ#967736)
8dc1ea
  - patch makefile so it do not use bundled deps
8dc1ea
  - new stripped tarball
8dc1ea
8dc1ea
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.12-1
8dc1ea
- new upstream release 0.10.12
8dc1ea
  http://blog.nodejs.org/2013/06/18/node-v0-10-12-stable/
8dc1ea
- split off a -packaging subpackage with RPM macros, etc.
8dc1ea
- build -docs as noarch
8dc1ea
- copy mutiple version logic from nodejs-packaging SRPM for now
8dc1ea
8dc1ea
* Fri May 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.9-1
8dc1ea
- new upstream release 0.10.9
8dc1ea
  http://blog.nodejs.org/2013/05/30/node-v0-10-9-stable/
8dc1ea
8dc1ea
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.8-1
8dc1ea
- new upstream release 0.10.8
8dc1ea
  http://blog.nodejs.org/2013/05/24/node-v0-10-8-stable/
8dc1ea
8dc1ea
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.7-1
8dc1ea
- new upstream release 0.10.7
8dc1ea
  http://blog.nodejs.org/2013/05/17/node-v0-10-7-stable/
8dc1ea
- strip openssl from the tarball; it contains prohibited code (RHBZ#967736)
8dc1ea
- patch Makefile so we can just remove all bundled deps completely
8dc1ea
8dc1ea
* Wed May 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.6-1
8dc1ea
- new upstream release 0.10.6
8dc1ea
  http://blog.nodejs.org/2013/05/14/node-v0-10-6-stable/
8dc1ea
8dc1ea
* Tue May 14 2013 Tomas Hrcka <thrcka@redhat.com> - 0.10.5-3.1
8dc1ea
 - updated to latest upstream stable release
8dc1ea
8dc1ea
* Mon May 06 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.5-3
8dc1ea
- nodejs-fixdep: work properly when a package has no dependencies
8dc1ea
8dc1ea
* Mon Apr 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.5-2
8dc1ea
- nodejs-symlink-deps: make it work when --check is used and just
8dc1ea
  devDependencies exist
8dc1ea
8dc1ea
* Wed Apr 24 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.5-1
8dc1ea
- new upstream release 0.10.5
8dc1ea
  http://blog.nodejs.org/2013/04/23/node-v0-10-5-stable/
8dc1ea
8dc1ea
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.4-1
8dc1ea
- new upstream release 0.10.4
8dc1ea
  http://blog.nodejs.org/2013/04/11/node-v0-10-4-stable/
8dc1ea
- drop dependency generator files not supported on EL6
8dc1ea
- port nodejs_default_filter to EL6
8dc1ea
- add nodejs_find_provides_and_requires macro to invoke dependency generator
8dc1ea
- invoke the standard RPM provides and requires generators from the Node.js ones
8dc1ea
- write native module Requires from nodejs.req
8dc1ea
- change the c-ares-devel Requires in -devel to match the BuildRequires
8dc1ea
8dc1ea
* Tue Apr 09 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.10.3-2.1
8dc1ea
- Build against c-ares 1.9
8dc1ea
8dc1ea
* Mon Apr 08 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.10.3-3
8dc1ea
- Add support for software collections
8dc1ea
- Move rpm macros and tooling to separate package
8dc1ea
- add no-op macro to permit spec compatibility with EPEL
8dc1ea
8dc1ea
* Thu Apr 04 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.3-2
8dc1ea
- nodejs-symlink-deps: symlink unconditionally in the buildroot
8dc1ea
8dc1ea
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.3-1
8dc1ea
- new upstream release 0.10.3
8dc1ea
  http://blog.nodejs.org/2013/04/03/node-v0-10-3-stable/
8dc1ea
- nodejs-symlink-deps: only create symlink if target exists
8dc1ea
- nodejs-symlink-deps: symlink devDependencies when --check is used
8dc1ea
8dc1ea
* Sun Mar 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.2-1
8dc1ea
- new upstream release 0.10.2
8dc1ea
  http://blog.nodejs.org/2013/03/28/node-v0-10-2-stable/
8dc1ea
- remove %%nodejs_arches macro since it will only be useful if it is present in
8dc1ea
  the redhat-rpm-config package
8dc1ea
- add default filtering macro to remove unwanted Provides from native modules
8dc1ea
- nodejs-symlink-deps now supports multiple modules in one SRPM properly
8dc1ea
- nodejs-symlink-deps also now supports a --check argument that works in the
8dc1ea
  current working directry instead of the buildroot
8dc1ea
8dc1ea
* Fri Mar 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.1-1
8dc1ea
- new upstream release 0.10.1
8dc1ea
  http://blog.nodejs.org/2013/03/21/node-v0-10-1-stable/
8dc1ea
8dc1ea
* Wed Mar 20 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.0-4
8dc1ea
- fix escaping in dependency generator regular expressions (RHBZ#923941)
8dc1ea
8dc1ea
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.0-3
8dc1ea
- add virtual ABI provides for node and v8 so binary module's deps break when
8dc1ea
  binary compatibility is broken
8dc1ea
- automatically add matching Requires to nodejs binary modules
8dc1ea
- add %%nodejs_arches macro to future-proof ExcluseArch stanza in dependent
8dc1ea
  packages
8dc1ea
8dc1ea
* Tue Mar 12 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.10.0-2
8dc1ea
- Fix up documentation subpackage
8dc1ea
8dc1ea
* Mon Mar 11 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.10.0-1
8dc1ea
- Update to stable 0.10.0 release
8dc1ea
- https://raw.github.com/joyent/node/v0.10.0/ChangeLog
8dc1ea
8dc1ea
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5-11
8dc1ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8dc1ea
8dc1ea
* Tue Jan 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-10
8dc1ea
- minor bugfixes to RPM magic
8dc1ea
  - nodejs-symlink-deps: don't create an empty node_modules dir when a module
8dc1ea
    has no dependencies
8dc1ea
  - nodes-fixdep: support adding deps when none exist
8dc1ea
- Add the full set of headers usually bundled with node as deps to nodejs-devel.
8dc1ea
  This way `npm install` for native modules that assume the stuff bundled with
8dc1ea
  node exists will usually "just work".
8dc1ea
-move RPM magic to nodejs-devel as requested by FPC
8dc1ea
8dc1ea
* Sat Jan 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-9
8dc1ea
- fix brown paper bag bug in requires generation script
8dc1ea
8dc1ea
* Thu Jan 10 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.5-8
8dc1ea
- Build debug binary and install it in the nodejs-devel subpackage
8dc1ea
8dc1ea
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-7
8dc1ea
- don't use make install since it rebuilds everything
8dc1ea
8dc1ea
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-6
8dc1ea
- add %%{?isa}, epoch to v8 deps
8dc1ea
8dc1ea
* Wed Jan 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-5
8dc1ea
- add defines to match libuv (#892601)
8dc1ea
- make v8 dependency explicit (and thus more accurate)
8dc1ea
- add -g to $C(XX)FLAGS instead of patching configure to add it
8dc1ea
- don't write pointless 'npm(foo) > 0' deps
8dc1ea
8dc1ea
* Sat Jan 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-4
8dc1ea
- install development headers
8dc1ea
- add nodejs_sitearch macro
8dc1ea
8dc1ea
* Wed Jan 02 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-3
8dc1ea
- make nodejs-symlink-deps actually work
8dc1ea
8dc1ea
* Tue Jan 01 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-2
8dc1ea
- provide nodejs-devel so modules can BuildRequire it (and be consistent
8dc1ea
  with other interpreted languages in the distro)
8dc1ea
8dc1ea
* Tue Jan 01 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-1
8dc1ea
- new upstream release 0.9.5
8dc1ea
- provide nodejs-devel for the moment
8dc1ea
- fix minor bugs in RPM magic
8dc1ea
- add nodejs_fixdep macro so packagers can easily adjust dependencies in
8dc1ea
  package.json files
8dc1ea
8dc1ea
* Wed Dec 26 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.4-1
8dc1ea
- new upstream release 0.9.4
8dc1ea
- system library patches are now upstream
8dc1ea
- respect optflags
8dc1ea
- include documentation in subpackage
8dc1ea
- add RPM dependency generation and related magic
8dc1ea
- guard libuv depedency so it always gets bumped when nodejs does
8dc1ea
- add -devel subpackage with enough to make node-gyp happy
8dc1ea
8dc1ea
* Thu Dec 20 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-9
8dc1ea
- Drop requirement on openssl 1.0.1
8dc1ea
8dc1ea
* Wed Dec 19 2012 Dan HorĂ¡k <dan[at]danny.cz> - 0.9.3-8
8dc1ea
- set exclusive arch list to match v8
8dc1ea
8dc1ea
* Tue Dec 18 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-7
8dc1ea
- Add remaining changes from code review
8dc1ea
- Remove unnecessary BuildRequires on findutils
8dc1ea
- Remove %%clean section
8dc1ea
8dc1ea
* Fri Dec 14 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-6
8dc1ea
- Fixes from code review
8dc1ea
- Fix executable permissions
8dc1ea
- Correct the License field
8dc1ea
- Build debuginfo properly
8dc1ea
8dc1ea
* Thu Dec 13 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-5
8dc1ea
- Return back to using the standard binary name
8dc1ea
- Temporarily adding a conflict against the ham radio node package until they
8dc1ea
  complete an agreed rename of their binary.
8dc1ea
8dc1ea
* Wed Nov 28 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-4
8dc1ea
- Rename binary and manpage to nodejs
8dc1ea
8dc1ea
* Mon Nov 19 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-3
8dc1ea
- Update to latest upstream development release 0.9.3
8dc1ea
- Include upstreamed patches to unbundle dependent libraries
8dc1ea
8dc1ea
* Tue Oct 23 2012 Adrian Alves <alvesadrian@fedoraproject.org>  0.8.12-1
8dc1ea
- Fixes and Patches suggested by Matthias Runge
8dc1ea
8dc1ea
* Mon Apr 09 2012 Adrian Alves <alvesadrian@fedoraproject.org> 0.6.5
8dc1ea
- First build.