diff --git a/node/node.spec b/node/node.spec index 54032aaad0..c706748168 100644 --- a/node/node.spec +++ b/node/node.spec @@ -22,8 +22,8 @@ ## # package version -%define V_opkg 16.6.0 -%define V_dist 16.6.0 +%define V_opkg 16.6.2 +%define V_dist 16.6.2 # package information Name: node @@ -36,7 +36,7 @@ Class: PLUS Group: Web License: MIT/BSD Version: %{V_opkg} -Release: 20210730 +Release: 20210811 # package options %option with_icu yes @@ -49,8 +49,8 @@ Patch0: node.patch # build information BuildPreReq: OpenPKG, openpkg >= 20160101, make, gcc, gcc::with_cxx = yes, python, pkgconfig PreReq: OpenPKG, openpkg >= 20160101 -BuildPreReq: openssl, libexecinfo, zlib, ares, libuv, nghttp2 -PreReq: openssl, libexecinfo, zlib, ares, libuv, nghttp2 +BuildPreReq: openssl, libexecinfo, zlib, libuv, nghttp2 +PreReq: openssl, libexecinfo, zlib, libuv, nghttp2 %if "%{with_icu}" == "yes" BuildPreReq: icu PreReq: icu @@ -83,6 +83,9 @@ PreReq: icu %endif cflags="$cflags -I`pwd`/deps/llhttp/include" cflags="$cflags -I`pwd`/deps/http_parser" + cflags="$cflags -I`pwd`/deps/cares" + cflags="$cflags -I`pwd`/deps/cares/include" + cflags="$cflags -I`pwd`/deps/cares/src/lib" cflags="$cflags %{l_cppflags}" ldflags="%{l_ldflags}" mkdir tool @@ -116,10 +119,6 @@ PreReq: icu --shared-zlib-includes=%{l_prefix}/include \ --shared-zlib-libpath=%{l_prefix}/lib \ --shared-zlib-libname="z" \ - --shared-cares \ - --shared-cares-includes=%{l_prefix}/include \ - --shared-cares-libpath=%{l_prefix}/lib \ - --shared-cares-libname="ares" \ --shared-libuv \ --shared-libuv-includes=%{l_prefix}/include \ --shared-libuv-libpath=%{l_prefix}/lib \