44 lines
1.1 KiB
RPMSpec
44 lines
1.1 KiB
RPMSpec
%{?nodejs_find_provides_and_requires}
|
|
Name: nodejs-is-symbol
|
|
Version: 1.0.4
|
|
Release: 1
|
|
Summary: Determine if a value is an ES6 Symbol or not
|
|
License: MIT
|
|
URL: https://github.com/ljharb/is-symbol
|
|
Source0: https://github.com/inspect-js/is-symbol/archive/v%{version}.tar.gz
|
|
BuildArch: noarch
|
|
ExclusiveArch: %{nodejs_arches} noarch
|
|
BuildRequires: npm nodejs-packaging npm(tape) npm(has-symbols)
|
|
%description
|
|
%{summary}.
|
|
|
|
%prep
|
|
%setup -q -n is-symbol-%{version}
|
|
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} --harmony test/index.js
|
|
|
|
%files
|
|
%doc README.md CHANGELOG.md
|
|
%license LICENSE
|
|
%{nodejs_sitelib}/is-symbol
|
|
|
|
%changelog
|
|
* Thu Nov 02 2023 wulei <wu_lei@hoperun.com> - 1.0.4-1
|
|
- Update to 1.0.4
|
|
|
|
* Fri Feb 10 2023 xu_ping <xuping33@h-partners.com> - 1.0.2-2
|
|
- leave out --es-staging
|
|
|
|
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.0.2-1
|
|
- Package init
|