!2 fix CVE-2021-23343
From: @houyingchao Reviewed-by: @zhengyuhanghans Signed-off-by: @zhengyuhanghans
This commit is contained in:
commit
54d9b1cd8f
@ -1,15 +1,13 @@
|
|||||||
%{?nodejs_find_provides_and_requires}
|
%{?nodejs_find_provides_and_requires}
|
||||||
%global commit 97efc90ce24455d23ec6acedf47589df46e48ea0
|
|
||||||
%global shortcommit %(c=%{commit}}; echo ${c:0:7})
|
|
||||||
%global packagename path-parse
|
%global packagename path-parse
|
||||||
%global enable_tests 1
|
%global enable_tests 1
|
||||||
Name: nodejs-path-parse
|
Name: nodejs-path-parse
|
||||||
Version: 1.0.6
|
Version: 1.0.7
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Node.js path.parse() ponyfill
|
Summary: Node.js path.parse() ponyfill
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jbgutierrez/path-parse
|
URL: https://github.com/jbgutierrez/path-parse
|
||||||
Source0: https://github.com/jbgutierrez/path-parse/archive/%{commit}/path-parse-%{shortcommit}.tar.gz
|
Source0: https://github.com/jbgutierrez/path-parse/archive/refs/tags/v%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
BuildRequires: nodejs-packaging
|
BuildRequires: nodejs-packaging
|
||||||
@ -20,7 +18,7 @@ BuildRequires: nodejs-packaging
|
|||||||
Node.js path.parse() ponyfill
|
Node.js path.parse() ponyfill
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n path-parse-%{commit}
|
%autosetup -n path-parse-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -45,5 +43,8 @@ NODE_ENV=test %{__nodejs} test.js
|
|||||||
%{nodejs_sitelib}/%{packagename}
|
%{nodejs_sitelib}/%{packagename}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 1 2021 houyingchao <houyingchao@huawei.com> - 1.0.7-1
|
||||||
|
- upgrate to 1.0.7
|
||||||
|
|
||||||
* Sat Aug 22 2020 wangyue <wangyue92@huawei.com> - 1.0.6-1
|
* Sat Aug 22 2020 wangyue <wangyue92@huawei.com> - 1.0.6-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Binary file not shown.
BIN
v1.0.7.tar.gz
Normal file
BIN
v1.0.7.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user