!1 package init

Merge pull request !1 from zhanghua/master
This commit is contained in:
openeuler-ci-bot 2020-09-01 10:10:26 +08:00 committed by Gitee
commit bcca67e770
3 changed files with 40 additions and 0 deletions

36
nodejs-tunnel-agent.spec Normal file
View File

@ -0,0 +1,36 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-tunnel-agent
Version: 0.4.2
Release: 1
Summary: HTTP proxy tunneling agent
License: ASL 2.0
URL: https://github.com/request/tunnel-agent
Source0: https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-%{version}.tgz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
%description
%{summary}.
%prep
%setup -q -n package
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/tunnel-agent
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/tunnel-agent
%nodejs_symlink_deps
%check
%nodejs_symlink_deps --check
%__nodejs -e "require('./')"
%files
%doc README.md
%license LICENSE
%{nodejs_sitelib}/tunnel-agent
%changelog
* Tue Aug 11 2020 zhanghua <zhanghua40@huawei.com> - 0.4.2-1
- package init

4
nodejs-tunnel-agent.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: request/tunnel-agent
tag_pattern: "^v"
seperator: "."

BIN
tunnel-agent-0.4.2.tgz Normal file

Binary file not shown.