diff --git a/nodejs-unpipe.spec b/nodejs-unpipe.spec index f8ffe8a..f7db289 100644 --- a/nodejs-unpipe.spec +++ b/nodejs-unpipe.spec @@ -7,12 +7,7 @@ Release: 1 Summary: Unpipe a stream from all destinations License: MIT URL: https://github.com/stream-utils/unpipe -Source0: https://registry.npmjs.org/unpipe/-/unpipe-%{version}.tgz -#git clone https://github.com/stream-utils/unpipe -#cd unpipe -#git archive --prefix='test/' --format=tar ${gittag}:test/ \ -# | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -Source1: tests-%{version}.tar.bz2 +Source0: https://github.com/stream-utils/unpipe/archive/v%{version}.tar.gz ExclusiveArch: %{nodejs_arches} noarch BuildArch: noarch BuildRequires: nodejs-packaging @@ -24,8 +19,7 @@ Requires: nodejs Unpipe a stream from all destinations %prep -%setup -q -n package -%setup -q -T -D -a 1 -n package +%autosetup -n unpipe-%{version} %build diff --git a/tests-1.0.0.tar.bz2 b/tests-1.0.0.tar.bz2 deleted file mode 100644 index 4bd44d8..0000000 Binary files a/tests-1.0.0.tar.bz2 and /dev/null differ diff --git a/unpipe-1.0.0.tgz b/unpipe-1.0.0.tgz deleted file mode 100644 index ac60140..0000000 Binary files a/unpipe-1.0.0.tgz and /dev/null differ diff --git a/v1.0.0.tar.gz b/v1.0.0.tar.gz new file mode 100644 index 0000000..3ac5d9d Binary files /dev/null and b/v1.0.0.tar.gz differ