%prep no longer patched with git

This commit is contained in:
shine_ 2021-06-09 12:24:48 +08:00
parent 1573715d78
commit 90cb029291

View File

@ -1,7 +1,7 @@
%{?nodejs_find_provides_and_requires} %{?nodejs_find_provides_and_requires}
Name: nodejs-make-arrow-function Name: nodejs-make-arrow-function
Version: 1.1.0 Version: 1.1.0
Release: 1 Release: 2
Summary: Function that returns an arbitrary arrow function Summary: Function that returns an arbitrary arrow function
License: MIT License: MIT
URL: https://github.com/ljharb/make-arrow-function 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. if arrow function syntax is unsupported.
%prep %prep
%autosetup -n make-arrow-function-%{version} -S git %autosetup -n make-arrow-function-%{version} -p1
cp %{SOURCE1} LICENSE cp %{SOURCE1} LICENSE
rm -rf node_modules 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 %{nodejs_sitelib}/make-arrow-function
%changelog %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 * Sat Aug 29 2020 wutao <wutao61@huawei.com> - 1.1.0-1
- package init - package init