From: @lyn1001 Reviewed-by: @wang--ge Signed-off-by: @wang--ge
This commit is contained in:
commit
587324802e
BIN
0.3.0.tar.gz
Normal file
BIN
0.3.0.tar.gz
Normal file
Binary file not shown.
BIN
0.4.1.tar.gz
BIN
0.4.1.tar.gz
Binary file not shown.
@ -3,12 +3,13 @@
|
|||||||
%global bootstrap 1
|
%global bootstrap 1
|
||||||
%global enable_tests 0
|
%global enable_tests 0
|
||||||
Name: nodejs-levn
|
Name: nodejs-levn
|
||||||
Version: 0.4.1
|
Version: 0.3.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Light ECMAScript Value Notation - human written, concise, typed
|
Summary: Light ECMAScript Value Notation - human written, concise, typed
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/gkz/levn
|
URL: https://github.com/gkz/levn
|
||||||
Source0: https://github.com/gkz/levn/archive/%{version}.tar.gz
|
Source0: https://github.com/gkz/levn/archive/%{version}.tar.gz
|
||||||
|
Source1: https://raw.githubusercontent.com/gkz/levn/%{version}/package.json.ls
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
BuildRequires: nodejs-packaging npm(prelude-ls) npm(type-check)
|
BuildRequires: nodejs-packaging npm(prelude-ls) npm(type-check)
|
||||||
@ -23,7 +24,8 @@ Light ECMAScript (JavaScript) Value Notation - human written, concise, typed,
|
|||||||
flexible
|
flexible
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n levn-%{version} -p1
|
%autosetup -n levn-%{version}
|
||||||
|
cp -p %{SOURCE1} .
|
||||||
%nodejs_fixdep prelude-ls '~1.2.0'
|
%nodejs_fixdep prelude-ls '~1.2.0'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -58,9 +60,6 @@ cp -pr package.json lib/ \
|
|||||||
%{nodejs_sitelib}/levn
|
%{nodejs_sitelib}/levn
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Nov 02 2023 yaoxin <yao_xin001@hoperun.com> - 0.4.1-1
|
|
||||||
- Upgrade to 0.4.1
|
|
||||||
|
|
||||||
* Tue Jul 05 2022 xu_ping <xuping33@h-partners.com> - 0.3.0-2
|
* Tue Jul 05 2022 xu_ping <xuping33@h-partners.com> - 0.3.0-2
|
||||||
- Modify prelude-ls version to 1.2.0 to compat latest nodejs-prelude-ls
|
- Modify prelude-ls version to 1.2.0 to compat latest nodejs-prelude-ls
|
||||||
|
|
||||||
|
|||||||
42
package.json.ls
Normal file
42
package.json.ls
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
name: 'levn'
|
||||||
|
version: '0.3.0'
|
||||||
|
|
||||||
|
author: 'George Zahariev <z@georgezahariev.com>'
|
||||||
|
description: 'Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible'
|
||||||
|
homepage: 'https://github.com/gkz/levn'
|
||||||
|
keywords:
|
||||||
|
'levn'
|
||||||
|
'light'
|
||||||
|
'ecmascript'
|
||||||
|
'value'
|
||||||
|
'notation'
|
||||||
|
'json'
|
||||||
|
'typed'
|
||||||
|
'human'
|
||||||
|
'concise'
|
||||||
|
'typed'
|
||||||
|
'flexible'
|
||||||
|
files:
|
||||||
|
'lib'
|
||||||
|
'README.md'
|
||||||
|
'LICENSE'
|
||||||
|
main: './lib/'
|
||||||
|
|
||||||
|
bugs: 'https://github.com/gkz/levn/issues'
|
||||||
|
license: 'MIT'
|
||||||
|
engines:
|
||||||
|
node: '>= 0.8.0'
|
||||||
|
repository:
|
||||||
|
type: 'git'
|
||||||
|
url: 'git://github.com/gkz/levn.git'
|
||||||
|
scripts:
|
||||||
|
test: "make test"
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
'prelude-ls': '~1.1.2'
|
||||||
|
'type-check': '~0.3.2'
|
||||||
|
|
||||||
|
dev-dependencies:
|
||||||
|
livescript: '~1.4.0'
|
||||||
|
mocha: '~2.3.4'
|
||||||
|
istanbul: '~0.4.1'
|
||||||
Loading…
x
Reference in New Issue
Block a user