fixs failed: git No such file or dirctory.

This commit is contained in:
shine_ 2021-06-09 12:24:46 +08:00
parent e2727baedb
commit 5af0aace67

View File

@ -2,7 +2,7 @@
%global enable_tests 1
Name: nodejs-ejs
Version: 1.0.0
Release: 1
Release: 2
Summary: Embedded JavaScript templates for Node.js
License: MIT
URL: https://github.com/tj/ejs
@ -19,7 +19,7 @@ BuildRequires: npm(mocha) npm(should)
%{summary}.
%prep
%autosetup -n ejs-%{version} -S git
%autosetup -n ejs-%{version} -p1
%build
@ -40,5 +40,8 @@ cp -pr package.json ejs.js ejs.min.js index.js lib/ \
%{nodejs_sitelib}/ejs
%changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 1.0.0-2
- %prep no longer patch with git
* Tue Aug 18 2020 Anan Fu <fuanan3@huawei.com> - 1.0.0-1
- package init