Blame SPECS/nodejs-lodash._createcache.spec

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