Blame SPECS/nodejs-for-in.spec

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