Browse Source

upgrading package: node11 11.0.0.20181023 -> 11.0.0

master
parent
commit
d4800bbcfd
  1. 32
      node11/node11.spec

32
node11/node11.spec

@ -22,12 +22,8 @@
##
# package version
%define V_snap_base 11.0.0
%define V_snap_type nightly
%define V_snap_date 20181023
%define V_snap_hash d901d16b39
%define V_opkg %{V_snap_base}.%{V_snap_date}
%define V_dist %{V_snap_base}-%{V_snap_type}%{V_snap_date}%{V_snap_hash}
%define V_opkg 11.0.0
%define V_dist 11.0.0
# package information
Name: node11
@ -40,14 +36,14 @@ Class: PLUS
Group: Web
License: MIT/BSD
Version: %{V_opkg}
Release: 20181023
Release: 20181024
# package options
%option with_icu yes
%option with_node no
# list of sources
Source0: https://nodejs.org/download/%{V_snap_type}/v%{V_dist}/node-v%{V_dist}.tar.gz
Source0: https://nodejs.org/download/release/v%{V_dist}/node-v%{V_dist}.tar.xz
Source1: node.c
Patch0: node11.patch
@ -65,25 +61,15 @@ Provides: node = %{version}
%endif
%description
Node.js (V10) provides an easy way to build scalable network
Node.js (V11) provides an easy way to build scalable network
servers in JavaScript. It is an event-driven I/O environment based
on Google V8 JavaScript virtual machine version 7.0.276.28.
%track
prog node11:base = {
version = %{V_snap_base}
url = https://nodejs.org/download/%{V_snap_type}/
regex = v(\d+\.\d+\.\d+)-%{V_snap_type}\d{8}[\da-f]{10}/
}
prog node11:date = {
version = %{V_snap_date}
url = https://nodejs.org/download/%{V_snap_type}/
regex = v\d+\.\d+\.\d+-%{V_snap_type}(\d{8})[\da-f]{10}/
}
prog node11:hash = {
version = %{V_snap_hash}
url = https://nodejs.org/download/%{V_snap_type}/
regex = v\d+\.\d+\.\d+-%{V_snap_type}(\d{8}[\da-f]{10})/
prog node11 = {
version = %{V_dist}
url = https://nodejs.org/download/release/
regex = v(11\.\d+\.\d+)/
}
%prep

Loading…
Cancel
Save