# This macro is needed at the start for building on EL6 %{?nodejs_find_provides_and_requires} %global srcname grunt-util-args # commit is release 0.0.3 + license file %global commit 4866dcd2cdceee106b2d02a0f512604785fa0ddb Name: nodejs-%{srcname} Version: 0.0.3 Release: 2%{?dist} Summary: Grunt util for extracting arguments License: MIT URL: https://github.com/mikaelkaron/grunt-util-args Source0: https://github.com/mikaelkaron/grunt-util-args/archive/%{commit}/%{srcname}-%{commit}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %description %{summary}. %prep %setup -q -n %{srcname}-%{commit} rm -rf node_modules/ %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} cp -pr package.json main.js %{buildroot}%{nodejs_sitelib}/%{srcname} %nodejs_symlink_deps %files %doc README.md %license LICENSE-MIT %{nodejs_sitelib}/%{srcname} %changelog * Fri Jun 12 2015 Piotr Popieluch - 0.0.3-2 - Update source0 to github to include license * Fri Jan 02 2015 Piotr Popieluch - 0.0.3-1 - Initial package