%global srcname astral-pass Name: nodejs-%{srcname} Version: 0.1.0 Release: 2%{?dist} Summary: Pass system for Astral License: MIT # License file requested: https://github.com/btford/astral-pass/issues/1 URL: https://github.com/btford/astral-pass Source0: http://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %description Pass helper for Astral that simplifies traversal. %prep %setup -q -n package rm -rf node_modules/ %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} cp -pr package.json pass.js lib/ %{buildroot}%{nodejs_sitelib}/%{srcname} %nodejs_symlink_deps %files %doc README.md %{nodejs_sitelib}/%{srcname} %changelog * Sat Dec 6 2014 Piotr Popieluch - 0.1.0-2 - Removed group - Added rm -rf node_modules/ to prep section - License file requested * Fri Nov 21 2014 Piotr Popieluch - 0.1.0-1 - Initial package