Blame SPECS/nodejs-lodash._getnative.spec

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