Update to 10.0.0
This commit is contained in:
parent
6160886410
commit
fa0451f611
BIN
boom-2.10.1.tgz
BIN
boom-2.10.1.tgz
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
%{?nodejs_find_provides_and_requires}
|
%{?nodejs_find_provides_and_requires}
|
||||||
Name: nodejs-boom
|
Name: nodejs-boom
|
||||||
Version: 2.10.1
|
Version: 10.0.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: HTTP friendly error objects
|
Summary: HTTP friendly error objects
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/spumko/boom
|
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
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
BuildRequires: nodejs-packaging
|
BuildRequires: nodejs-packaging
|
||||||
@ -13,10 +13,10 @@ BuildRequires: nodejs-packaging
|
|||||||
This library provides friendly JavaScript objects that represent HTTP errors.
|
This library provides friendly JavaScript objects that represent HTTP errors.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n package
|
%autosetup -n boom-%{version}
|
||||||
%nodejs_fixdep hoek 0.9
|
%nodejs_fixdep -r @hapi/hoek
|
||||||
sed -i 's/"node": ">=0.10.40"/"node": ">=0.10.36"/' package.json
|
chmod 0644 README.md LICENSE.md lib/* package.json
|
||||||
chmod 0644 README.md LICENSE images/* lib/* package.json
|
rm -rf node_moudles
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -27,10 +27,13 @@ cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/boom
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%{nodejs_sitelib}/boom
|
%{nodejs_sitelib}/boom
|
||||||
%doc README.md CONTRIBUTING.md images
|
%doc README.md API.md
|
||||||
%license LICENSE
|
%license LICENSE.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 30 2022 chenchen <chen_aka_jan@163.com> - 10.0.0-1
|
||||||
|
- Update to 10.0.0
|
||||||
|
|
||||||
* Mon May 9 2022 liyanan <liyanan32@h-partners.com> - 2.10.1-2
|
* Mon May 9 2022 liyanan <liyanan32@h-partners.com> - 2.10.1-2
|
||||||
- License compliance rectification
|
- License compliance rectification
|
||||||
|
|
||||||
|
|||||||
BIN
v10.0.0.tar.gz
Normal file
BIN
v10.0.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user