Blame SPECS/nodejs-is-extendable.spec

d55286
%{?scl:%scl_package nodejs-%{npm_name}}
d55286
%{!?scl:%global pkg_name %{name}}
d55286
d55286
%{?nodejs_find_provides_and_requires}
d55286
%global npm_name is-extendable
d55286
d55286
Summary:       Returns true if a value is any of the object types
d55286
Name:          %{?scl_prefix}nodejs-%{npm_name}
d55286
Version:       0.1.1
9bdb39
Release:       5%{?dist}
d55286
License:       MIT
d55286
URL:           https://github.com/jonschlinkert/is-extendable
d55286
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
d55286
BuildRequires: %{?scl_prefix}nodejs-devel
d55286
ExclusiveArch: %{nodejs_arches} noarch
d55286
BuildArch:     noarch
d55286
d55286
%description
d55286
Returns true if a value is any of the object types: array, 
d55286
regexp, plain object, function or date. 
d55286
This is useful for determining if a value can be extended, 
d55286
e.g. "can the value have keys?"
d55286
d55286
%prep
d55286
%setup -q -n package
d55286
d55286
%build
d55286
d55286
%install
d55286
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
d55286
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
d55286
d55286
%nodejs_symlink_deps
d55286
d55286
%files
d55286
%{!?_licensedir:%global license %doc}
d55286
%doc README.md
d55286
%license LICENSE
d55286
%{nodejs_sitelib}/%{npm_name}
d55286
d55286
%changelog
9bdb39
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.1-5
9bdb39
- Resolves: RHBZ#1543198, rebuild for multiarch
9bdb39
d55286
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.1-4
d55286
- Use macro in -runtime dependency
d55286
d55286
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.1-3
d55286
- Rebuilt with updated metapackage
d55286
d55286
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 0.1.1-2
d55286
- Enable scl macros, fix license macro for el6
d55286
d55286
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 0.1.1-1
d55286
- Initial package