From 363b6367bbd15a50724d26e0f9d3c48371e96a9f Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Thu, 26 May 2016 09:14:18 +0000 Subject: [PATCH] upgrading package: typescript 1.8.0 -> 1.8.10 --- typescript/typescript.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/typescript/typescript.spec b/typescript/typescript.spec index caf061ea00..9b89516eda 100644 --- a/typescript/typescript.spec +++ b/typescript/typescript.spec @@ -22,9 +22,9 @@ ## # package version -%define V_opkg 1.8.0 -%define V_typescript 1.8.0 -%define V_typescript_snap 20160515 +%define V_opkg 1.8.10 +%define V_typescript 1.8.10 +%define V_typescript_snap 20160526 # package information Name: typescript @@ -37,7 +37,7 @@ Class: EVAL Group: Language License: Apache Version: %{V_opkg} -Release: 20160515 +Release: 20160526 # list of sources Source0: http://download.openpkg.org/components/versioned/typescript/typescript-%{V_typescript}-%{V_typescript_snap}.tar.gz @@ -53,9 +53,14 @@ PreReq: OpenPKG, openpkg >= 20100101, node %track prog typescript = { - version = %{V_typescript}-%{V_typescript_snap} + version = %{V_typescript} + url = https://github.com/Microsoft/TypeScript/releases + regex = (__VER__)\.tar\.gz + } + prog typescript:snapshot = { + version = %{V_typescript_snap} url = http://download.openpkg.org/components/versioned/typescript/ - regex = typescript-(__VER__)-(\d+)\.tar\.gz + regex = typescript-__VER__-(\d+)\.tar\.gz } %prep