package init
This commit is contained in:
parent
c4ab9935d3
commit
f6c845b618
BIN
boom-2.10.1.tgz
Normal file
BIN
boom-2.10.1.tgz
Normal file
Binary file not shown.
35
nodejs-boom.spec
Normal file
35
nodejs-boom.spec
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
%{?nodejs_find_provides_and_requires}
|
||||||
|
Name: nodejs-boom
|
||||||
|
Version: 2.10.1
|
||||||
|
Release: 1
|
||||||
|
Summary: HTTP friendly error objects
|
||||||
|
License: BSD
|
||||||
|
URL: https://github.com/spumko/boom
|
||||||
|
Source0: https://registry.npmjs.org/boom/-/boom-%{version}.tgz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging
|
||||||
|
%description
|
||||||
|
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
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/boom
|
||||||
|
cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/boom
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{nodejs_sitelib}/boom
|
||||||
|
%doc README.md CONTRIBUTING.md images
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 10 2020 wutao <wutao61@huawei.com> - 2.10.1-1
|
||||||
|
- package init
|
||||||
4
nodejs-boom.yaml
Normal file
4
nodejs-boom.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: spumko/boom
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user