diff --git a/0.3.2.tar.gz b/0.3.2.tar.gz new file mode 100644 index 0000000..8f35e6e Binary files /dev/null and b/0.3.2.tar.gz differ diff --git a/nodejs-type-check.spec b/nodejs-type-check.spec index 1a60da6..3056018 100644 --- a/nodejs-type-check.spec +++ b/nodejs-type-check.spec @@ -8,16 +8,7 @@ Release: 1 Summary: Allows you to check the types of JavaScript values at runtime License: MIT URL: https://github.com/gkz/type-check -Source0: https://registry.npmjs.org/type-check/-/type-check-%{version}.tgz -#git clone https://github.com/gkz/type-check -#cd type-check -#git archive --prefix='test/' --format=tar ${gittag}:test/ \ -# | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -Source1: tests-%{version}.tar.bz2 -#git archive --prefix='src/' --format=tar ${gittag}::src/ \ -#| bzip2 > "$pwd"/src-${tag}.tar.bz2 -Source2: src-%{version}.tar.bz2 -Source11: https://raw.githubusercontent.com/gkz/type-check/%{version}/package.json.ls +Source0: https://github.com/gkz/type-check/archive/%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging npm(prelude-ls) @@ -32,10 +23,7 @@ type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax. %prep -%setup -q -n package -%setup -q -T -D -a 1 -n package -%setup -q -T -D -a 2 -n package -cp -p %{SOURCE11} . +%autosetup -n type-check-%{version} %build %if !0%{?bootstrap} diff --git a/package.json.ls b/package.json.ls deleted file mode 100644 index 38b16e8..0000000 --- a/package.json.ls +++ /dev/null @@ -1,35 +0,0 @@ -name: 'type-check' -version: '0.3.2' - -author: 'George Zahariev ' -description: 'type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.' -homepage: 'https://github.com/gkz/type-check' -keywords: - 'type' - 'check' - 'checking' - 'library' -files: - 'lib' - 'README.md' - 'LICENSE' -main: './lib/' - -bugs: 'https://github.com/gkz/type-check/issues' -license: 'MIT' -engines: - node: '>= 0.8.0' -repository: - type: 'git' - url: 'git://github.com/gkz/type-check.git' -scripts: - test: "make test" - -dependencies: - 'prelude-ls': '~1.1.2' - -dev-dependencies: - livescript: '~1.4.0' - mocha: '~2.3.4' - istanbul: '~0.4.1' - browserify: '~12.0.1' diff --git a/src-0.3.2.tar.bz2 b/src-0.3.2.tar.bz2 deleted file mode 100644 index 922639b..0000000 Binary files a/src-0.3.2.tar.bz2 and /dev/null differ diff --git a/tests-0.3.2.tar.bz2 b/tests-0.3.2.tar.bz2 deleted file mode 100644 index 3e41ae2..0000000 Binary files a/tests-0.3.2.tar.bz2 and /dev/null differ diff --git a/type-check-0.3.2.tgz b/type-check-0.3.2.tgz deleted file mode 100644 index 3bd8032..0000000 Binary files a/type-check-0.3.2.tgz and /dev/null differ