package init
This commit is contained in:
parent
e25c86784e
commit
aa14d84e2e
BIN
assertion-error-1.1.0.tar.gz
Normal file
BIN
assertion-error-1.1.0.tar.gz
Normal file
Binary file not shown.
36
nodejs-assertion-error.spec
Normal file
36
nodejs-assertion-error.spec
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Name: nodejs-assertion-error
|
||||||
|
Version: 1.1.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Error constructor for test and validation frameworks
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/chaijs/assertion-error
|
||||||
|
Source0: https://github.com/chaijs/assertion-error/archive/%{version}/assertion-error-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging
|
||||||
|
%description
|
||||||
|
Error constructor for test and validation frameworks that implements
|
||||||
|
standardized AssertionError specification.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n assertion-error-%{version}
|
||||||
|
rm -rf node_modules
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}/%{nodejs_sitelib}/assertion-error
|
||||||
|
cp -r package.json index.js %{buildroot}/%{nodejs_sitelib}/assertion-error
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
%check
|
||||||
|
%nodejs_symlink_deps --check
|
||||||
|
%{__nodejs} test/index.js
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md History.md
|
||||||
|
%{nodejs_sitelib}/assertion-error
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 17 2020 Shaoqiang Kang <kangshaoqiang1@huawei.com> - 1.1.0-1
|
||||||
|
- Package init
|
||||||
4
nodejs-assertion-error.yaml
Normal file
4
nodejs-assertion-error.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: chaijs/assertion-error
|
||||||
|
tag_prefix: "^"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user