diff --git a/.gitignore b/.gitignore index fad4a0b..0222572 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /proxy-agent-1.1.0.tgz /proxy-agent-2.0.0.tgz +/proxy-agent-2.1.0.tgz diff --git a/nodejs-proxy-agent.spec b/nodejs-proxy-agent.spec index da788ba..2e606b2 100644 --- a/nodejs-proxy-agent.spec +++ b/nodejs-proxy-agent.spec @@ -1,13 +1,14 @@ # This macro is needed at the start for building on EL6 %{?nodejs_find_provides_and_requires} +# Tests disabled due to missing test dependencies %global enable_tests 0 %global barename proxy-agent Name: nodejs-proxy-agent -Version: 2.0.0 -Release: 6%{?dist} +Version: 2.1.0 +Release: 1%{?dist} Summary: Maps proxy protocols to http.Agent implementations License: MIT @@ -21,6 +22,8 @@ ExclusiveArch: %{ix86} x86_64 %{arm} noarch %endif BuildRequires: nodejs-packaging >= 6 +BuildRequires: npm(agent-base) +BuildRequires: npm(pac-proxy-agent) %if 0%{?enable_tests} BuildRequires: npm(mocha) @@ -57,8 +60,9 @@ cp -pr package.json index.js \ %check -%if 0%{?enable_tests} %nodejs_symlink_deps --check +%{__nodejs} -e 'require("./")' +%if 0%{?enable_tests} mocha --reporter spec %endif @@ -68,6 +72,9 @@ mocha --reporter spec %{nodejs_sitelib}/proxy-agent/ %changelog +* Mon Sep 18 2017 Jared Smith - 2.1.0-1 +- Update to upstream 2.1.0 release + * Thu Jul 27 2017 Fedora Release Engineering - 2.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 24763be..2ce5311 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -57d1d52ab291de53db2fe890f305e304 proxy-agent-2.0.0.tgz +SHA512 (proxy-agent-2.1.0.tgz) = 236dea6949d7994fc8b695d641c323f7031c6504d79c9348ee76a4491faaf79221b7c1f4fb0ddd0a04c975f9ce42a3825f5159c0a2d282eac2c84b75d4b33a38