commit
68076184cb
BIN
0.1.3.tar.gz
Normal file
BIN
0.1.3.tar.gz
Normal file
Binary file not shown.
38
nodejs-deep-eql.spec
Normal file
38
nodejs-deep-eql.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%global commit be8c976fd2a8c4fb0a50c764e97d7f3bf8619a13
|
||||
Name: nodejs-deep-eql
|
||||
Version: 0.1.3
|
||||
Release: 1
|
||||
Summary: Improved deep equality testing for Node.js and the browser
|
||||
License: MIT
|
||||
URL: https://github.com/chaijs/deep-eql
|
||||
Source0: https://github.com/chaijs/deep-eql/archive/%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
BuildRequires: npm(mocha) npm(simple-assert) npm(type-detect)
|
||||
%description
|
||||
Improved deep equality testing for Node.js and the browser.
|
||||
|
||||
%prep
|
||||
%autosetup -n deep-eql-%{version}
|
||||
%nodejs_fixdep type-detect "^2.0.0"
|
||||
rm -rf node_modules
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/deep-eql
|
||||
cp -pr package.json index.js lib %{buildroot}%{nodejs_sitelib}/deep-eql
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
%{nodejs_sitelib}/mocha/bin/mocha --require test/bootstrap --reporter list test/*.js
|
||||
|
||||
%files
|
||||
%doc README.md History.md
|
||||
%{nodejs_sitelib}/deep-eql
|
||||
|
||||
%changelog
|
||||
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 0.1.3-1
|
||||
- package init
|
||||
4
nodejs-deep-eql.yaml
Normal file
4
nodejs-deep-eql.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: chaijs/deep-eql
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user