diff --git a/8.4.0.tar.gz b/8.4.0.tar.gz new file mode 100644 index 0000000..f3d6d2f Binary files /dev/null and b/8.4.0.tar.gz differ diff --git a/nodejs-should.spec b/nodejs-should.spec index e499ff8..62c5aca 100644 --- a/nodejs-should.spec +++ b/nodejs-should.spec @@ -6,11 +6,7 @@ Release: 1 Summary: A test framework agnostic BDD-style assertions for Node.js License: MIT URL: https://github.com/shouldjs/should.js -Source0: https://registry.npmjs.org/should/-/should-%{version}.tgz -#git clone git://github.com/shouldjs/should.js.git -#cd should.js -#git archive --prefix="test/" --format=tar tags/%{version}:test/ | bzip2 > tests-%{version}.tar.bz2 -Source1: tests-%{version}.tar.bz2 +Source0: https://github.com/shouldjs/should.js/archive/%{version}.tar.gz Obsoletes: nodejs-should-promised < 0.3.1-2 BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch @@ -30,9 +26,7 @@ and should.AssertionError is assert.AssertionError, meaning any test framework supporting this constructor will function properly with should. %prep -%setup -q -n package -%setup -q -T -D -a 1 -n package -%patch0001 -p1 +%autosetup -n should.js-%{version} -S git rm -f should.min.js find . -type f -exec chmod -x '{}' \; diff --git a/should-8.4.0.tgz b/should-8.4.0.tgz deleted file mode 100644 index ee25a0f..0000000 Binary files a/should-8.4.0.tgz and /dev/null differ diff --git a/tests-8.4.0.tar.bz2 b/tests-8.4.0.tar.bz2 deleted file mode 100644 index a567f1b..0000000 Binary files a/tests-8.4.0.tar.bz2 and /dev/null differ