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

From: @shine_
Reviewed-by: @hht8,@zhengyuhanghans
Signed-off-by: @zhengyuhanghans
This commit is contained in:
openeuler-ci-bot 2021-06-16 08:01:21 +00:00 committed by Gitee
commit 20aaedc931

View File

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