packaage init

This commit is contained in:
wang_yue111 2020-09-07 16:37:59 +08:00
parent 1328945c28
commit cec2c7e696
3 changed files with 2 additions and 4 deletions

View File

@ -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

Binary file not shown.

BIN
v4.4.0.tar.gz Normal file

Binary file not shown.