!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:01 +00:00 committed by Gitee
commit 77fd98eaa9

View File

@ -1,6 +1,6 @@
Name: nodejs-closure-compiler
Version: 0.2.10
Release: 1
Release: 2
Summary: Bindings to Google's Closure Compiler for Node.js
License: MIT
URL: https://github.com/tim-smart/node-closure
@ -15,7 +15,7 @@ A wrapper to the Google Closure compiler tool. It runs the jar file
in a child process and returns the results in a callback.
%prep
%autosetup -n node-closure-%{version} -S git
%autosetup -n node-closure-%{version} -p1
%nodejs_fixdep -r google-closure-compiler
rm -rf node_modules lib/*
@ -32,5 +32,8 @@ cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/closure-compiler
%{nodejs_sitelib}/closure-compiler
%changelog
* Wed Jun 09 2021 zhaoyao <zhaoyao32@huawei.com> - 0.2.10-2
- %prep no longer patch with git
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 0.2.10-1
- package init