%{?nodejs_find_provides_and_requires} Name: nodejs-read-package-json Version: 2.0.10 Release: 1 Summary: npm's package.json parser License: ISC URL: https://github.com/isaacs/read-package-json Source0: https://github.com/npm/read-package-json/archive/refs/tags/read-package-json-%{version}.tar.gz 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 read-package-json-%{version} %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 * Tue Oct 31 2023 Ge Wang - 2.0.10-1 - update to version 2.0.10 * Fri Aug 21 2020 wangchong - 2.0.3-1 - package init