!1 Package init

Merge pull request !1 from wangxiao65/master
This commit is contained in:
openeuler-ci-bot 2020-08-21 14:20:42 +08:00 committed by Gitee
commit 5261a9ad62
3 changed files with 44 additions and 0 deletions

BIN
is-callable-1.1.4.tgz Normal file

Binary file not shown.

39
nodejs-is-callable.spec Normal file
View 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
View 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: "."