From b412d5ff6fa13d5b73889353c08060ab6f98d47a Mon Sep 17 00:00:00 2001 From: shine_ <358715406@qq.com> Date: Wed, 9 Jun 2021 12:24:46 +0800 Subject: [PATCH] fixs failed: git No such file or dirctory. --- nodejs-closure-compiler.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nodejs-closure-compiler.spec b/nodejs-closure-compiler.spec index 50d4222..54367da 100644 --- a/nodejs-closure-compiler.spec +++ b/nodejs-closure-compiler.spec @@ -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 - 0.2.10-2 +- %prep no longer patch with git + * Mon Aug 17 2020 Anan Fu - 0.2.10-1 - package init