|
|
@ -278,8 +278,8 @@ The API documentation for the Node.js JavaScript runtime. |
|
|
|
%setup -q -n node-v%{nodejs_version} |
|
|
|
%setup -q -n node-v%{nodejs_version} |
|
|
|
|
|
|
|
|
|
|
|
# remove bundled dependencies that we aren't building |
|
|
|
# remove bundled dependencies that we aren't building |
|
|
|
%patch1 -p1 |
|
|
|
#%patch1 -p1 |
|
|
|
rm -rf deps/zlib |
|
|
|
#rm -rf deps/zlib |
|
|
|
|
|
|
|
|
|
|
|
%patch2 -p1 |
|
|
|
%patch2 -p1 |
|
|
|
|
|
|
|
|
|
|
@ -318,27 +318,17 @@ export LDFLAGS="%{__global_ldflags}" |
|
|
|
#%if ! 0%%{?bootstrap} |
|
|
|
#%if ! 0%%{?bootstrap} |
|
|
|
%if %{with bootstrap} |
|
|
|
%if %{with bootstrap} |
|
|
|
./configure --prefix=%{_prefix} \ |
|
|
|
./configure --prefix=%{_prefix} \ |
|
|
|
%ifarch s390x |
|
|
|
|
|
|
|
--shared-openssl \ |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
--shared-zlib \ |
|
|
|
|
|
|
|
--without-dtrace \ |
|
|
|
--without-dtrace \ |
|
|
|
--with-intl=small-icu \ |
|
|
|
--with-intl=small-icu \ |
|
|
|
--debug-nghttp2 \ |
|
|
|
--debug-nghttp2 \ |
|
|
|
--openssl-use-def-ca-store |
|
|
|
|
|
|
|
%else |
|
|
|
%else |
|
|
|
./configure --prefix=%{_prefix} \ |
|
|
|
./configure --prefix=%{_prefix} \ |
|
|
|
%ifarch s390x |
|
|
|
|
|
|
|
--shared-openssl \ |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
--shared-zlib \ |
|
|
|
|
|
|
|
--shared-libuv \ |
|
|
|
--shared-libuv \ |
|
|
|
--shared-http-parser \ |
|
|
|
--shared-http-parser \ |
|
|
|
--shared-nghttp2 \ |
|
|
|
--shared-nghttp2 \ |
|
|
|
--with-dtrace \ |
|
|
|
--with-dtrace \ |
|
|
|
--with-intl=%{icu_flag} \ |
|
|
|
--with-intl=%{icu_flag} \ |
|
|
|
--debug-nghttp2 \ |
|
|
|
--debug-nghttp2 \ |
|
|
|
--openssl-use-def-ca-store |
|
|
|
|
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
%if %{?with_debug} == 1 |
|
|
|
%if %{?with_debug} == 1 |
|
|
|