[packages/nodejs/dev-4.2] no system c-ares support

glen glen at pld-linux.org
Fri Jan 1 18:49:34 CET 2016


commit 94f7bd52da7a9f1fe023a4975e7dea3efd397563
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Jan 1 19:33:58 2016 +0200

    no system c-ares support
    
    Node.js has forked c-ares from upstream in an incompatible way, so we need
    to carry the bundled version internally.
    See https://github.com/nodejs/node/commit/766d063e0578c0f7758c3a965c971763f43fec85

 nodejs.spec | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index 3e153a9..e19171c 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -26,12 +26,11 @@ Patch3:		%{name}-lib64path.patch
 Patch4:		%{name}-use-system-certs.patch
 Patch5:		uv-fpic.patch
 URL:		https://nodejs.org/
-BuildRequires:	c-ares-devel
 BuildRequires:	gcc >= 5:4.0
 BuildRequires:	http-parser-devel >= 2.5.0
 BuildRequires:	libstdc++-devel
 %{?with_system_uv:BuildRequires:	libuv-devel >= 1.6.0}
-BuildRequires:	openssl-devel
+BuildRequires:	openssl-devel >= 1.0.1
 BuildRequires:	pkgconfig
 BuildRequires:	python >= 1:2.5.2
 BuildRequires:	python-jsmin
@@ -57,11 +56,10 @@ across distributed devices.
 Summary:	Development headers for nodejs
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	c-ares-devel
 Requires:	gcc
-Requires:	http-parser-devel
+Requires:	http-parser-devel >= 2.5.0
 Requires:	libstdc++-devel
-%{?with_system_uv:Requires:	libuv-devel}
+%{?with_system_uv:Requires:	libuv-devel >= 1.6.0}
 Requires:	openssl-devel
 Requires:	zlib-devel
 
@@ -97,7 +95,6 @@ This package contains the documentation for nodejs.
 grep -r '#!.*env python' -l . | xargs %{__sed} -i -e '1 s,#!.*env python,#!%{__python},'
 
 rm -r deps/npm
-#rm -r deps/cares
 rm -r deps/http_parser
 rm -r deps/openssl
 %{?with_system_uv:rm -r deps/uv}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/1f0413db02d52d8f3659ac42b97ea074f485c36a



More information about the pld-cvs-commit mailing list