package init

This commit is contained in:
wang_yue111 2020-09-07 16:50:13 +08:00
parent f201e657d5
commit 8dc466751e
4 changed files with 12 additions and 17 deletions

View File

@ -7,11 +7,7 @@ Release: 1
Summary: Parse the test anything protocol
License: MIT
URL: https://github.com/substack/tap-parser.git
Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
#wget https://github.com/substack/tap-parser.git
#cd tap-parser
#git archive --prefix='test/' --format=tar v1.2.2:test/ | bzip2 > tests-1.2.2.tar.bz2
Source1: tests-%{version}.tar.bz2
Source0: https://github.com/substack/tap-parser/archive/v%{version}.tar.gz
ExclusiveArch: %{nodejs_arches} noarch
BuildArch: noarch
BuildRequires: nodejs-packaging
@ -22,8 +18,7 @@ BuildRequires: npm(events-to-array) npm(glob) npm(js-yaml) npm(tap) n
Parse the test anything protocol.
%prep
%setup -q -n package
%setup -q -T -D -a 1 -n package
%autosetup -n tap-parser-%{version}
%nodejs_fixdep -r inherits
%build

Binary file not shown.

Binary file not shown.

BIN
v1.2.2.tar.gz Normal file

Binary file not shown.