Resolves: RHBZ#1815402, Fix optflags to save memory, update to 14.3.0

This commit is contained in:
Zuzana Svetlikova 2020-05-21 17:47:21 +02:00
parent 8528c9f7e8
commit 561eab4d37
3 changed files with 14 additions and 11 deletions

2
.gitignore vendored
View File

@ -7,3 +7,5 @@
/node-v12.16.1-stripped.tar.gz
/node-v14.2.0-stripped.tar.gz
/icu4c-66_1-src.tgz
/node-v14.3.0-stripped.tar.gz
/icu4c-67_1-src.tgz

View File

@ -26,7 +26,7 @@
# than a Fedora release lifecycle.
%global nodejs_epoch 1
%global nodejs_major 14
%global nodejs_minor 2
%global nodejs_minor 3
%global nodejs_patch 0
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
%if %{?with_libs} == 1
@ -77,7 +77,7 @@
%global nghttp2_version %{nghttp2_major}.%{nghttp2_minor}.%{nghttp2_patch}
# ICU - from tools/icu/current_ver.dep
%global icu_major 66
%global icu_major 67
%global icu_minor 1
%global icu_version %{icu_major}.%{icu_minor}
@ -110,7 +110,7 @@
%global npm_epoch 1
%global npm_major 6
%global npm_minor 14
%global npm_patch 4
%global npm_patch 5
%global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}
# uvwasi - from deps/uvwasi/include/uvwasi.h
@ -381,10 +381,6 @@ The API documentation for the Node.js JavaScript runtime.
rm -rf deps/zlib
rm -rf deps/brotli
#%%if %%{?with_libs} == 1
#%%patch2 -p1
#%%endif
# Replace any instances of unversioned python' with python3
%if %{with python3_fixup}
pathfix.py -i %{__python3} -pn $(find -type f ! -name "*.js")
@ -410,12 +406,12 @@ export CXX='g++'
# build with debugging symbols and add defines from libuv (#892601)
# Node's v8 breaks with GCC 6 because of incorrect usage of methods on
# NULL objects. We need to pass -fno-delete-null-pointer-checks
export CFLAGS='%{optflags} -g \
export CFLAGS='%{optflags} \
-D_LARGEFILE_SOURCE \
-D_FILE_OFFSET_BITS=64 \
-DZLIB_CONST \
-fno-delete-null-pointer-checks'
export CXXFLAGS='%{optflags} -g \
export CXXFLAGS='%{optflags} \
-D_LARGEFILE_SOURCE \
-D_FILE_OFFSET_BITS=64 \
-DZLIB_CONST \
@ -820,6 +816,11 @@ end
%changelog
* Thu May 21 2020 zsvetlik@redhat.com - 1:14.3.0-1
- Update to 14.3.0
- Fix optflags to save memory
- Resolves: RHBZ#1815402
* Wed May 06 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:14.2.0-1
- Update to 14.2.0
- build with python3 only

View File

@ -1,2 +1,2 @@
2fbd6f1fc6c9fcfc96ffe9fe153c05fe node-v14.2.0-stripped.tar.gz
b33dc6766711517c98d318447e5110f8 icu4c-66_1-src.tgz
5795f5fca68414549313ac5afabdc94e node-v14.3.0-stripped.tar.gz
c4d62b497cbd89ab2a9ca6b543e57b30 icu4c-67_1-src.tgz