diff --git a/0.3.0.tar.gz b/0.3.0.tar.gz new file mode 100644 index 0000000..6015c0e Binary files /dev/null and b/0.3.0.tar.gz differ diff --git a/0.4.1.tar.gz b/0.4.1.tar.gz deleted file mode 100644 index e830b66..0000000 Binary files a/0.4.1.tar.gz and /dev/null differ diff --git a/nodejs-levn.spec b/nodejs-levn.spec index 4c37040..2bfdab2 100644 --- a/nodejs-levn.spec +++ b/nodejs-levn.spec @@ -3,12 +3,13 @@ %global bootstrap 1 %global enable_tests 0 Name: nodejs-levn -Version: 0.4.1 -Release: 1 +Version: 0.3.0 +Release: 2 Summary: Light ECMAScript Value Notation - human written, concise, typed License: MIT URL: https://github.com/gkz/levn Source0: https://github.com/gkz/levn/archive/%{version}.tar.gz +Source1: https://raw.githubusercontent.com/gkz/levn/%{version}/package.json.ls BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging npm(prelude-ls) npm(type-check) @@ -23,7 +24,8 @@ Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible %prep -%autosetup -n levn-%{version} -p1 +%autosetup -n levn-%{version} +cp -p %{SOURCE1} . %nodejs_fixdep prelude-ls '~1.2.0' %build @@ -58,9 +60,6 @@ cp -pr package.json lib/ \ %{nodejs_sitelib}/levn %changelog -* Thu Nov 02 2023 yaoxin - 0.4.1-1 -- Upgrade to 0.4.1 - * Tue Jul 05 2022 xu_ping - 0.3.0-2 - Modify prelude-ls version to 1.2.0 to compat latest nodejs-prelude-ls diff --git a/package.json.ls b/package.json.ls new file mode 100644 index 0000000..1e282fb --- /dev/null +++ b/package.json.ls @@ -0,0 +1,42 @@ +name: 'levn' +version: '0.3.0' + +author: 'George Zahariev ' +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'