From cd658136b2a373e8cb15c1153a0f09ba06969f02 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sat, 15 Feb 2014 17:22:15 +0000 Subject: [PATCH] add more drivers --- node-phantomjs/node-phantomjs.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/node-phantomjs/node-phantomjs.spec b/node-phantomjs/node-phantomjs.spec index 9e1eb9710b..c2db839c1a 100644 --- a/node-phantomjs/node-phantomjs.spec +++ b/node-phantomjs/node-phantomjs.spec @@ -62,11 +62,18 @@ PreReq: OpenPKG, openpkg >= 20120101, node, phantomjs %build # remove local (binary-incompatible) PhantomJS implementation copy rm -rf node_modules/phantomjs/lib/phantom + rm -rf node_modules/phantomjs-server/node_modules/phantomjs/lib/phantom # hook in our global (binary-compatible) PhantomJS implementation %{l_shtool} subst \ -e 's;phantom/bin/phantomjs;%{l_prefix}/bin/phantomjs;' \ - lib/location.js + node_modules/phantomjs/lib/location.js + %{l_shtool} subst \ + -e 's;phantom/bin/phantomjs;%{l_prefix}/bin/phantomjs;' \ + node_modules/phantomjs-server/node_modules/phantomjs/lib/location.js + %{l_shtool} subst \ + -e 's;\./node_modules/phantomjs/bin/phantomjs;%{l_prefix}/bin/phantomjs;' \ + node_modules/phantomjs-server/lib/index.js %install # create installation directory