# spec file for package nodejs-nodejs-builtins %global npm_name builtins %{?nodejs_find_provides_and_requires} %global enable_tests 1 Name: nodejs-builtins Version: 1.0.2 Release: 1%{?dist} Summary: List of node.js builtin modules Url: https://github.com/juliangruber/builtins Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz License: MIT BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-devel BuildRequires: nodejs-packaging %description List of node.js builtin modules %prep %setup -q -n package %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pr package.json builtins.json \ %{buildroot}%{nodejs_sitelib}/%{npm_name} %{nodejs_symlink_deps} %if 0%{?enable_tests} %check %{nodejs_symlink_deps} --check node test.js %endif %files %{nodejs_sitelib}/builtins %doc Readme.md History.md %license License %changelog * Mon Jun 29 2015 Zuzana Svetlikova - 1.0.2-1 - Initial build