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

From: @shine_
Reviewed-by: @hht8,@zhengyuhanghans
Signed-off-by: @zhengyuhanghans
This commit is contained in:
openeuler-ci-bot 2021-06-16 07:54:31 +00:00 committed by Gitee
commit bd199ada05

View File

@ -1,7 +1,7 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-make-arrow-function
Version: 1.1.0
Release: 1
Release: 2
Summary: Function that returns an arbitrary arrow function
License: MIT
URL: https://github.com/ljharb/make-arrow-function
@ -19,7 +19,7 @@ Function that returns an arbitrary arrow function, or undefined
if arrow function syntax is unsupported.
%prep
%autosetup -n make-arrow-function-%{version} -S git
%autosetup -n make-arrow-function-%{version} -p1
cp %{SOURCE1} LICENSE
rm -rf node_modules
@ -41,5 +41,8 @@ cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/make-arrow-function
%{nodejs_sitelib}/make-arrow-function
%changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 1.1.0-2
- %prep no longer patched with git
* Sat Aug 29 2020 wutao <wutao61@huawei.com> - 1.1.0-1
- package init