Blame SPECS/nodejs-lodash._bindcallback.spec

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