diff --git a/3.10.0.tar.gz b/3.10.0.tar.gz new file mode 100644 index 0000000..0a1cc44 Binary files /dev/null and b/3.10.0.tar.gz differ diff --git a/examples-3.10.0.tar.bz2 b/examples-3.10.0.tar.bz2 deleted file mode 100644 index 4708c76..0000000 Binary files a/examples-3.10.0.tar.bz2 and /dev/null differ diff --git a/js-yaml-3.10.0.tgz b/js-yaml-3.10.0.tgz deleted file mode 100644 index f9cc861..0000000 Binary files a/js-yaml-3.10.0.tgz and /dev/null differ diff --git a/nodejs-js-yaml.spec b/nodejs-js-yaml.spec index f7f9587..006683c 100644 --- a/nodejs-js-yaml.spec +++ b/nodejs-js-yaml.spec @@ -6,9 +6,7 @@ Release: 1 Summary: YAML 1.2 parser and serializer License: MIT URL: https://github.com/nodeca/js-yaml -Source0: https://registry.npmjs.org/js-yaml/-/js-yaml-%{version}.tgz -Source1: tests-%{version}.tar.bz2 -Source2: examples-%{version}.tar.bz2 +Source0: https://github.com/nodeca/js-yaml/archive/%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging @@ -22,9 +20,7 @@ completely rewritten from scratch. Now it's very fast, and supports the 1.2 spec. %prep -%setup -q -n package -%setup -q -T -D -a 1 -n package -%setup -q -T -D -a 2 -n package +%autosetup -n js-yaml-%{version} sed -i '1s/env //' bin/js-yaml.js %nodejs_fixdep esprima diff --git a/tests-3.10.0.tar.bz2 b/tests-3.10.0.tar.bz2 deleted file mode 100644 index a033ab1..0000000 Binary files a/tests-3.10.0.tar.bz2 and /dev/null differ