20 Star 0 Fork 7

openEuler-RISC-V/nodejs-has-symbols

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nodejs-has-symbols.spec 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
gice 提交于 2022-03-02 18:43 +08:00 . Delete --es-staging option
%{?nodejs_find_provides_and_requires}
Name: nodejs-has-symbols
Version: 1.0.0
Release: 2
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 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 Mar 01 2022 Yongqing chen <chenyongqingdl@gmail.com> - 1.0.0-2
- Delete --es-staging option
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.0.0-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler-risc-v/nodejs-has-symbols.git
git@gitee.com:openeuler-risc-v/nodejs-has-symbols.git
openeuler-risc-v
nodejs-has-symbols
nodejs-has-symbols
master

搜索帮助