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

From: @shine_
Reviewed-by: @zhengyuhanghans
Signed-off-by: @zhengyuhanghans
This commit is contained in:
openeuler-ci-bot 2021-06-16 08:01:10 +00:00 committed by Gitee
commit 27c276941f

View File

@ -2,7 +2,7 @@
%global enable_tests 1 %global enable_tests 1
Name: nodejs-commander Name: nodejs-commander
Version: 2.9.0 Version: 2.9.0
Release: 1 Release: 2
Summary: Node.js command-line interfaces made easy Summary: Node.js command-line interfaces made easy
License: MIT License: MIT
URL: https://github.com/visionmedia/commander.js URL: https://github.com/visionmedia/commander.js
@ -20,7 +20,7 @@ The complete solution for Node.js command-line interfaces,
inspired by Ruby's commander. inspired by Ruby's commander.
%prep %prep
%autosetup -n commander.js-%{version} -S git %autosetup -n commander.js-%{version} -p1
%build %build
@ -43,5 +43,8 @@ cp -pr package.json index.js \
%{nodejs_sitelib}/commander %{nodejs_sitelib}/commander
%changelog %changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 2.9.0-2
- %prep no longer patch with git
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 2.9.0-1 * Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 2.9.0-1
- package init - package init