%{?nodejs_find_provides_and_requires} Name: nodejs-exit Version: 0.1.2 Release: 1%{?dist} Summary: A replacement for process.exit License: MIT Group: System Environment/Libraries URL: https://github.com/cowboy/node-exit Source: http://registry.npmjs.org/exit/-/exit-%{version}.tgz BuildArch: noarch BuildRequires: nodejs-packaging %description A replacement for process.exit that ensures stdio are fully drained before exiting. %prep %setup -q -n package %setup -T -D -q -n package %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/exit cp -pr Gruntfile.js package.json test/ lib/ \ %{buildroot}%{nodejs_sitelib}/exit %files %doc LICENSE-MIT README.md %{nodejs_sitelib}/exit %changelog * Thu Apr 10 2014 Anish Patil - 0.1.2-1 - initial package