Browse Source

upgrading package: node12 12.0.0.20190421 -> 12.0.0

master
parent
commit
810e12d372
  1. 36
      node12/node12.spec

36
node12/node12.spec

@ -22,16 +22,12 @@
##
# package version
%define V_snap_base 12.0.0
%define V_snap_type nightly
%define V_snap_date 20190421
%define V_snap_hash e9fb92dc42
%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 12.0.0
%define V_dist 12.0.0
# package information
Name: node12
Summary: Node JavaScript Run-Time (V11)
Summary: Node JavaScript Run-Time (V12)
URL: http://nodejs.org/
Vendor: Node Foundation
Packager: OpenPKG Project
@ -40,14 +36,14 @@ Class: PLUS
Group: Web
License: MIT/BSD
Version: %{V_opkg}
Release: 20190421
Release: 20190423
# 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: node12.patch
@ -65,25 +61,15 @@ Provides: node = %{version}
%endif
%description
Node.js (V10) provides an easy way to build scalable network
Node.js (V12) 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.4.288.18.
on Google V8 JavaScript virtual machine version 7.4.288.21.
%track
prog node12: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 node12: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 node12: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(12\.\d+\.\d+)/
}
%prep

Loading…
Cancel
Save