Blame SPECS/nodejs-for-in.spec

8f69d5
%{?scl:%scl_package nodejs-%{npm_name}}
8f69d5
%{!?scl:%global pkg_name %{name}}
8f69d5
8f69d5
%{?nodejs_find_provides_and_requires}
8f69d5
%global npm_name for-in
8f69d5
8f69d5
Summary:       Iterate over the own and inherited enumerable properties of an objects
8f69d5
Name:          %{?scl_prefix}nodejs-%{npm_name}
8f69d5
Version:       0.1.4
8f69d5
Release:       2%{?dist}
8f69d5
License:       MIT
8f69d5
URL:           https://github.com/jonschlinkert/for-in
8f69d5
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
8f69d5
BuildRequires: nodejs010-runtime
8f69d5
ExclusiveArch: %{nodejs_arches} noarch
8f69d5
BuildArch:     noarch
8f69d5
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
8f69d5
8f69d5
%description
8f69d5
Iterate over the own and inherited enumerable properties of an object, 
8f69d5
and return an object with properties that evaluate to true from the 
8f69d5
callback. Exit early by returning false.
8f69d5
8f69d5
%prep
8f69d5
%setup -q -n package
8f69d5
8f69d5
%build
8f69d5
8f69d5
%install
8f69d5
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
8f69d5
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
8f69d5
8f69d5
%nodejs_symlink_deps
8f69d5
8f69d5
%files
8f69d5
%{!?_licensedir:%global license %doc}
8f69d5
%doc README.md
8f69d5
%license LICENSE
8f69d5
%{nodejs_sitelib}/%{npm_name}
8f69d5
8f69d5
%changelog
8f69d5
* Wed Jan 13 2016 Tomas Hrcka <thrcka@redhat.com> - 0.1.4-2
8f69d5
- Enable scl macros
8f69d5
8f69d5
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 0.1.4-1
8f69d5
- Initial package