package init
This commit is contained in:
parent
1851ad9757
commit
1f4ad3fdf1
BIN
is-3.2.1.tgz
Normal file
BIN
is-3.2.1.tgz
Normal file
Binary file not shown.
36
nodejs-is.spec
Normal file
36
nodejs-is.spec
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Name: nodejs-is
|
||||||
|
Version: 3.2.1
|
||||||
|
Release: 1
|
||||||
|
Summary: The definitive JavaScript type testing library
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/enricomarino/is
|
||||||
|
Source0: https://registry.npmjs.org/is/-/is-%{version}.tgz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging npm(foreach) npm(make-generator-function) npm(tape)
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n package
|
||||||
|
rm -rf node_modules
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/is
|
||||||
|
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/is
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
%check
|
||||||
|
%nodejs_symlink_deps --check
|
||||||
|
%{__nodejs} test/index.js
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md CHANGELOG.md
|
||||||
|
%license LICENSE.md
|
||||||
|
%{nodejs_sitelib}/is
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 3.2.1-1
|
||||||
|
- Package init
|
||||||
5
nodejs-is.yaml
Normal file
5
nodejs-is.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/enricomarino/is
|
||||||
|
version_control: github
|
||||||
|
src_repo: enricomarino/is
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user