diff --git a/0.3.3.tar.gz b/0.3.3.tar.gz new file mode 100644 index 0000000..1eac102 Binary files /dev/null and b/0.3.3.tar.gz differ diff --git a/nodejs-websocket-driver.spec b/nodejs-websocket-driver.spec index aecde1a..c7754ca 100644 --- a/nodejs-websocket-driver.spec +++ b/nodejs-websocket-driver.spec @@ -8,17 +8,9 @@ Release: 1 Summary: WebSocket protocol handler with pluggable I/O for Node.js License: MIT URL: http://github.com/faye/websocket-driver-node -Source0: http://registry.npmjs.org/websocket-driver/-/websocket-driver-%{version}.tgz -#tag = 0.3.3 -#git clone git://github.com/faye/websocket-driver-node.git -#cd websocket-driver-node -#git archive --prefix="spec/" --format=tar tags/${tag}:spec/ \ -# | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -Source1: tests-%{version}.tar.bz2 - +Source0: http://github.com/faye/websocket-driver-node/archive/%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch - BuildRequires: nodejs-packaging %if 0%{?enable_tests} @@ -30,8 +22,7 @@ BuildRequires: npm(jstest) %prep -%setup -q -n package -%setup -q -T -D -a 1 -n package +%autosetup -n websocket-driver-node-%{version} %build diff --git a/tests-0.3.3.tar.bz2 b/tests-0.3.3.tar.bz2 deleted file mode 100644 index e5c2255..0000000 Binary files a/tests-0.3.3.tar.bz2 and /dev/null differ diff --git a/websocket-driver-0.3.3.tgz b/websocket-driver-0.3.3.tgz deleted file mode 100644 index a5c66d5..0000000 Binary files a/websocket-driver-0.3.3.tgz and /dev/null differ