Blame SPECS/nodejs-lodash.without.spec

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