Blame SPECS/nodejs-lodash.union.spec

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