package init

This commit is contained in:
wangxiao65 2020-09-07 16:40:23 +08:00
parent 5ba6d8772b
commit cbd332b1e3
4 changed files with 2 additions and 11 deletions

View File

@ -8,16 +8,9 @@ Release: 1
Summary: A JavaScript implementation of the 'which' command
License: MIT
URL: https://github.com/isaacs/node-which
Source0: https://registry.npmjs.org/which/-/which-%{version}.tgz
#git clone git://github.com/npm/node-which.git
#cd node-which
#git archive --prefix="test/" --format=tar tags/${tag}:test/
# | bzip2 > "$pwd"/tests-${tag}.tar.bz2
Source1: tests-%{version}.tar.bz2
Source0: https://github.com/isaacs/node-which/archive/v%{version}.tar.gz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging npm(isexe)
%if 0%{?enable_tests}
@ -29,9 +22,7 @@ BuildRequires: npm(tap) npm(mkdirp) npm(rimraf)
%prep
%setup -q -n package
# setup the tests
%setup -q -T -D -a 1 -n package
%autosetup -n node-which-%{version}
%build

Binary file not shown.

BIN
v1.3.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.