diff --git a/nodejs-nopt.spec b/nodejs-nopt.spec index 16e9015..ab2dcba 100644 --- a/nodejs-nopt.spec +++ b/nodejs-nopt.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Node.js option parsing License: MIT URL: https://github.com/isaacs/nopt -Source0: https://registry.npmjs.org/nopt/-/nopt-%{version}.tgz +Source0: https://github.com/isaacs/nopt/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging @@ -14,7 +14,7 @@ BuildRequires: npm(tap) npm(abbrev) An option parsing library for Node.js and its package manager (npm). %prep -%setup -q -n package +%autosetup -n nopt-%{version} %build diff --git a/nopt-3.0.6.tgz b/nopt-3.0.6.tgz deleted file mode 100644 index 57e1522..0000000 Binary files a/nopt-3.0.6.tgz and /dev/null differ diff --git a/v3.0.6.tar.gz b/v3.0.6.tar.gz new file mode 100644 index 0000000..0a5c043 Binary files /dev/null and b/v3.0.6.tar.gz differ