Blame SPECS/nodejs-lodash.clonedeep.spec

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