Blame SPECS/nodejs-lodash._getnative.spec

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