!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:53:53 +00:00 committed by Gitee
commit acd8f241cb

View File

@ -2,7 +2,7 @@
%global enable_tests 1
Name: nodejs-should
Version: 8.4.0
Release: 1
Release: 2
Summary: A test framework agnostic BDD-style assertions for Node.js
License: MIT
URL: https://github.com/shouldjs/should.js
@ -26,7 +26,7 @@ and should.AssertionError is assert.AssertionError, meaning any test framework
supporting this constructor will function properly with should.
%prep
%autosetup -n should.js-%{version} -S git
%autosetup -n should.js-%{version} -p1
rm -f should.min.js
find . -type f -exec chmod -x '{}' \;
@ -50,5 +50,8 @@ cp -pr package.json index.js lib/ should.js \
%{nodejs_sitelib}/should
%changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 8.4.0-2
- %prep no longer patched with git
* Thu Aug 20 2020 wangyue <wangyue92@huawei.com> - 8.4.0-1
- package init