package init

This commit is contained in:
wang_yue111 2020-09-08 15:21:22 +08:00
parent 3127dc2515
commit 0e5938cb50
4 changed files with 2 additions and 8 deletions

View File

@ -6,11 +6,7 @@ Release: 1
Summary: Recursive version of Node's fs.readdir with a streaming API
License: MIT
URL: https://github.com/thlorenz/readdirp
Source0: https://registry.npmjs.org/readdirp/-/readdirp-%{version}.tgz
#git clone git://github.com/thlorenz/readdirp.git
#cd readdirp
#git archive --prefix="test/" --format=tar tags/v%{version}:test/ | bzip2 > tests-%{version}.tar.bz2
Source1: tests-v%{version}.tar.bz2
Source0: https://github.com/thlorenz/readdirp/archive/v%{version}.tar.gz
Patch0: nodejs-readdirp-pause.patch
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
@ -23,10 +19,8 @@ BuildRequires: npm(set-immediate-shim) npm(tap) npm(through2)
%{summary}.
%prep
%setup -q -n package
%autosetup -n readdirp-%{version} -S git
rm -rf test/
%setup -q -T -D -a 1 -n package
%patch0 -p1
find . -type f -exec chmod -x '{}' \;
%nodejs_fixdep minimatch "^3.0.0"

Binary file not shown.

Binary file not shown.

BIN
v2.1.0.tar.gz Normal file

Binary file not shown.