diff --git a/boom-2.10.1.tgz b/boom-2.10.1.tgz deleted file mode 100644 index a0e710a..0000000 Binary files a/boom-2.10.1.tgz and /dev/null differ diff --git a/nodejs-boom.spec b/nodejs-boom.spec index 306480f..806da8d 100644 --- a/nodejs-boom.spec +++ b/nodejs-boom.spec @@ -1,11 +1,11 @@ %{?nodejs_find_provides_and_requires} Name: nodejs-boom -Version: 2.10.1 -Release: 2 +Version: 10.0.0 +Release: 1 Summary: HTTP friendly error objects License: BSD-3-Clause URL: https://github.com/spumko/boom -Source0: https://registry.npmjs.org/boom/-/boom-%{version}.tgz +Source0:https://github.com/hapijs/boom/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging @@ -13,10 +13,10 @@ BuildRequires: nodejs-packaging This library provides friendly JavaScript objects that represent HTTP errors. %prep -%setup -q -n package -%nodejs_fixdep hoek 0.9 -sed -i 's/"node": ">=0.10.40"/"node": ">=0.10.36"/' package.json -chmod 0644 README.md LICENSE images/* lib/* package.json +%autosetup -n boom-%{version} +%nodejs_fixdep -r @hapi/hoek +chmod 0644 README.md LICENSE.md lib/* package.json +rm -rf node_moudles %build @@ -27,10 +27,13 @@ cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/boom %files %{nodejs_sitelib}/boom -%doc README.md CONTRIBUTING.md images -%license LICENSE +%doc README.md API.md +%license LICENSE.md %changelog +* Thu Jun 30 2022 chenchen - 10.0.0-1 +- Update to 10.0.0 + * Mon May 9 2022 liyanan - 2.10.1-2 - License compliance rectification diff --git a/v10.0.0.tar.gz b/v10.0.0.tar.gz new file mode 100644 index 0000000..12e0fd7 Binary files /dev/null and b/v10.0.0.tar.gz differ