diff --git a/clone-1.0.2.tgz b/clone-1.0.2.tgz deleted file mode 100644 index c2ab1f0..0000000 Binary files a/clone-1.0.2.tgz and /dev/null differ diff --git a/nodejs-clone.spec b/nodejs-clone.spec index f301634..9b5f6a2 100644 --- a/nodejs-clone.spec +++ b/nodejs-clone.spec @@ -6,7 +6,7 @@ Release: 1 Summary: Deep cloning of objects and arrays License: MIT URL: https://github.com/pvorb/clone -Source0: https://registry.npmjs.org/clone/-/clone-%{version}.tgz +Source0: https://github.com/pvorb/clone/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging @@ -17,7 +17,7 @@ BuildRequires: nodeunit npm(underscore) Offers foolproof deep cloning of variables in JavaScript. %prep -%setup -q -n package +%autosetup -n clone-%{version} rm -rf node_modules/ %build diff --git a/v1.0.2.tar.gz b/v1.0.2.tar.gz new file mode 100644 index 0000000..3453fae Binary files /dev/null and b/v1.0.2.tar.gz differ