%prep no longer patched with git

This commit is contained in:
shine_ 2021-06-09 12:24:49 +08:00
parent 3eb0116114
commit bfbe339108

View File

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