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

From: @shine_
Reviewed-by: @zhengyuhanghans
Signed-off-by: @zhengyuhanghans
This commit is contained in:
openeuler-ci-bot 2021-06-16 07:54:46 +00:00 committed by Gitee
commit ef254de4ff

View File

@ -2,7 +2,7 @@
%global enable_tests 1
Name: nodejs-grunt-contrib-nodeunit
Version: 0.4.1
Release: 1
Release: 2
Summary: Run Nodeunit unit tests with grunt
License: MIT
URL: https://github.com/gruntjs/grunt-contrib-nodeunit
@ -20,7 +20,7 @@ BuildRequires: npm(nodeunit) npm(tap)
%{summary}.
%prep
%autosetup -n grunt-contrib-nodeunit-%{version} -S git
%autosetup -n grunt-contrib-nodeunit-%{version} -p1
%build
@ -44,5 +44,8 @@ cp -pr package.json tasks/ \
%{nodejs_sitelib}/grunt-contrib-nodeunit
%changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 0.4.1-2
- %prep no longer patched with git
* Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 0.4.1-1
- package init