package init
This commit is contained in:
parent
81f86d05bf
commit
182e71c1d8
@ -1,23 +1,26 @@
|
|||||||
%{?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.5
|
Version: 1.0.6
|
||||||
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.git
|
URL: https://github.com/jbgutierrez/path-parse
|
||||||
Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
|
Source0: https://github.com/jbgutierrez/path-parse/archive/%{commit}/path-parse-%{shortcommit}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
BuildRequires: nodejs-packaging
|
BuildRequires: nodejs-packaging
|
||||||
%if 0%{?enable_tests}
|
%if 0%{?enable_tests}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Node.js path.parse() ponyfill
|
Node.js path.parse() ponyfill
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n package
|
%autosetup -n path-parse-%{commit}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -42,5 +45,5 @@ NODE_ENV=test %{__nodejs} test.js
|
|||||||
%{nodejs_sitelib}/%{packagename}
|
%{nodejs_sitelib}/%{packagename}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Aug 22 2020 wangyue <wangyue92@huawei.com> - 1.0.5-1
|
* Sat Aug 22 2020 wangyue <wangyue92@huawei.com> - 1.0.6-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
Subproject commit f86a3d82d1a535a473dc91b0d872be460395421b
|
|
||||||
@ -1 +0,0 @@
|
|||||||
Subproject commit 6a79475f8cd126642a703c8055253ec235b46372
|
|
||||||
@ -1 +0,0 @@
|
|||||||
Subproject commit 7cbfaadfcd770951ec733d39cc92e0d6afb8d583
|
|
||||||
@ -1 +0,0 @@
|
|||||||
Subproject commit c7d1001ac68dfc6e3ae8cc9773896033d68b9e88
|
|
||||||
Binary file not shown.
BIN
path-parse-97efc90.tar.gz
Normal file
BIN
path-parse-97efc90.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user