!2 解除git依赖,避免冗余依赖缺失导致的error。

From: @shine_
Reviewed-by: @hht8,@zhengyuhanghans
Signed-off-by: @zhengyuhanghans
This commit is contained in:
openeuler-ci-bot 2021-06-16 07:54:17 +00:00 committed by Gitee
commit 3c3e0f9294

View File

@ -2,7 +2,7 @@
%global enable_tests 1 %global enable_tests 1
Name: nodejs-readdirp Name: nodejs-readdirp
Version: 2.1.0 Version: 2.1.0
Release: 1 Release: 2
Summary: Recursive version of Node's fs.readdir with a streaming API Summary: Recursive version of Node's fs.readdir with a streaming API
License: MIT License: MIT
URL: https://github.com/thlorenz/readdirp URL: https://github.com/thlorenz/readdirp
@ -19,7 +19,7 @@ BuildRequires: npm(set-immediate-shim) npm(tap) npm(through2)
%{summary}. %{summary}.
%prep %prep
%autosetup -n readdirp-%{version} -S git %autosetup -n readdirp-%{version} -p1
rm -rf test/ rm -rf test/
find . -type f -exec chmod -x '{}' \; find . -type f -exec chmod -x '{}' \;
%nodejs_fixdep minimatch "^3.0.0" %nodejs_fixdep minimatch "^3.0.0"
@ -44,5 +44,8 @@ cp -pr package.json readdirp.js stream-api.js \
%{nodejs_sitelib}/readdirp %{nodejs_sitelib}/readdirp
%changelog %changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 2.1.0-2
- %prep no longer patched with git
* Sat Aug 22 2020 wangyue <wangyue92@huawei.com> - 2.1.0-1 * Sat Aug 22 2020 wangyue <wangyue92@huawei.com> - 2.1.0-1
- package init - package init