!2 解除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:09 +00:00 committed by Gitee
commit 318e66f562

View File

@ -2,7 +2,7 @@
%global enable_tests 1 %global enable_tests 1
Name: nodejs-shelljs Name: nodejs-shelljs
Version: 0.7.3 Version: 0.7.3
Release: 1 Release: 2
Summary: Portable Unix shell commands for Node.js Summary: Portable Unix shell commands for Node.js
License: BSD and MIT License: BSD and MIT
URL: http://github.com/arturadib/shelljs URL: http://github.com/arturadib/shelljs
@ -18,7 +18,7 @@ BuildRequires: coffee-script npm(glob)
%{summary}. %{summary}.
%prep %prep
%autosetup -n shelljs-%{version} -S git %autosetup -n shelljs-%{version} -p1
rm test/exec.js rm test/exec.js
sed -i '1s/env //' bin/shjs sed -i '1s/env //' bin/shjs
%nodejs_fixdep glob %nodejs_fixdep glob
@ -55,5 +55,8 @@ ln -sf %{nodejs_sitelib}/shelljs/bin/shjs \
%{_bindir}/shjs %{_bindir}/shjs
%changelog %changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 0.7.3-2
- %prep no longer patched with git
* Fri Aug 21 2020 wangyue <wangyue92@huawei.com> - 0.7.3-1 * Fri Aug 21 2020 wangyue <wangyue92@huawei.com> - 0.7.3-1
- package init - package init