diff --git a/dreamopt-0.8.0.tgz b/dreamopt-0.8.0.tgz deleted file mode 100644 index 7e27c70..0000000 Binary files a/dreamopt-0.8.0.tgz and /dev/null differ diff --git a/nodejs-dreamopt.spec b/nodejs-dreamopt.spec index 24fe22c..9e60858 100644 --- a/nodejs-dreamopt.spec +++ b/nodejs-dreamopt.spec @@ -6,8 +6,8 @@ Release: 1 Summary: Command-line parser with readable syntax from your sweetest dreams License: MIT URL: https://github.com/andreyvit/dreamopt.js -Source0: https://registry.npmjs.org/dreamopt/-/dreamopt-%{version}.tgz -Source1: https://raw.githubusercontent.com/andreyvit/dreamopt.js/090bbef47c7d93d4e51f9ed346260f05cc40135f/LICENSE +Source0: https://github.com/andreyvit/dreamopt.js/archive/v%{version}.tar.gz +Source1: https://github.com/andreyvit/dreamopt.js/blob/master/LICENSE BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging coffee-script npm(mocha) @@ -16,7 +16,7 @@ BuildRequires: nodejs-packaging coffee-script npm(mocha) %{summary}. %prep -%setup -qn package +%autosetup -n dreamopt.js-%{version} rm -f lib/dreamopt.js rm -rf node_modules cp -p %{SOURCE1} . diff --git a/v0.8.0.tar.gz b/v0.8.0.tar.gz new file mode 100644 index 0000000..acc2314 Binary files /dev/null and b/v0.8.0.tar.gz differ