diff --git a/nodejs-readdirp.spec b/nodejs-readdirp.spec index b291eea..c0dec68 100644 --- a/nodejs-readdirp.spec +++ b/nodejs-readdirp.spec @@ -6,11 +6,7 @@ Release: 1 Summary: Recursive version of Node's fs.readdir with a streaming API License: MIT URL: https://github.com/thlorenz/readdirp -Source0: https://registry.npmjs.org/readdirp/-/readdirp-%{version}.tgz -#git clone git://github.com/thlorenz/readdirp.git -#cd readdirp -#git archive --prefix="test/" --format=tar tags/v%{version}:test/ | bzip2 > tests-%{version}.tar.bz2 -Source1: tests-v%{version}.tar.bz2 +Source0: https://github.com/thlorenz/readdirp/archive/v%{version}.tar.gz Patch0: nodejs-readdirp-pause.patch BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch @@ -23,10 +19,8 @@ BuildRequires: npm(set-immediate-shim) npm(tap) npm(through2) %{summary}. %prep -%setup -q -n package +%autosetup -n readdirp-%{version} -S git rm -rf test/ -%setup -q -T -D -a 1 -n package -%patch0 -p1 find . -type f -exec chmod -x '{}' \; %nodejs_fixdep minimatch "^3.0.0" diff --git a/readdirp-2.1.0.tgz b/readdirp-2.1.0.tgz deleted file mode 100644 index 57b450f..0000000 Binary files a/readdirp-2.1.0.tgz and /dev/null differ diff --git a/tests-v2.1.0.tar.bz2 b/tests-v2.1.0.tar.bz2 deleted file mode 100644 index b091cff..0000000 Binary files a/tests-v2.1.0.tar.bz2 and /dev/null differ diff --git a/v2.1.0.tar.gz b/v2.1.0.tar.gz new file mode 100644 index 0000000..33a8a4c Binary files /dev/null and b/v2.1.0.tar.gz differ