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 Summary: Parse the test anything protocol
License: MIT License: MIT
URL: https://github.com/substack/tap-parser.git URL: https://github.com/substack/tap-parser.git
Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz Source0: https://github.com/substack/tap-parser/archive/v%{version}.tar.gz
#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
ExclusiveArch: %{nodejs_arches} noarch ExclusiveArch: %{nodejs_arches} noarch
BuildArch: noarch BuildArch: noarch
BuildRequires: nodejs-packaging 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. Parse the test anything protocol.
%prep %prep
%setup -q -n package %autosetup -n tap-parser-%{version}
%setup -q -T -D -a 1 -n package
%nodejs_fixdep -r inherits %nodejs_fixdep -r inherits
%build %build

Binary file not shown.

Binary file not shown.

BIN
v1.2.2.tar.gz Normal file

Binary file not shown.