diff --git a/nodejs-proxy-agent.spec b/nodejs-proxy-agent.spec index 93ef343..743b5e4 100644 --- a/nodejs-proxy-agent.spec +++ b/nodejs-proxy-agent.spec @@ -6,14 +6,13 @@ %global barename proxy-agent Name: nodejs-proxy-agent -Version: 1.1.0 -Release: 3%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: Maps proxy protocols to http.Agent implementations -Group: Development/Libraries License: MIT URL: https://www.npmjs.org/package/proxy-agent -Source0: http://registry.npmjs.org/%{barename}/-/%{barename}-%{version}.tgz +Source0: https://registry.npmjs.org/%{barename}/-/%{barename}-%{version}.tgz BuildArch: noarch %if 0%{?fedora} >= 19 ExclusiveArch: %{nodejs_arches} noarch @@ -23,21 +22,11 @@ ExclusiveArch: %{ix86} x86_64 %{arm} noarch BuildRequires: nodejs-packaging >= 6 -BuildRequires: npm(pac-proxy-agent) -BuildRequires: npm(https-proxy-agent) -BuildRequires: npm(http-proxy-agent) -BuildRequires: npm(socks-proxy-agent) -BuildRequires: npm(lru-cache) - -Requires: npm(pac-proxy-agent) -Requires: npm(https-proxy-agent) -Requires: npm(http-proxy-agent) -Requires: npm(socks-proxy-agent) -Requires: npm(lru-cache) - %if 0%{?enable_tests} -BuildRequires: npm(superagent) BuildRequires: npm(mocha) +BuildRequires: npm(proxy) +BuildRequires: npm(socksv5) +BuildRequires: npm(stream-to-buffer) %endif @@ -53,10 +42,10 @@ rm -rf node_modules/ %nodejs_fixdep --caret %nodejs_fixdep lru-cache ~2.x -%nodejs_fixdep socks-proxy-agent ~1.x +%nodejs_fixdep extend %build -%nodejs_symlink_deps --build +# %%nodejs_symlink_deps --build %install mkdir -p %{buildroot}%{nodejs_sitelib}/proxy-agent @@ -78,6 +67,9 @@ mocha --reporter spec %{nodejs_sitelib}/proxy-agent/ %changelog +* Sun Aug 30 2015 Piotr Popieluch - 2.0.0-1 +- update to new version + * Fri Jul 10 2015 Ralph Bean - 1.1.0-3 - Fixdep on socks-proxy-agent