!1 add package

Merge pull request !1 from 付安安/master
This commit is contained in:
openeuler-ci-bot 2020-09-08 18:45:28 +08:00 committed by Gitee
commit 68076184cb
3 changed files with 42 additions and 0 deletions

BIN
0.1.3.tar.gz Normal file

Binary file not shown.

38
nodejs-deep-eql.spec Normal file
View 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
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: chaijs/deep-eql
tag_prefix: "^"
seperator: "."