diff --git a/nodejs-supports-color.spec b/nodejs-supports-color.spec index 640cb1a..042a525 100644 --- a/nodejs-supports-color.spec +++ b/nodejs-supports-color.spec @@ -6,8 +6,7 @@ Release: 1 Summary: Detect whether a terminal supports color License: MIT URL: https://github.com/chalk/supports-color -Source0: http://registry.npmjs.org/supports-color/-/supports-color-%{version}.tgz -Source1: https://raw.githubusercontent.com/chalk/supports-color/master/test.js +Source0: https://github.com/chalk/supports-color/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging >= 6 npm(has-flag) @@ -18,8 +17,7 @@ BuildRequires: npm(require-uncached) npm(mocha) Detect whether a terminal supports color %prep -%setup -q -n package -cp %{SOURCE1} . +%autosetup -n supports-color-%{version} rm -rf node_modules/ %nodejs_fixdep --caret diff --git a/supports-color-4.4.0.tgz b/supports-color-4.4.0.tgz deleted file mode 100644 index bc53a45..0000000 Binary files a/supports-color-4.4.0.tgz and /dev/null differ diff --git a/v4.4.0.tar.gz b/v4.4.0.tar.gz new file mode 100644 index 0000000..07b021f Binary files /dev/null and b/v4.4.0.tar.gz differ