%prep no longer patched with git

This commit is contained in:
shine_ 2021-06-09 12:24:49 +08:00
parent e7ccd24a29
commit 18da792663

View File

@ -2,7 +2,7 @@
%global enable_tests 1
Name: nodejs-shelljs
Version: 0.7.3
Release: 1
Release: 2
Summary: Portable Unix shell commands for Node.js
License: BSD and MIT
URL: http://github.com/arturadib/shelljs
@ -18,7 +18,7 @@ BuildRequires: coffee-script npm(glob)
%{summary}.
%prep
%autosetup -n shelljs-%{version} -S git
%autosetup -n shelljs-%{version} -p1
rm test/exec.js
sed -i '1s/env //' bin/shjs
%nodejs_fixdep glob
@ -55,5 +55,8 @@ ln -sf %{nodejs_sitelib}/shelljs/bin/shjs \
%{_bindir}/shjs
%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
- package init