Blame SPECS/nodejs-lodash._isiterateecall.spec

f6b34c
%{?scl:%scl_package nodejs-lodash._isiterateecall}
f6b34c
%{!?scl:%global pkg_name %{name}}
f6b34c
f6b34c
# spec file for package nodejs-nodejs-lodash._isiterateecall
f6b34c
f6b34c
%global npm_name lodash._isiterateecall
f6b34c
%{?nodejs_find_provides_and_requires}
f6b34c
f6b34c
%global enable_tests 0
f6b34c
f6b34c
Name:		%{?scl_prefix}nodejs-lodash._isiterateecall
f6b34c
Version:	3.0.9
f6b34c
Release:	2%{?dist}
f6b34c
Summary:	The modern build of lodash’s internal `isIterateeCall` as a module.
f6b34c
Url:		https://lodash.com/
f6b34c
Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
f6b34c
License:	MIT
f6b34c
f6b34c
BuildArch:	noarch
f6b34c
f6b34c
%if 0%{?fedora} >= 19
f6b34c
ExclusiveArch: %{nodejs_arches} noarch
f6b34c
%else
f6b34c
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
f6b34c
%endif
f6b34c
f6b34c
BuildRequires:  %{?scl_prefix}nodejs-devel
f6b34c
BuildRequires:  %{?scl_prefix}runtime
f6b34c
f6b34c
%if 0%{?enable_tests}
f6b34c
%endif
f6b34c
f6b34c
%description
f6b34c
The modern build of lodash’s internal `isIterateeCall` as a module.
f6b34c
f6b34c
%prep
f6b34c
%setup -q -n package
f6b34c
f6b34c
rm -rf node_modules
f6b34c
f6b34c
%build
f6b34c
f6b34c
%install
f6b34c
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
f6b34c
f6b34c
cp -pr package.json *.js \
f6b34c
%{buildroot}%{nodejs_sitelib}/%{npm_name}
f6b34c
f6b34c
%{nodejs_symlink_deps}
f6b34c
f6b34c
%if 0%{?enable_tests}
f6b34c
f6b34c
%check
f6b34c
%{nodejs_symlink_deps} --check
f6b34c
f6b34c
%endif
f6b34c
f6b34c
%files
f6b34c
%{!?_licensedir:%global license %doc}
f6b34c
%{nodejs_sitelib}/lodash._isiterateecall
f6b34c
f6b34c
%doc README.md
f6b34c
%license LICENSE.txt
f6b34c
f6b34c
%changelog
f6b34c
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.0.9-2
f6b34c
- rebuilt
f6b34c
f6b34c
* Thu Jan 14 2016 Tomas Hrcka <thrcka@redhat.com> - 3.0.9-1
f6b34c
- Initial build