2020-08-20 20:46:19 +08:00
|
|
|
%{?nodejs_find_provides_and_requires}
|
|
|
|
|
Name: nodejs-once
|
2023-11-01 16:06:42 +08:00
|
|
|
Version: 1.4.1
|
|
|
|
|
Release: 1
|
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
|
2023-11-01 16:06:42 +08:00
|
|
|
Source0: https://github.com/isaacs/once/archive/refs/tags/v%{version}.tar.gz
|
2020-08-20 20:46:19 +08:00
|
|
|
BuildRequires: nodejs-packaging
|
|
|
|
|
%description
|
|
|
|
|
Run a function exactly one time.
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-11-01 16:06:42 +08:00
|
|
|
%setup -q -n once-%{version}
|
2020-08-20 20:46:19 +08:00
|
|
|
|
|
|
|
|
%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
|
2023-11-01 16:06:42 +08:00
|
|
|
* Wed Nov 1 2023 liyanan <liyanan61@h-parners.com> - 1.4.1-1
|
|
|
|
|
- Update to 1.4.1
|
|
|
|
|
|
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
|