diff --git a/nodejs-read-package-json.spec b/nodejs-read-package-json.spec new file mode 100644 index 0000000000000000000000000000000000000000..ba99f8c3a063581a40866e1ce5ee02f55dfebd77 --- /dev/null +++ b/nodejs-read-package-json.spec @@ -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 - 2.0.3-1 +- package init diff --git a/nodejs-read-package-json.yaml b/nodejs-read-package-json.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0f83a4315864029b6e681c16b1bfe4e90b076bf6 --- /dev/null +++ b/nodejs-read-package-json.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: npm/read-package-json +tag_prefix: ^v +seperator: . diff --git a/read-package-json-2.0.3.tgz b/read-package-json-2.0.3.tgz new file mode 100644 index 0000000000000000000000000000000000000000..84903e59e4eb84681a4007dda805260382009400 Binary files /dev/null and b/read-package-json-2.0.3.tgz differ