Blame SPECS/nodejs-lodash._createassigner.spec

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