!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:55:08 +00:00 committed by Gitee
commit e4fec31db5

View File

@ -2,7 +2,7 @@
%global enable_tests 1
Name: nodejs-expect-dot-js
Version: 0.2.0
Release: 1
Release: 2
Summary: Behavior-driven development (BDD) style assertions for Node.js and the browser
License: MIT
URL: https://github.com/Automattic/expect.js
@ -21,7 +21,7 @@ Patch2: 0001-Update-expected-test-values.patch
%{summary}.
%prep
%autosetup -n expect.js-%{version} -S git
%autosetup -n expect.js-%{version} -p1
%build
@ -43,5 +43,8 @@ cp -pr package.json expect.js \
%{nodejs_sitelib}/expect.js
%changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 0.2.0-2
- %prep no longer patched with git
* Fri Aug 21 2020 leiju <leiju4@huawei.com> - 0.2.0-1
- Package init