diff --git a/1.3.1.tar.gz b/1.3.1.tar.gz new file mode 100644 index 0000000..f399780 Binary files /dev/null and b/1.3.1.tar.gz differ diff --git a/jade-1.3.1.tgz b/jade-1.3.1.tgz deleted file mode 100644 index 7f3b9c1..0000000 Binary files a/jade-1.3.1.tgz and /dev/null differ diff --git a/nodejs-jade.spec b/nodejs-jade.spec index d70b101..921df55 100644 --- a/nodejs-jade.spec +++ b/nodejs-jade.spec @@ -6,8 +6,7 @@ Release: 1 Summary: Jade template engine for Node.js License: MIT URL: https://github.com/visionmedia/jade -Source0: http://registry.npmjs.org/jade/-/jade-%{version}.tgz -Source1: tests-%{version}.tar.bz2 +Source0: https://github.com/visionmedia/jade/archive/%{version}.tar.gz Patch0: %{name}-1.2.0-Fix-test-import-path.patch BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch @@ -22,9 +21,7 @@ Jade is a high performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js. %prep -%setup -q -n package -%setup -T -D -a 1 -q -n package -%patch0 -p1 +%autosetup -n pug-%{version} -S git %nodejs_fixdep character-parser '~1.2' %nodejs_fixdep commander '>=2.1.0' %nodejs_fixdep constantinople '~2.0' diff --git a/tests-1.3.1.tar.bz2 b/tests-1.3.1.tar.bz2 deleted file mode 100644 index 1233ef8..0000000 Binary files a/tests-1.3.1.tar.bz2 and /dev/null differ