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

From: @shine_
Reviewed-by: @hht8,@zhengyuhanghans
Signed-off-by: @zhengyuhanghans
This commit is contained in:
openeuler-ci-bot 2021-06-16 07:50:01 +00:00 committed by Gitee
commit 4967f4d9b5

View File

@ -4,7 +4,7 @@
%global owner gozala
Name: nodejs-%{srcname}
Version: 0.6.0
Release: 2
Release: 3
Summary: (Un)CommonJS test runner
License: MIT
URL: https://github.com/Gozala/test-commonjs
@ -21,7 +21,7 @@ BuildRequires: nodejs-ansi-font
%{summary}.
%prep
%autosetup -n test-commonjs-%{version} -p1 -S git
%autosetup -n test-commonjs-%{version} -p1
rm -rf node_modules
%build
@ -45,6 +45,9 @@ cp -pr package.json *.js \
%{nodejs_sitelib}/%{srcname}
%changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 0.6.0-3
- %prep no longer patched with git
* Wed Sep 16 2020 leiju <leiju4@huawei.com> - 0.6.0-2
- Fix AssertionError detection for node