commit
b0a0d29df6
34
nodejs-read-package-json.spec
Normal file
34
nodejs-read-package-json.spec
Normal file
@ -0,0 +1,34 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-read-package-json
|
||||
Version: 2.0.3
|
||||
Release: 1
|
||||
Summary: npm's package.json parser
|
||||
License: ISC
|
||||
URL: https://github.com/isaacs/read-package-json
|
||||
Source0: https://registry.npmjs.org/read-package-json/-/read-package-json-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
%description
|
||||
The thing npm uses to read package.json files, with semantics, defaults and
|
||||
validation.
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
%nodejs_fixdep glob "^6.0.3"
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/read-package-json
|
||||
cp -pr package.json read-json.js %{buildroot}%{nodejs_sitelib}/read-package-json
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%files
|
||||
%{nodejs_sitelib}/read-package-json
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 wangchong <wangchong56@huawei.com> - 2.0.3-1
|
||||
- package init
|
||||
4
nodejs-read-package-json.yaml
Normal file
4
nodejs-read-package-json.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: npm/read-package-json
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
BIN
read-package-json-2.0.3.tgz
Normal file
BIN
read-package-json-2.0.3.tgz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user