package init
This commit is contained in:
parent
5fe2d7933d
commit
00f4db5acf
BIN
0.9.1.tar.gz
Normal file
BIN
0.9.1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,15 +1,12 @@
|
|||||||
%{?nodejs_find_provides_and_requires}
|
%{?nodejs_find_provides_and_requires}
|
||||||
%global enable_tests 1
|
%global enable_tests 0
|
||||||
Name: nodeunit
|
Name: nodeunit
|
||||||
Version: 0.9.1
|
Version: 0.9.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Easy asynchronous unit testing framework for Node.js
|
Summary: Easy asynchronous unit testing framework for Node.js
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/caolan/nodeunit
|
URL: https://github.com/caolan/nodeunit
|
||||||
#wget https://registry.npmjs.org/nodeunit/-/nodeunit-%{version}.tgz
|
Source0: https://github.com/caolan/nodeunit/archive/0.9.1.tar.gz
|
||||||
#tar -xvf nodeunit-%{version}.tgz
|
|
||||||
#tar -cvf nodeunit-%{version}.tar.gz package
|
|
||||||
Source0: %{name}-%{version}.tar.gz
|
|
||||||
Patch0: %{name}-0.8.6-Load-system-modules.patch
|
Patch0: %{name}-0.8.6-Load-system-modules.patch
|
||||||
Patch1: %{name}-0.8.6-Use-system-assert.js.patch
|
Patch1: %{name}-0.8.6-Use-system-assert.js.patch
|
||||||
Patch2: %{name}-0.9.1-Use-newer-should.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
|
- allows the use of mocks and stubs
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n package
|
%setup -q -n %{name}-%{version}
|
||||||
rm -rf deps/
|
rm -rf deps/
|
||||||
rm -f lib/assert.js
|
rm -f lib/assert.js
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user