Browse Source

upgrading package: node12 12.22.4 -> 12.22.5

master
parent
commit
42558537f8
  1. 17
      node12/node12.spec

17
node12/node12.spec

@ -22,8 +22,8 @@
## ##
# package version # package version
%define V_opkg 12.22.4 %define V_opkg 12.22.5
%define V_dist 12.22.4 %define V_dist 12.22.5
# package information # package information
Name: node12 Name: node12
@ -36,7 +36,7 @@ Class: PLUS
Group: Web Group: Web
License: MIT/BSD License: MIT/BSD
Version: %{V_opkg} Version: %{V_opkg}
Release: 20210729 Release: 20210811
# package options # package options
%option with_icu yes %option with_icu yes
@ -50,8 +50,8 @@ Patch0: node12.patch
# build information # build information
BuildPreReq: OpenPKG, openpkg >= 20160101, make, gcc, gcc::with_cxx = yes, python2, pkgconfig BuildPreReq: OpenPKG, openpkg >= 20160101, make, gcc, gcc::with_cxx = yes, python2, pkgconfig
PreReq: OpenPKG, openpkg >= 20160101 PreReq: OpenPKG, openpkg >= 20160101
BuildPreReq: openssl, libexecinfo, zlib, ares, libuv, nghttp2 BuildPreReq: openssl, libexecinfo, zlib, libuv, nghttp2
PreReq: openssl, libexecinfo, zlib, ares, libuv, nghttp2 PreReq: openssl, libexecinfo, zlib, libuv, nghttp2
%if "%{with_icu}" == "yes" %if "%{with_icu}" == "yes"
BuildPreReq: icu BuildPreReq: icu
PreReq: icu PreReq: icu
@ -87,6 +87,9 @@ Provides: node = %{version}
%endif %endif
cflags="$cflags -I`pwd`/deps/llhttp/include" cflags="$cflags -I`pwd`/deps/llhttp/include"
cflags="$cflags -I`pwd`/deps/http_parser" 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}" cflags="$cflags %{l_cppflags}"
ldflags="%{l_ldflags}" ldflags="%{l_ldflags}"
mkdir tool mkdir tool
@ -120,10 +123,6 @@ Provides: node = %{version}
--shared-zlib-includes=%{l_prefix}/include \ --shared-zlib-includes=%{l_prefix}/include \
--shared-zlib-libpath=%{l_prefix}/lib \ --shared-zlib-libpath=%{l_prefix}/lib \
--shared-zlib-libname="z" \ --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 \
--shared-libuv-includes=%{l_prefix}/include \ --shared-libuv-includes=%{l_prefix}/include \
--shared-libuv-libpath=%{l_prefix}/lib \ --shared-libuv-libpath=%{l_prefix}/lib \

Loading…
Cancel
Save