/[packages]/updates/8/nodejs/current/SPECS/nodejs.spec
ViewVC logotype

Diff of /updates/8/nodejs/current/SPECS/nodejs.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1429593 by kekepower, Sat Aug 17 14:00:02 2019 UTC revision 1431807 by joequant, Sun Aug 25 06:11:43 2019 UTC
# Line 23  Line 23 
23  # feature releases that are only supported for nine months, which is shorter  # feature releases that are only supported for nine months, which is shorter
24  # than a Mageia release lifecycle.  # than a Mageia release lifecycle.
25  %global nodejs_epoch 1  %global nodejs_epoch 1
26  %global nodejs_major 10  %global nodejs_major 12
27  %global nodejs_minor 16  %global nodejs_minor 9
28  %global nodejs_patch 3  %global nodejs_patch 0
29  %global nodejs_abi %{nodejs_major}.%{nodejs_minor}  %global nodejs_abi %{nodejs_major}.%{nodejs_minor}
30  %global nodejs_soversion 64  %global nodejs_soversion 72
31  %global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}  %global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
32  %global nodejs_release 3  %global nodejs_release 1
33    
34  # == Bundled Dependency Versions ==  # == Bundled Dependency Versions ==
35  # v8 - from deps/v8/include/v8-version.h  # v8 - from deps/v8/include/v8-version.h
36  # Epoch is set to ensure clean upgrades from the old v8 package  # Epoch is set to ensure clean upgrades from the old v8 package
37  %global v8_epoch 1  %global v8_epoch 2
38  %global v8_major 6  %global v8_major 7
39  %global v8_minor 8  %global v8_minor 6
40  %global v8_build 275  %global v8_build 303
41  %global v8_patch 32  %global v8_patch 29
42  # V8 presently breaks ABI at least every x.y release while never bumping SONAME  # V8 presently breaks ABI at least every x.y release while never bumping SONAME
43  %global v8_abi %{v8_major}.%{v8_minor}  %global v8_abi %{v8_major}.%{v8_minor}
44  %global v8_version %{v8_major}.%{v8_minor}.%{v8_build}.%{v8_patch}  %global v8_version %{v8_major}.%{v8_minor}.%{v8_build}.%{v8_patch}
# Line 56  Line 56 
56  %global http_parser_patch 0  %global http_parser_patch 0
57  %global http_parser_version %{http_parser_major}.%{http_parser_minor}.%{http_parser_patch}  %global http_parser_version %{http_parser_major}.%{http_parser_minor}.%{http_parser_patch}
58    
59            
60    # llhttp - from deps/llhttp/include/llhttp.h
61    %global llhttp_major 1
62    %global llhttp_minor 1
63    %global llhttp_patch 4
64    %global llhttp_version %{llhttp_major}.%{llhttp_minor}.%{llhttp_patch}
65    
66  # libuv - from deps/uv/include/uv/version.h  # libuv - from deps/uv/include/uv/version.h
67  %global libuv_major 1  %global libuv_major 1
68  %global libuv_minor 28  %global libuv_minor 31
69  %global libuv_patch 0  %global libuv_patch 0
70  %global libuv_version %{libuv_major}.%{libuv_minor}.%{libuv_patch}  %global libuv_version %{libuv_major}.%{libuv_minor}.%{libuv_patch}
71    
72  # nghttp2 - from deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h  # nghttp2 - from deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h
73  %global nghttp2_major 1  %global nghttp2_major 1
74  %global nghttp2_minor 34  %global nghttp2_minor 39
75  %global nghttp2_patch 0  %global nghttp2_patch 0
76  %global nghttp2_version %{nghttp2_major}.%{nghttp2_minor}.%{nghttp2_patch}  %global nghttp2_version %{nghttp2_major}.%{nghttp2_minor}.%{nghttp2_patch}
77    
# Line 73  Line 80 
80  %global icu_minor 2  %global icu_minor 2
81  %global icu_version %{icu_major}.%{icu_minor}  %global icu_version %{icu_major}.%{icu_minor}
82    
83  %if 0%{?mageia} >= 8  #%if 0%{?mageia} >= 7
84  %global icu_flag system-icu  #%global icu_flag system-icu
85  %else  #%else
86  %global icu_flag small-icu  %global icu_flag small-icu
87  %endif  #%endif
88    
89    
90  # punycode - from lib/punycode.js  # punycode - from lib/punycode.js
# Line 91  Line 98 
98  # npm - from deps/npm/package.json  # npm - from deps/npm/package.json
99  %global npm_epoch 1  %global npm_epoch 1
100  %global npm_major 6  %global npm_major 6
101  %global npm_minor 9  %global npm_minor 10
102  %global npm_patch 0  %global npm_patch 2
103  %global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}  %global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}
104    
105  # In order to avoid needing to keep incrementing the release version for the  # In order to avoid needing to keep incrementing the release version for the
# Line 157  BuildRequires: pkgconfig(libnghttp2) >= Line 164  BuildRequires: pkgconfig(libnghttp2) >=
164    
165    
166  BuildRequires: libicu-devel >= 63.1  BuildRequires: libicu-devel >= 63.1
167    BuildRequires: openssl-devel >= 1.1.1c
 BuildRequires: openssl-devel  
168    
169  # we need the system certificate store  # we need the system certificate store
170  Requires: ca-certificates  Requires: ca-certificates
# Line 313  The API documentation for the Node.js Ja Line 319  The API documentation for the Node.js Ja
319  rm -rf deps/zlib  rm -rf deps/zlib
320    
321  # Replace any instances of unversioned python' with python2  # Replace any instances of unversioned python' with python2
322  pathfix.py -i %{__python2} -pn $(find -type f)  pathfix.py -i %{__python2} -pn $(find -type f ! -name "*.js" )
323  find . -type f -exec sed -i "s~/usr\/bin\/env python~/usr/bin/python2~" {} \;  find . -type f -exec sed -i "s~/usr\/bin\/env python~/usr/bin/python2~" {} \;
324  find . -type f -exec sed -i "s~/usr\/bin\/python\W~/usr/bin/python2~" {} \;  find . -type f -exec sed -i "s~/usr\/bin\/python\W~/usr/bin/python2~" {} \;
325  sed -i "s~python~python2~" $(find . -type f | grep "gyp$")  sed -i "s~python~python2~" $(find . -type f | grep "gyp$")
# Line 362  export CXXFLAGS="$(echo ${CXXFLAGS} | tr Line 368  export CXXFLAGS="$(echo ${CXXFLAGS} | tr
368             --shared-openssl \             --shared-openssl \
369             --shared-zlib \             --shared-zlib \
370             --shared-libuv \             --shared-libuv \
            --shared-http-parser \  
371             --shared-nghttp2 \             --shared-nghttp2 \
372             --with-dtrace \             --with-dtrace \
373             --with-intl=%{icu_flag} \             --with-intl=%{icu_flag} \

Legend:
Removed from v.1429593  
changed lines
  Added in v.1431807

  ViewVC Help
Powered by ViewVC 1.1.30