2020-08-20 20:39:46 +08:00
|
|
|
%{?nodejs_find_provides_and_requires}
|
|
|
|
|
Name: nodejs-forever-agent
|
|
|
|
|
Version: 0.6.1
|
2020-11-26 10:26:03 +08:00
|
|
|
Release: 2
|
2020-08-20 20:39:46 +08:00
|
|
|
Summary: HTTP Agent that keeps socket connections alive between keep-alive requests
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: https://github.com/mikeal/forever-agent
|
|
|
|
|
Source0: http://registry.npmjs.org/forever-agent/-/forever-agent-%{version}.tgz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
|
|
BuildRequires: nodejs-devel
|
|
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n package
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
mkdir -p %{buildroot}%{nodejs_sitelib}/forever-agent
|
|
|
|
|
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/forever-agent
|
|
|
|
|
%nodejs_symlink_deps
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{nodejs_sitelib}/forever-agent
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-11-26 10:26:03 +08:00
|
|
|
* Thu Nov 26 2020 leiju <leiju4@huawei.com> - 0.6.1-2
|
|
|
|
|
- delete nodejs-forever-agent.spec.old redundancy file
|
|
|
|
|
|
2020-08-20 20:39:46 +08:00
|
|
|
* Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 0.6.1-1
|
|
|
|
|
- package init
|