/[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 1145275 by ovitters, Wed Aug 23 22:30:08 2017 UTC revision 1151114 by cjw, Mon Sep 4 10:13:12 2017 UTC
# Line 19  Line 19 
19  %global nodejs_major 8  %global nodejs_major 8
20  %global nodejs_minor 4  %global nodejs_minor 4
21  %global nodejs_patch 0  %global nodejs_patch 0
22    %global nodejs_rel 1
23  %global nodejs_abi %{nodejs_major}.%{nodejs_minor}  %global nodejs_abi %{nodejs_major}.%{nodejs_minor}
24  %global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}  %global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
25  %global nodejs_release %mkrel 1  %global nodejs_release %mkrel %{nodejs_rel}
26    
27  # == Bundled Dependency Versions ==  # == Bundled Dependency Versions ==
28  # v8 - from deps/v8/include/v8-version.h  # v8 - from deps/v8/include/v8-version.h
# Line 65  Line 66 
66  # main package forever, we will just construct one for npm that is guaranteed  # main package forever, we will just construct one for npm that is guaranteed
67  # to increment safely. Changing this can only be done during an update when the  # to increment safely. Changing this can only be done during an update when the
68  # base npm version number is increasing.  # base npm version number is increasing.
69  %global npm_release %{nodejs_epoch}.%{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_release}  %global npm_release %mkrel %{nodejs_epoch}.%{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}.%{nodejs_rel}
70    
71  # Filter out the NPM bundled dependencies so we aren't providing them  # Filter out the NPM bundled dependencies so we aren't providing them
72  %global __provides_exclude_from ^%{_prefix}/lib/node_modules/npm/.*$  %global __provides_exclude_from ^%{_prefix}/lib/node_modules/npm/.*$
# Line 110  BuildRequires: http-parser-devel Line 111  BuildRequires: http-parser-devel
111  Provides: bundled(http-parser) = %{http_parser_version}  Provides: bundled(http-parser) = %{http_parser_version}
112  %endif  %endif
113    
114  BuildRequires: pkgconfig(openssl)  BuildRequires: compat-openssl10-devel
115    
116  #we need ABI virtual provides where SONAMEs aren't enough/not present so deps  #we need ABI virtual provides where SONAMEs aren't enough/not present so deps
117  #break when binary compatibility is broken  #break when binary compatibility is broken
# Line 187  Development headers for the Node.js Java Line 188  Development headers for the Node.js Java
188  Summary: Node.js Package Manager  Summary: Node.js Package Manager
189  Epoch: %{npm_epoch}  Epoch: %{npm_epoch}
190  Version: %{npm_version}  Version: %{npm_version}
191  Release: %mkrel %{npm_release}.1  Release: %{npm_release}
192    
193  # We used to ship npm separately, but it is so tightly integrated with Node.js  # We used to ship npm separately, but it is so tightly integrated with Node.js
194  # (and expected to be present on all Node.js systems) that we ship it bundled  # (and expected to be present on all Node.js systems) that we ship it bundled
# Line 223  The API documentation for the Node.js Ja Line 224  The API documentation for the Node.js Ja
224  %setup -q -n node-v%{nodejs_version}  %setup -q -n node-v%{nodejs_version}
225    
226  # remove bundled dependencies that we aren't building  # remove bundled dependencies that we aren't building
227  %patch1 -p1  %autopatch -p1
228  rm -rf deps/icu-small \  rm -rf deps/icu-small \
229         deps/uv \         deps/uv \
230         deps/zlib         deps/zlib

Legend:
Removed from v.1145275  
changed lines
  Added in v.1151114

  ViewVC Help
Powered by ViewVC 1.1.30