Blame SPECS/nodejs-util-deprecate.spec

131dbb
# spec file for package nodejs-nodejs-util-deprecate
131dbb
%{?scl:%scl_package nodejs-nodejs-util-deprecate}
131dbb
%{!?scl:%global pkg_name %{name}}
131dbb
131dbb
%global npm_name util-deprecate
131dbb
%{?nodejs_find_provides_and_requires}
131dbb
131dbb
%global enable_tests 0
131dbb
131dbb
Name:		%{?scl_prefix}nodejs-util-deprecate
131dbb
Version:	1.0.1
131dbb
Release:	1%{?dist}
131dbb
Summary:	The Node.js `util.deprecate()` function with browser support
131dbb
Url:		https://github.com/TooTallNate/util-deprecate
131dbb
Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
131dbb
License:	MIT
131dbb
131dbb
BuildArch:	noarch
131dbb
ExclusiveArch:	%{ix86} x86_64 %{arm}} noarch
131dbb
131dbb
BuildRequires:	%{?scl_prefix}nodejs-devel
131dbb
#BuildRequires:	nodejs-packaging
131dbb
131dbb
%description
131dbb
The Node.js `util.deprecate()` function with browser support
131dbb
131dbb
%prep
131dbb
%setup -q -n package
131dbb
131dbb
%build
131dbb
#nothing to do
131dbb
131dbb
%install
131dbb
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
131dbb
131dbb
cp -pr package.json *.js \
131dbb
	%{buildroot}%{nodejs_sitelib}/%{npm_name}
131dbb
131dbb
%{nodejs_symlink_deps}
131dbb
131dbb
%if 0%{?enable_tests}
131dbb
%check
131dbb
%{nodejs_symlink_deps} --check
131dbb
echo "Error: no test specified" && exit 1
131dbb
%endif
131dbb
131dbb
%files
131dbb
%{nodejs_sitelib}/util-deprecate
131dbb
131dbb
%doc README.md LICENSE
131dbb
131dbb
%changelog
131dbb
* Thu Aug 13 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-1
131dbb
- Initial build