package init

This commit is contained in:
wang_yue111 2020-09-08 16:13:02 +08:00
parent dc2a2b1730
commit e226482ceb
4 changed files with 2 additions and 8 deletions

BIN
8.4.0.tar.gz Normal file

Binary file not shown.

View File

@ -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 '{}' \;

Binary file not shown.

Binary file not shown.