%global module_name text-table Name: nodejs-%{module_name} Version: 0.2.0 Release: 3%{?dist} Summary: Generate borderless text table strings suitable for printing to stdout License: MIT URL: https://github.com/substack/%{module_name} Source0: http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging BuildRequires: npm(tap) %description %{summary}. %prep %setup -q -n package rm -rf node_modules %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name} cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{module_name} %nodejs_symlink_deps %check %nodejs_symlink_deps --check tap test/node/*.js %files %doc LICENSE readme.markdown example %{nodejs_sitelib}/%{module_name} %changelog * Thu Feb 04 2016 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Sep 19 2014 Parag Nemade - 0.2.0-1 - Initial packaging