package init

This commit is contained in:
wangxiao65 2020-09-07 16:35:43 +08:00
parent 4e3b6dbddd
commit 6e64174bb7
4 changed files with 2 additions and 8 deletions

Binary file not shown.

View File

@ -7,12 +7,7 @@ Release: 1
Summary: A JS code coverage tool written in JS
License: BSD
URL: https://github.com/gotwarlost/istanbul
Source0: https://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz
#git clone https://github.com/gotwarlost/istanbul
#cd istanbul
#git archive --prefix='test/' --format=tar ${gittag}:test/ \
# | bzip2 > "$pwd"/tests-${tag}.tar.bz2
Source1: tests-%{version}.tar.bz2
Source0: https://github.com/gotwarlost/istanbul/archive/v%{version}.tar.gz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
@ -25,8 +20,7 @@ BuildRequires: npm(which)
%{summary}.
%prep
%setup -q -n package
%setup -q -T -D -a 1 -n package
%autosetup -n istanbul-%{version}
%nodejs_fixdep async
%nodejs_fixdep escodegen
%nodejs_fixdep esprima

Binary file not shown.

BIN
v0.4.5.tar.gz Normal file

Binary file not shown.