Blame SPECS/nodejs-lodash._createset.spec

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