fixs failed: git No such file or dirctory.

This commit is contained in:
shine_ 2021-06-09 12:24:46 +08:00
parent 1b15c4441e
commit 8b68e5084b

View File

@ -2,7 +2,7 @@
%global enable_tests 1
Name: nodejs-commander
Version: 2.9.0
Release: 1
Release: 2
Summary: Node.js command-line interfaces made easy
License: MIT
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.
%prep
%autosetup -n commander.js-%{version} -S git
%autosetup -n commander.js-%{version} -p1
%build
@ -43,5 +43,8 @@ cp -pr package.json index.js \
%{nodejs_sitelib}/commander
%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
- package init