Blame SPECS/nodejs-lodash._baseindexof.spec

190875
%{?scl:%scl_package nodejs-lodash._baseindexof}
190875
%{!?scl:%global pkg_name %{name}}
190875
%{?nodejs_find_provides_and_requires}
190875
190875
%global enable_tests 0
190875
%global npm_name lodash._baseindexof
190875
190875
Name:       %{?scl_prefix}nodejs-%{npm_name}
190875
Version:    3.1.0
190875
Release:    2%{?dist}
190875
Summary:    The modern build of lodash’s internal `baseIndexOf` as a module
190875
License:    MIT
190875
URL:        https://lodash.com/
190875
Source0:    http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
190875
BuildRequires: %{?scl_prefix}nodejs-devel
190875
BuildArch:  noarch
190875
ExclusiveArch: %{nodejs_arches} noarch
190875
190875
%description
190875
The modern build of lodash’s internal `baseIndexOf` as a module.
190875
190875
%prep
190875
%setup -q -n package
190875
190875
rm -rf node_modules
190875
190875
%build
190875
190875
%install
190875
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
190875
cp -pfr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
190875
# If any binaries are included, symlink them to bindir here
190875
190875
190875
%nodejs_symlink_deps
190875
190875
%if 0%{?enable_tests}
190875
%check
190875
#not running tests in RHSCL
190875
%endif
190875
190875
%files
190875
%{nodejs_sitelib}/%{npm_name}
190875
190875
%doc LICENSE.txt
190875
%doc README.md
190875
190875
%changelog
190875
* Tue Sep 20 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.1.0-2
190875
- Initial build
190875