Resolves: RHBZ#1815402, Fix optflags to save memory, update to 14.3.0
This commit is contained in:
parent
8528c9f7e8
commit
561eab4d37
2
.gitignore
vendored
2
.gitignore
vendored
@ -7,3 +7,5 @@
|
|||||||
/node-v12.16.1-stripped.tar.gz
|
/node-v12.16.1-stripped.tar.gz
|
||||||
/node-v14.2.0-stripped.tar.gz
|
/node-v14.2.0-stripped.tar.gz
|
||||||
/icu4c-66_1-src.tgz
|
/icu4c-66_1-src.tgz
|
||||||
|
/node-v14.3.0-stripped.tar.gz
|
||||||
|
/icu4c-67_1-src.tgz
|
||||||
|
19
nodejs.spec
19
nodejs.spec
@ -26,7 +26,7 @@
|
|||||||
# than a Fedora release lifecycle.
|
# than a Fedora release lifecycle.
|
||||||
%global nodejs_epoch 1
|
%global nodejs_epoch 1
|
||||||
%global nodejs_major 14
|
%global nodejs_major 14
|
||||||
%global nodejs_minor 2
|
%global nodejs_minor 3
|
||||||
%global nodejs_patch 0
|
%global nodejs_patch 0
|
||||||
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
|
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
|
||||||
%if %{?with_libs} == 1
|
%if %{?with_libs} == 1
|
||||||
@ -77,7 +77,7 @@
|
|||||||
%global nghttp2_version %{nghttp2_major}.%{nghttp2_minor}.%{nghttp2_patch}
|
%global nghttp2_version %{nghttp2_major}.%{nghttp2_minor}.%{nghttp2_patch}
|
||||||
|
|
||||||
# ICU - from tools/icu/current_ver.dep
|
# ICU - from tools/icu/current_ver.dep
|
||||||
%global icu_major 66
|
%global icu_major 67
|
||||||
%global icu_minor 1
|
%global icu_minor 1
|
||||||
%global icu_version %{icu_major}.%{icu_minor}
|
%global icu_version %{icu_major}.%{icu_minor}
|
||||||
|
|
||||||
@ -110,7 +110,7 @@
|
|||||||
%global npm_epoch 1
|
%global npm_epoch 1
|
||||||
%global npm_major 6
|
%global npm_major 6
|
||||||
%global npm_minor 14
|
%global npm_minor 14
|
||||||
%global npm_patch 4
|
%global npm_patch 5
|
||||||
%global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}
|
%global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}
|
||||||
|
|
||||||
# uvwasi - from deps/uvwasi/include/uvwasi.h
|
# 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/zlib
|
||||||
rm -rf deps/brotli
|
rm -rf deps/brotli
|
||||||
|
|
||||||
#%%if %%{?with_libs} == 1
|
|
||||||
#%%patch2 -p1
|
|
||||||
#%%endif
|
|
||||||
|
|
||||||
# Replace any instances of unversioned python' with python3
|
# Replace any instances of unversioned python' with python3
|
||||||
%if %{with python3_fixup}
|
%if %{with python3_fixup}
|
||||||
pathfix.py -i %{__python3} -pn $(find -type f ! -name "*.js")
|
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)
|
# build with debugging symbols and add defines from libuv (#892601)
|
||||||
# Node's v8 breaks with GCC 6 because of incorrect usage of methods on
|
# 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
|
# NULL objects. We need to pass -fno-delete-null-pointer-checks
|
||||||
export CFLAGS='%{optflags} -g \
|
export CFLAGS='%{optflags} \
|
||||||
-D_LARGEFILE_SOURCE \
|
-D_LARGEFILE_SOURCE \
|
||||||
-D_FILE_OFFSET_BITS=64 \
|
-D_FILE_OFFSET_BITS=64 \
|
||||||
-DZLIB_CONST \
|
-DZLIB_CONST \
|
||||||
-fno-delete-null-pointer-checks'
|
-fno-delete-null-pointer-checks'
|
||||||
export CXXFLAGS='%{optflags} -g \
|
export CXXFLAGS='%{optflags} \
|
||||||
-D_LARGEFILE_SOURCE \
|
-D_LARGEFILE_SOURCE \
|
||||||
-D_FILE_OFFSET_BITS=64 \
|
-D_FILE_OFFSET_BITS=64 \
|
||||||
-DZLIB_CONST \
|
-DZLIB_CONST \
|
||||||
@ -820,6 +816,11 @@ end
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed May 06 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:14.2.0-1
|
||||||
- Update to 14.2.0
|
- Update to 14.2.0
|
||||||
- build with python3 only
|
- build with python3 only
|
||||||
|
Loading…
Reference in New Issue
Block a user