Blame SPECS/nodejs-lodash._bindcallback.spec

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