Blame SPECS/nodejs-lodash._isiterateecall.spec

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