diff --git a/1.0.0.tar.gz b/1.0.0.tar.gz new file mode 100644 index 0000000..67e6200 Binary files /dev/null and b/1.0.0.tar.gz differ diff --git a/ejs-1.0.0.tgz b/ejs-1.0.0.tgz deleted file mode 100644 index 627d3e3..0000000 Binary files a/ejs-1.0.0.tgz and /dev/null differ diff --git a/nodejs-ejs.spec b/nodejs-ejs.spec index f3e7a37..61d66d8 100644 --- a/nodejs-ejs.spec +++ b/nodejs-ejs.spec @@ -6,7 +6,7 @@ Release: 1 Summary: Embedded JavaScript templates for Node.js License: MIT URL: https://github.com/tj/ejs -Source0: http://registry.npmjs.org/ejs/-/ejs-%{version}.tgz +Source0: https://github.com/tj/ejs/archive/%{version}.tar.gz Patch0: nodejs-ejs_fix-should-syntax.patch BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch @@ -19,8 +19,7 @@ BuildRequires: npm(mocha) npm(should) %{summary}. %prep -%setup -q -n package -%patch0 -p1 +%autosetup -n ejs-%{version} -S git %build