diff --git a/is-symbol-1.0.2.tgz b/is-symbol-1.0.2.tgz new file mode 100644 index 0000000..90602cc Binary files /dev/null and b/is-symbol-1.0.2.tgz differ diff --git a/nodejs-is-symbol.spec b/nodejs-is-symbol.spec new file mode 100644 index 0000000..64a4b52 --- /dev/null +++ b/nodejs-is-symbol.spec @@ -0,0 +1,37 @@ +%{?nodejs_find_provides_and_requires} +Name: nodejs-is-symbol +Version: 1.0.2 +Release: 1 +Summary: Determine if a value is an ES6 Symbol or not +License: MIT +URL: https://github.com/ljharb/is-symbol +Source0: https://registry.npmjs.org/is-symbol/-/is-symbol-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs-packaging npm(tape) npm(has-symbols) +%description +%{summary}. + +%prep +%setup -q -n package +rm -rf node_modules + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/is-symbol +cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/is-symbol +%nodejs_symlink_deps + +%check +%nodejs_symlink_deps --check +%{__nodejs} --es-staging --harmony test/index.js + +%files +%doc README.md CHANGELOG.md +%license LICENSE +%{nodejs_sitelib}/is-symbol + +%changelog +* Thu Aug 20 2020 wangxiao - 1.0.2-1 +- Package init diff --git a/nodejs-is-symbol.yaml b/nodejs-is-symbol.yaml new file mode 100644 index 0000000..7757557 --- /dev/null +++ b/nodejs-is-symbol.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/ljharb/is-symbol +version_control: github +src_repo: ljharb/is-symbol +tag_prefix: "^v" +seperator: "."