Blame SPECS/nodejs-lodash._createassigner.spec

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