%{?nodejs_find_provides_and_requires} Name: nodejs-uid2 Version: 0.0.3 Release: 3%{?dist} Summary: Node.js module to generate strong unique IDs License: MIT URL: https://github.com/Coreh/uid2 Source0: http://registry.npmjs.org/uid2/-/uid2-%{version}.tgz BuildArch: noarch %if 0%{?fedora} >= 19 ExclusiveArch: %{nodejs_arches} noarch %else ExclusiveArch: %{ix86} x86_64 %{arm} noarch %endif BuildRequires: nodejs-packaging %description %{summary}. %prep %setup -q -n package rm -rf node_modules %build %install mkdir -p %{buildroot}/%{nodejs_sitelib}/uid2 cp -r package.json index.js %{buildroot}/%{nodejs_sitelib}/uid2 %nodejs_symlink_deps %files %doc LICENSE %{nodejs_sitelib}/uid2 %changelog * Mon Aug 26 2013 Jamie Nguyen - 0.0.3-3 - add nodejs_find_provides_and_requires macro * Mon Aug 26 2013 Jamie Nguyen - 0.0.3-2 - add ExclusiveArch logic for EL6 * Sat Aug 17 2013 Tom Hughes - 0.0.3-1 - Initial build of 0.0.3