diff --git a/nodejs-rechoir.spec b/nodejs-rechoir.spec index 56cda81..35a019a 100644 --- a/nodejs-rechoir.spec +++ b/nodejs-rechoir.spec @@ -7,11 +7,7 @@ Release: 1 Summary: Require any supported file as a node module License: MIT URL: https://github.com/tkellen/node-rechoir -Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz -#git clone tps://github.com/tkellen/node-rechoir -#cd node-rechoir -#git archive --prefix='test/' --format=tar v%{version}:test/ | bzip2 > tests-%{version}.tar.bz2 -Source1: tests-%{version}.tar.bz2 +Source0: https://github.com/tkellen/node-rechoir/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging npm(resolve) @@ -22,8 +18,7 @@ BuildRequires: mocha npm(require-uncached) Require any supported file as a node module. %prep -%autosetup -n package -%autosetup -T -D -a 1 -n package +%autosetup -n rechoir-%{version} %build diff --git a/rechoir-0.6.2.tgz b/rechoir-0.6.2.tgz deleted file mode 100644 index 3e200cd..0000000 Binary files a/rechoir-0.6.2.tgz and /dev/null differ diff --git a/tests-0.6.2.tar.bz2 b/tests-0.6.2.tar.bz2 deleted file mode 100644 index f494dd3..0000000 Binary files a/tests-0.6.2.tar.bz2 and /dev/null differ diff --git a/v0.6.2.tar.gz b/v0.6.2.tar.gz new file mode 100644 index 0000000..c2dba9f Binary files /dev/null and b/v0.6.2.tar.gz differ