commit
d5b6707577
BIN
better-assert-1.0.2.tgz
Normal file
BIN
better-assert-1.0.2.tgz
Normal file
Binary file not shown.
33
nodejs-better-assert.spec
Normal file
33
nodejs-better-assert.spec
Normal file
@ -0,0 +1,33 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-better-assert
|
||||
Version: 1.0.2
|
||||
Release: 1
|
||||
Summary: C-style assert() for Node.js
|
||||
License: MIT
|
||||
URL: https://github.com/visionmedia/better-assert
|
||||
Source0: https://registry.npmjs.org/better-assert/-/better-assert-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
BuildRequires: nodejs-callsite
|
||||
%description
|
||||
C-style assert() for Node.js, reporting the expression string as the error
|
||||
message.
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/better-assert
|
||||
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/better-assert
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%files
|
||||
%{nodejs_sitelib}/better-assert
|
||||
%doc Readme.md example.js History.md
|
||||
|
||||
%changelog
|
||||
* Mon Aug 17 2020 Shaoqiang Kang <kangshaoqiang1@huawei.com> - 1.0.2-1
|
||||
- Package init
|
||||
4
nodejs-better-assert.yaml
Normal file
4
nodejs-better-assert.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: visionmedia/better-assert
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user