diff --git a/hoek-0.9.1.tgz b/hoek-0.9.1.tgz deleted file mode 100644 index c6fc2f6..0000000 Binary files a/hoek-0.9.1.tgz and /dev/null differ diff --git a/nodejs-hoek.spec b/nodejs-hoek.spec index fd16471..c2cb05c 100644 --- a/nodejs-hoek.spec +++ b/nodejs-hoek.spec @@ -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 - 10.0.0-1 +- Upgrade to version 10.0.0 + * Thu Aug 20 2020 wangxiao - 0.9.1-1 - Package init diff --git a/v10.0.0.tar.gz b/v10.0.0.tar.gz new file mode 100644 index 0000000..497d956 Binary files /dev/null and b/v10.0.0.tar.gz differ