[nodejs-request/f19] cookie handling now unbundled upstream

T.C. Hollingsworth patches at fedoraproject.org
Wed Apr 3 23:23:34 UTC 2013


commit 282bfb1838bdbc62c70ff31a1c31b600faf5a652
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Wed Apr 3 16:22:59 2013 -0700

    cookie handling now unbundled upstream

 nodejs-request-unbundle-cookie.patch |   13 -------------
 nodejs-request.spec                  |   14 ++------------
 2 files changed, 2 insertions(+), 25 deletions(-)
---
diff --git a/nodejs-request.spec b/nodejs-request.spec
index 4b93540..372d514 100644
--- a/nodejs-request.spec
+++ b/nodejs-request.spec
@@ -9,15 +9,8 @@ Source0:    http://registry.npmjs.org/request/-/request-%{version}.tgz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
 
-# use the seperate cookie module instead of the bundled version
-Patch1: nodejs-request-unbundle-cookie.patch
-
 BuildRequires:  nodejs-devel
 
-# explicit Requires are required because this package is not listed in the npm
-# registry and thus not handled by the automatic dependency generator
-Requires:   nodejs-tobi-cookie
-
 %description
 Request is designed to be the simplest way possible to make HTTP calls. It
 supports HTTPS and follows redirects by default.
@@ -27,10 +20,9 @@ PUT or POST request.  It also supports a few simple server and proxy functions.
 
 %prep
 %setup -q -n package
-%patch1
 
 #remove bundled modules
-rm -rf node_modules vendor
+rm -rf node_modules
 
 %build
 #nothing to do
@@ -42,9 +34,6 @@ mkdir -p %{buildroot}%{nodejs_sitelib}/request
 cp -pr *.js package.json %{buildroot}%{nodejs_sitelib}/request
 
 %nodejs_symlink_deps
-#we manually create this dependency link since tobi-cookie isn't in the npm registry
-ln -sf %{nodejs_sitelib}/tobi-cookie \
-    %{buildroot}%{nodejs_sitelib}/request/node_modules/tobi-cookie
 
 %clean
 rm -rf %{buildroot}
@@ -57,6 +46,7 @@ rm -rf %{buildroot}
 %changelog
 * Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 2.16.6-1
 - new upstream release 2.16.6
+- cookie library now unbundled upstream
 
 * Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 2.14.0-1
 - new upstream release 2.14.0


More information about the scm-commits mailing list