commit
5261a9ad62
BIN
is-callable-1.1.4.tgz
Normal file
BIN
is-callable-1.1.4.tgz
Normal file
Binary file not shown.
39
nodejs-is-callable.spec
Normal file
39
nodejs-is-callable.spec
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
%{?nodejs_find_provides_and_requires}
|
||||||
|
Name: nodejs-is-callable
|
||||||
|
Version: 1.1.4
|
||||||
|
Release: 1
|
||||||
|
Summary: Is this JS value callable?
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/ljharb/is-callable
|
||||||
|
Source0: https://registry.npmjs.org/is-callable/-/is-callable-%{version}.tgz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging
|
||||||
|
BuildRequires: npm(foreach) npm(make-arrow-function) npm(make-generator-function) npm(tape)
|
||||||
|
%description
|
||||||
|
Is this JS value callable? Works with Functions and
|
||||||
|
GeneratorFunctions, despite ES6 @@toStringTag.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n package
|
||||||
|
rm -rf node_modules
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/is-callable
|
||||||
|
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/is-callable
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
%check
|
||||||
|
%nodejs_symlink_deps --check
|
||||||
|
%{__nodejs} --es-staging test.js
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md CHANGELOG.md
|
||||||
|
%license LICENSE
|
||||||
|
%{nodejs_sitelib}/is-callable
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.1.4-1
|
||||||
|
- Package init
|
||||||
5
nodejs-is-callable.yaml
Normal file
5
nodejs-is-callable.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/ljharb/is-callable
|
||||||
|
version_control: github
|
||||||
|
src_repo: ljharb/is-callable
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user