diff --git a/is-callable-1.1.4.tgz b/is-callable-1.1.4.tgz new file mode 100644 index 0000000..4f75dd5 Binary files /dev/null and b/is-callable-1.1.4.tgz differ diff --git a/nodejs-is-callable.spec b/nodejs-is-callable.spec new file mode 100644 index 0000000..9317f6d --- /dev/null +++ b/nodejs-is-callable.spec @@ -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 - 1.1.4-1 +- Package init diff --git a/nodejs-is-callable.yaml b/nodejs-is-callable.yaml new file mode 100644 index 0000000..8e456de --- /dev/null +++ b/nodejs-is-callable.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/ljharb/is-callable +version_control: github +src_repo: is-callable +tag_prefix: "^v" +seperator: "."