Blame SPECS/nodejs-lodash._basecopy.spec

c781d8
%{?scl:%scl_package nodejs-lodash._basecopy}
c781d8
%{!?scl:%global pkg_name %{name}}
c781d8
c781d8
# spec file for package nodejs-nodejs-lodash._basecopy
c781d8
c781d8
%global npm_name lodash._basecopy
c781d8
%{?nodejs_find_provides_and_requires}
c781d8
c781d8
%global enable_tests 0
c781d8
c781d8
Name:		%{?scl_prefix}nodejs-lodash._basecopy
c781d8
Version:	3.0.1
c781d8
Release:	4%{?dist}
c781d8
Summary:	The modern build of lodash’s internal `baseCopy` as a module.
c781d8
Url:		https://lodash.com/
c781d8
Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
c781d8
License:	MIT
c781d8
c781d8
BuildArch:	noarch
c781d8
c781d8
%if 0%{?fedora} >= 19
c781d8
ExclusiveArch: %{nodejs_arches} noarch
c781d8
%else
c781d8
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
c781d8
%endif
c781d8
c781d8
BuildRequires:  %{?scl_prefix}runtime
c781d8
BuildRequires:  %{?scl_prefix}nodejs-devel
c781d8
c781d8
%if 0%{?enable_tests}
c781d8
%endif
c781d8
c781d8
%description
c781d8
The modern build of lodash’s internal `baseCopy` as a module.
c781d8
c781d8
%prep
c781d8
%setup -q -n package
c781d8
c781d8
rm -rf node_modules
c781d8
c781d8
%build
c781d8
c781d8
%install
c781d8
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
c781d8
c781d8
cp -pr package.json *.js \
c781d8
%{buildroot}%{nodejs_sitelib}/%{npm_name}
c781d8
c781d8
%{nodejs_symlink_deps}
c781d8
c781d8
%if 0%{?enable_tests}
c781d8
c781d8
%check
c781d8
%{nodejs_symlink_deps} --check
c781d8
c781d8
%endif
c781d8
c781d8
%files
c781d8
%{!?_licensedir:%global license %doc}
c781d8
%{nodejs_sitelib}/lodash._basecopy
c781d8
%doc README.md
c781d8
%license LICENSE.txt
c781d8
c781d8
%changelog
c781d8
* Mon Jul 03 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.0.1-4
c781d8
- rh-nodejs8 rebuild
c781d8
c781d8
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.0.1-3
c781d8
- Use macro in -runtime dependency
c781d8
c781d8
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.0.1-2
c781d8
- Rebuilt with updated metapackage
c781d8
c781d8
* Fri Jan 15 2016 Tomas Hrcka <thrcka@redhat.com> - 3.0.1-1
c781d8
- Initial build