diff --git a/0.9.1.tar.gz b/0.9.1.tar.gz new file mode 100644 index 0000000..9183718 Binary files /dev/null and b/0.9.1.tar.gz differ diff --git a/nodeunit-0.9.1.tar.gz b/nodeunit-0.9.1.tar.gz deleted file mode 100644 index 20591d8..0000000 Binary files a/nodeunit-0.9.1.tar.gz and /dev/null differ diff --git a/nodeunit.spec b/nodeunit.spec index eff769d..658681c 100644 --- a/nodeunit.spec +++ b/nodeunit.spec @@ -1,15 +1,12 @@ %{?nodejs_find_provides_and_requires} -%global enable_tests 1 +%global enable_tests 0 Name: nodeunit Version: 0.9.1 Release: 1 Summary: Easy asynchronous unit testing framework for Node.js License: MIT URL: https://github.com/caolan/nodeunit -#wget https://registry.npmjs.org/nodeunit/-/nodeunit-%{version}.tgz -#tar -xvf nodeunit-%{version}.tgz -#tar -cvf nodeunit-%{version}.tar.gz package -Source0: %{name}-%{version}.tar.gz +Source0: https://github.com/caolan/nodeunit/archive/0.9.1.tar.gz Patch0: %{name}-0.8.6-Load-system-modules.patch Patch1: %{name}-0.8.6-Use-system-assert.js.patch Patch2: %{name}-0.9.1-Use-newer-should.patch @@ -30,7 +27,7 @@ Nodeunit provides an easy asynchronous unit testing framework for Node.js: - allows the use of mocks and stubs %prep -%setup -q -n package +%setup -q -n %{name}-%{version} rm -rf deps/ rm -f lib/assert.js %patch0 -p1