package init
This commit is contained in:
parent
f201e657d5
commit
8dc466751e
@ -1,29 +1,24 @@
|
|||||||
%{?nodejs_find_provides_and_requires}
|
%{?nodejs_find_provides_and_requires}
|
||||||
%global packagename tap-parser
|
%global packagename tap-parser
|
||||||
%global enable_tests 1
|
%global enable_tests 1
|
||||||
Name: nodejs-tap-parser
|
Name: nodejs-tap-parser
|
||||||
Version: 1.2.2
|
Version: 1.2.2
|
||||||
Release: 1
|
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
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
#cd tap-parser
|
BuildArch: noarch
|
||||||
#git archive --prefix='test/' --format=tar v1.2.2:test/ | bzip2 > tests-1.2.2.tar.bz2
|
BuildRequires: nodejs-packaging
|
||||||
Source1: tests-%{version}.tar.bz2
|
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: nodejs-packaging
|
|
||||||
%if 0%{?enable_tests}
|
%if 0%{?enable_tests}
|
||||||
BuildRequires: npm(events-to-array) npm(glob) npm(js-yaml) npm(tap) npm(tape)
|
BuildRequires: npm(events-to-array) npm(glob) npm(js-yaml) npm(tap) npm(tape)
|
||||||
%endif
|
%endif
|
||||||
%description
|
%description
|
||||||
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
BIN
v1.2.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user