package init
This commit is contained in:
parent
0e3ab6c9c3
commit
c268ef9d30
BIN
has-symbols-1.0.0.tgz
Normal file
BIN
has-symbols-1.0.0.tgz
Normal file
Binary file not shown.
40
nodejs-has-symbols.spec
Normal file
40
nodejs-has-symbols.spec
Normal file
@ -0,0 +1,40 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-has-symbols
|
||||
Version: 1.0.0
|
||||
Release: 1
|
||||
Summary: Determine if the JS environment has Symbol support
|
||||
License: MIT
|
||||
URL: https://www.npmjs.com/package/has-symbols
|
||||
Source0: https://registry.npmjs.org/has-symbols/-/has-symbols-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging npm(tape)
|
||||
%description
|
||||
Determine if the JS environment has Symbol support. Supports spec, or shams.
|
||||
|
||||
%prep
|
||||
%autosetup -n package
|
||||
rm -rf node_modules
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/has-symbols
|
||||
cp -pr package.json index.js shams.js %{buildroot}%{nodejs_sitelib}/has-symbols
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
%__nodejs test
|
||||
%__nodejs --harmony --es-staging test
|
||||
%__nodejs test/shams/get-own-property-symbols.js
|
||||
%__nodejs test/shams/core-js.js
|
||||
|
||||
%files
|
||||
%doc CHANGELOG.md README.md
|
||||
%license LICENSE
|
||||
%{nodejs_sitelib}/has-symbols
|
||||
|
||||
%changelog
|
||||
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.0.0-1
|
||||
- Package init
|
||||
5
nodejs-has-symbols.yaml
Normal file
5
nodejs-has-symbols.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/inspect-js/has-symbols
|
||||
version_control: github
|
||||
src_repo: inspect-js/has-symbols
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user