Package upgrade

This commit is contained in:
houyingchao 2022-06-29 10:05:14 +08:00
parent a41cf98f86
commit f4b562d01b
3 changed files with 9 additions and 7 deletions

Binary file not shown.

View File

@ -1,11 +1,11 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-hoek
Version: 0.9.1
Version: 10.0.0
Release: 1
Summary: General purpose Node.js utilities
License: BSD
URL: https://github.com/spumko/hoek
Source0: http://registry.npmjs.org/hoek/-/hoek-%{version}.tgz
Source0: https://github.com/spumko/hoek/archive/refs/tags/v10.0.0.tar.gz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
@ -15,21 +15,23 @@ utilities for working with objects, timers, binary encoding/decoding, escaping
characters, errors, and loading files.
%prep
%setup -q -n package
chmod 0644 README.md LICENSE images/* lib/* index.js package.json
%autosetup -n hoek-%{version}
chmod 0644 README.md package.json
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/hoek
cp -pr lib index.js package.json %{buildroot}%{nodejs_sitelib}/hoek
cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/hoek
%nodejs_symlink_deps
%files
%{nodejs_sitelib}/hoek
%doc README.md images
%license LICENSE
%doc README.md
%changelog
* Wed Jun 29 2022 houyingchao <houyingchao@h-partners.com> - 10.0.0-1
- Upgrade to version 10.0.0
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 0.9.1-1
- Package init

BIN
v10.0.0.tar.gz Normal file

Binary file not shown.