2020-08-20 20:46:19 +08:00
|
|
|
%{?nodejs_find_provides_and_requires}
|
|
|
|
|
Name: nodejs-once
|
|
|
|
|
Version: 1.3.3
|
2022-05-09 19:54:35 +08:00
|
|
|
Release: 2
|
2020-08-20 20:46:19 +08:00
|
|
|
Summary: Run a function exactly one time
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{nodejs_arches} noarch
|
2022-05-09 19:54:35 +08:00
|
|
|
License: ISC
|
2020-08-20 20:46:19 +08:00
|
|
|
URL: https://github.com/isaacs/once
|
|
|
|
|
Source0: https://registry.npmjs.org/once/-/once-%{version}.tgz
|
|
|
|
|
BuildRequires: nodejs-packaging
|
|
|
|
|
%description
|
|
|
|
|
Run a function exactly one time.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n package
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
mkdir -p %{buildroot}%{nodejs_sitelib}/once
|
|
|
|
|
cp -pr package.json once.js %{buildroot}%{nodejs_sitelib}/once
|
|
|
|
|
%nodejs_symlink_deps
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{nodejs_sitelib}/once
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-05-09 19:54:35 +08:00
|
|
|
* Mon May 9 2022 liyanan <liyanan32@h-partners.com> - 1.3.3-2
|
|
|
|
|
- License compliance rectification
|
|
|
|
|
|
2020-08-20 20:46:19 +08:00
|
|
|
* Mon Aug 17 2020 wutao <wutao61@huawei.com> - 1.3.3-1
|
|
|
|
|
- Package init
|