# spec file for package nodejs-nodejs-realize-package-specifier %global npm_name realize-package-specifier %{?nodejs_find_provides_and_requires} %global enable_tests 0 Name: nodejs-realize-package-specifier Version: 3.0.1 Release: 2%{?dist} Summary: Producing full file paths and differentiating local tar and directory sources Url: https://github.com/npm/realize-package-specifier Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz License: ISC BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-devel BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(require-inject) BuildRequires: npm(tap) %endif BuildRequires: npm(dezalgo) BuildRequires: npm(npm-package-arg) %description Producing full file paths and differentiating local tar and directory sources %prep %setup -q -n package %{nodejs_fixdep} require-inject --dev %{nodejs_fixdep} tap --dev %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pr package.json index.js \ %{buildroot}%{nodejs_sitelib}/%{npm_name} %{nodejs_symlink_deps} %if 0%{?enable_tests} %check %{nodejs_symlink_deps} --check tap test/*.js %endif %files %{nodejs_sitelib}/realize-package-specifier %doc README.md %license LICENSE %changelog * Mon Dec 14 2015 Zuzana Svetlikova - 3.0.1-2 - Enable nodejs-require-inject dependency - add --dev to testing dependencies * Thu Jun 25 2015 Zuzana Svetlikova - 3.0.1-1 - New upstream release * Thu May 14 2015 Zuzana Svetlikova - 3.0.0-1 - Initial build