Blame SPECS/nodejs-util-deprecate.spec

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