1 Star 0 Fork 2

src-oepkgs-oE-rv/nodejs-es6-iterator

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
nodejs-es6-iterator.spec 1.35 KB
Copy Edit Raw Blame History
fwx913451 authored 2020-09-07 20:06 . fuanan add package
%{?nodejs_find_provides_and_requires}
%global packagename es6-iterator
%global enable_tests 0
Name: nodejs-es6-iterator
Version: 2.0.0
Release: 1
Summary: Iterator abstraction based on ES6 specification
License: MIT
URL: https://github.com/medikoo/es6-iterator.git
Source0: https://github.com/medikoo/es6-iterator/archive/v%{version}.tar.gz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
BuildRequires: nodejs-packaging
%if 0%{?enable_tests}
BuildRequires: npm(tad)
%endif
Requires: nodejs
%description
Iterator abstraction based on ES6 specification
%prep
%autosetup -n es6-iterator-%{version}
%nodejs_fixdep d "<=2.0.0"
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
cp -pr package.json *.js \#/ \
%{buildroot}%{nodejs_sitelib}/%{packagename}
%nodejs_symlink_deps
%check
%nodejs_symlink_deps --check
%if 0%{?enable_tests}
%{__nodejs} -e 'require("./")'
%{__nodejs} %{nodejs_sitelib}/tad/bin/tad
%else
echo "Tests are disabled..."
%endif
%files
%{!?_licensedir:%global license %doc}
%doc *.md CHANGES
%license LICENSE
%{nodejs_sitelib}/%{packagename}
%changelog
* Tue Aug 18 2020 Anan Fu <fuanan3@huawei.com> - 2.0.0-1
- package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-oepkgs-oe-rv/nodejs-es6-iterator.git
git@gitee.com:src-oepkgs-oe-rv/nodejs-es6-iterator.git
src-oepkgs-oe-rv
nodejs-es6-iterator
nodejs-es6-iterator
master

Search