Blame SPECS/nodejs-lodash._isiterateecall.spec

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