Hello community, here is the log from the commit of package nodejs10 for openSUSE:Factory checked in at 2020-08-28 23:44:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs10 (Old) and /work/SRC/openSUSE:Factory/.nodejs10.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs10" Fri Aug 28 23:44:32 2020 rev:25 rq:828544 version:10.22.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs10/nodejs10.changes 2020-08-02 12:29:29.163926704 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs10.new.3399/nodejs10.changes 2020-08-28 23:44:35.203516842 +0200 @@ -1,0 +2,12 @@ +Fri Aug 21 15:20:46 UTC 2020 - Adam Majer <[email protected]> + +- Strip debugging symbols prior to running unit tests. Some tests + cause too much memory usage when debug symbols are enabled. + +------------------------------------------------------------------- +Mon Aug 10 16:37:44 UTC 2020 - Adam Majer <[email protected]> + +- Explicitly add -fno-strict-aliasing to CFLAGS to fix compilation + on Aarch64 with gcc10 (bsc#1172686) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs10.spec ++++++ --- /var/tmp/diff_new_pack.HQRTVD/_old 2020-08-28 23:44:36.419516062 +0200 +++ /var/tmp/diff_new_pack.HQRTVD/_new 2020-08-28 23:44:36.419516062 +0200 @@ -118,7 +118,7 @@ Summary: Evented I/O for V8 JavaScript License: MIT Group: Development/Languages/NodeJS -Url: https://nodejs.org +URL: https://nodejs.org Source: https://nodejs.org/dist/v%{version}/node-v%{version}.tar.xz Source1: https://nodejs.org/dist/v%{version}/SHASUMS256.txt Source2: https://nodejs.org/dist/v%{version}/SHASUMS256.txt.sig @@ -406,8 +406,8 @@ # percent-configure pulls in something that confuses node's configure # script, so we'll do it thus: -export CFLAGS="%{optflags}" -export CXXFLAGS="%{optflags} -Wno-class-memaccess -Wno-error=return-type" +export CFLAGS="%{optflags} -fno-strict-aliasing" +export CXXFLAGS="%{optflags} -Wno-class-memaccess -Wno-error=return-type -fno-strict-aliasing" export LDFLAGS="%{?build_ldflags}" %if 0%{?cc_exec:1} @@ -455,6 +455,10 @@ %install . %{SOURCE20} +export CFLAGS="%{optflags} -fno-strict-aliasing" +export CXXFLAGS="%{optflags} -Wno-class-memaccess -Wno-error=return-type -fno-strict-aliasing" +export LDFLAGS="%{?build_ldflags}" + %if 0%{?cc_exec:1} export CC=%{?cc_exec} export CXX=%{?cpp_exec} @@ -536,6 +540,10 @@ %endif %check +export CFLAGS="%{optflags} -fno-strict-aliasing" +export CXXFLAGS="%{optflags} -Wno-class-memaccess -Wno-error=return-type -fno-strict-aliasing" +export LDFLAGS="%{?build_ldflags}" + %if 0%{?cc_exec:1} export CC=%{?cc_exec} export CXX=%{?cpp_exec} @@ -546,6 +554,8 @@ find test \( -name \*.out -or -name \*.js \) -exec sed -i 's,Use `node ,Use `node%{node_version_number} ,' {} \; %endif +strip node%{node_version_number} + ln addon-rpm.gypi deps/npm/node_modules/node-gyp/addon-rpm.gypi # Tarball doesn't have eslint package distributed, so disable some tests find test -name \*-eslint-\* -print -delete
