mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-28 11:06:08 +00:00
Bundle http-parser since it uses backported features not available in RHEL
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
e769d072e9
commit
cb0b28bd5f
1 changed files with 4 additions and 6 deletions
10
nodejs.spec
10
nodejs.spec
|
@ -103,21 +103,18 @@ Source7: nodejs_native.attr
|
||||||
Patch1: 0001-Disable-running-gyp-files-for-bundled-deps.patch
|
Patch1: 0001-Disable-running-gyp-files-for-bundled-deps.patch
|
||||||
|
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
Requires: http-parser >= 2.7.0
|
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: gcc >= 4.8.5
|
BuildRequires: gcc >= 4.8.5
|
||||||
BuildRequires: gcc-c++ >= 4.8.5
|
BuildRequires: gcc-c++ >= 4.8.5
|
||||||
|
Provides: bundled(http-parser) = %{http_parser_version}
|
||||||
|
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
Provides: bundled(http-parser) = %{http_parser_version}
|
|
||||||
Provides: bundled(libuv) = %{libuv_version}
|
Provides: bundled(libuv) = %{libuv_version}
|
||||||
%else
|
%else
|
||||||
BuildRequires: systemtap-sdt-devel
|
BuildRequires: systemtap-sdt-devel
|
||||||
BuildRequires: http-parser-devel >= 2.7.0
|
|
||||||
BuildRequires: libuv-devel >= 1:1.9.1
|
BuildRequires: libuv-devel >= 1:1.9.1
|
||||||
Requires: libuv >= 1:1.9.1
|
Requires: libuv >= 1:1.9.1
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} > 25
|
%if 0%{?fedora} > 25
|
||||||
|
@ -195,7 +192,6 @@ Requires: nodejs-packaging
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
#deps are bundled
|
#deps are bundled
|
||||||
%else
|
%else
|
||||||
Requires: http-parser-devel%{?_isa}
|
|
||||||
Requires: libuv-devel%{?_isa}
|
Requires: libuv-devel%{?_isa}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -285,7 +281,6 @@ export LDFLAGS="%{__global_ldflags}"
|
||||||
--shared-openssl \
|
--shared-openssl \
|
||||||
--shared-zlib \
|
--shared-zlib \
|
||||||
--shared-libuv \
|
--shared-libuv \
|
||||||
--shared-http-parser \
|
|
||||||
--with-dtrace \
|
--with-dtrace \
|
||||||
--with-intl=system-icu \
|
--with-intl=system-icu \
|
||||||
--openssl-use-def-ca-store
|
--openssl-use-def-ca-store
|
||||||
|
@ -444,6 +439,9 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node -
|
||||||
%{_pkgdocdir}/npm/doc
|
%{_pkgdocdir}/npm/doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 10 2019 Stephen Gallagher <sgallagh@redhat.com> - 1:6.16.0-2
|
||||||
|
- Bundle http-parser since it uses backported features not available in RHEL
|
||||||
|
|
||||||
* Thu Jan 10 2019 Stephen Gallagher <sgallagh@redhat.com> - 1:6.16.0-1
|
* Thu Jan 10 2019 Stephen Gallagher <sgallagh@redhat.com> - 1:6.16.0-1
|
||||||
- Update to 6.16.0 security release
|
- Update to 6.16.0 security release
|
||||||
- https://nodejs.org/en/blog/release/v6.16.0/
|
- https://nodejs.org/en/blog/release/v6.16.0/
|
||||||
|
|
Loading…
Reference in a new issue