%prep no longer patched with git

This commit is contained in:
shine_ 2021-06-09 12:24:49 +08:00
parent 09988544ed
commit f26ab4bb94

View File

@ -2,7 +2,7 @@
%global enable_tests 1
Name: nodejs-should
Version: 8.4.0
Release: 1
Release: 2
Summary: A test framework agnostic BDD-style assertions for Node.js
License: MIT
URL: https://github.com/shouldjs/should.js
@ -26,7 +26,7 @@ and should.AssertionError is assert.AssertionError, meaning any test framework
supporting this constructor will function properly with should.
%prep
%autosetup -n should.js-%{version} -S git
%autosetup -n should.js-%{version} -p1
rm -f should.min.js
find . -type f -exec chmod -x '{}' \;
@ -50,5 +50,8 @@ cp -pr package.json index.js lib/ should.js \
%{nodejs_sitelib}/should
%changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 8.4.0-2
- %prep no longer patched with git
* Thu Aug 20 2020 wangyue <wangyue92@huawei.com> - 8.4.0-1
- package init