fixs failed: git No such file or dirctory.

This commit is contained in:
shine_ 2021-06-09 12:24:46 +08:00
parent fe6ba754c4
commit b412d5ff6f

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