diff --git a/istanbul-0.4.5.tgz b/istanbul-0.4.5.tgz deleted file mode 100644 index 0618fd5..0000000 Binary files a/istanbul-0.4.5.tgz and /dev/null differ diff --git a/nodejs-istanbul.spec b/nodejs-istanbul.spec index 4be3421..5f0d911 100644 --- a/nodejs-istanbul.spec +++ b/nodejs-istanbul.spec @@ -7,12 +7,7 @@ Release: 1 Summary: A JS code coverage tool written in JS License: BSD URL: https://github.com/gotwarlost/istanbul -Source0: https://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz -#git clone https://github.com/gotwarlost/istanbul -#cd istanbul -#git archive --prefix='test/' --format=tar ${gittag}:test/ \ -# | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -Source1: tests-%{version}.tar.bz2 +Source0: https://github.com/gotwarlost/istanbul/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging @@ -25,8 +20,7 @@ BuildRequires: npm(which) %{summary}. %prep -%setup -q -n package -%setup -q -T -D -a 1 -n package +%autosetup -n istanbul-%{version} %nodejs_fixdep async %nodejs_fixdep escodegen %nodejs_fixdep esprima diff --git a/tests-0.4.5.tar.bz2 b/tests-0.4.5.tar.bz2 deleted file mode 100644 index 7d7599b..0000000 Binary files a/tests-0.4.5.tar.bz2 and /dev/null differ diff --git a/v0.4.5.tar.gz b/v0.4.5.tar.gz new file mode 100644 index 0000000..e0a8d54 Binary files /dev/null and b/v0.4.5.tar.gz differ