diff --git a/nodejs-path-exists.spec b/nodejs-path-exists.spec index a2e6fd7..b7f71a8 100644 --- a/nodejs-path-exists.spec +++ b/nodejs-path-exists.spec @@ -7,7 +7,7 @@ Release: 1 Summary: Promisify a callback-style function License: MIT URL: https://github.com/sindresorhus/path-exists -Source0: https://registry.npmjs.com/%{srcname}/-/%{srcname}-%{version}.tgz +Source0: https://github.com/sindresorhus/path-exists/archive/v%{version}.tar.gz Source1: https://raw.githubusercontent.com/sindresorhus/%{srcname}/v%{version}/test.js BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch @@ -19,7 +19,7 @@ BuildRequires: npm(ava) %{summary}. %prep -%autosetup -n package +%autosetup -n path-exists-%{version} cp -p %{SOURCE1} . %build diff --git a/path-exists-3.0.0.tgz b/path-exists-3.0.0.tgz deleted file mode 100644 index 4c5ff16..0000000 Binary files a/path-exists-3.0.0.tgz and /dev/null differ diff --git a/v3.0.0.tar.gz b/v3.0.0.tar.gz new file mode 100644 index 0000000..787c54e Binary files /dev/null and b/v3.0.0.tar.gz differ