package init
This commit is contained in:
parent
5ba6d8772b
commit
cbd332b1e3
@ -8,16 +8,9 @@ Release: 1
|
|||||||
Summary: A JavaScript implementation of the 'which' command
|
Summary: A JavaScript implementation of the 'which' command
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/isaacs/node-which
|
URL: https://github.com/isaacs/node-which
|
||||||
Source0: https://registry.npmjs.org/which/-/which-%{version}.tgz
|
Source0: https://github.com/isaacs/node-which/archive/v%{version}.tar.gz
|
||||||
#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
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
|
||||||
BuildRequires: nodejs-packaging npm(isexe)
|
BuildRequires: nodejs-packaging npm(isexe)
|
||||||
|
|
||||||
%if 0%{?enable_tests}
|
%if 0%{?enable_tests}
|
||||||
@ -29,9 +22,7 @@ BuildRequires: npm(tap) npm(mkdirp) npm(rimraf)
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n package
|
%autosetup -n node-which-%{version}
|
||||||
# setup the tests
|
|
||||||
%setup -q -T -D -a 1 -n package
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|||||||
Binary file not shown.
BIN
v1.3.0.tar.gz
Normal file
BIN
v1.3.0.tar.gz
Normal file
Binary file not shown.
BIN
which-1.3.0.tgz
BIN
which-1.3.0.tgz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user