2020-08-20 19:47:50 +08:00
|
|
|
%{?nodejs_find_provides_and_requires}
|
|
|
|
|
Name: nodejs-hoek
|
2023-11-01 15:43:23 +08:00
|
|
|
Version: 11.0.2
|
2020-08-20 19:47:50 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: General purpose Node.js utilities
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://github.com/spumko/hoek
|
2023-11-01 15:43:23 +08:00
|
|
|
Source0: https://github.com/spumko/hoek/archive/refs/tags/v%{version}.tar.gz
|
2020-08-20 19:47:50 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
|
|
BuildRequires: nodejs-packaging
|
|
|
|
|
%description
|
|
|
|
|
This package contains some general purpose Node.js utilities, including
|
|
|
|
|
utilities for working with objects, timers, binary encoding/decoding, escaping
|
|
|
|
|
characters, errors, and loading files.
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-06-29 10:05:14 +08:00
|
|
|
%autosetup -n hoek-%{version}
|
|
|
|
|
chmod 0644 README.md package.json
|
2020-08-20 19:47:50 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
mkdir -p %{buildroot}%{nodejs_sitelib}/hoek
|
2022-06-29 10:05:14 +08:00
|
|
|
cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/hoek
|
2020-08-20 19:47:50 +08:00
|
|
|
%nodejs_symlink_deps
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{nodejs_sitelib}/hoek
|
2022-06-29 10:05:14 +08:00
|
|
|
%doc README.md
|
2020-08-20 19:47:50 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2023-11-01 15:43:23 +08:00
|
|
|
* Wed Nov 1 2023 liyanan <liyanan61@h-parners.com> - 11.0.2-1
|
|
|
|
|
- Update to 11.0.2
|
|
|
|
|
|
2022-06-29 10:05:14 +08:00
|
|
|
* Wed Jun 29 2022 houyingchao <houyingchao@h-partners.com> - 10.0.0-1
|
|
|
|
|
- Upgrade to version 10.0.0
|
|
|
|
|
|
2020-08-20 19:47:50 +08:00
|
|
|
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 0.9.1-1
|
|
|
|
|
- Package init
|