Blame SPECS/nodejs.spec

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