Blame SPECS/nodejs-util-deprecate.spec

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