Blame SPECS/nodejs-dezalgo.spec

394183
%{?scl:%scl_package nodejs-dezalgo}
394183
%{!?scl:%global pkg_name %{name}}
394183
394183
# spec file for package nodejs-nodejs-dezalgo
394183
394183
%global npm_name dezalgo
394183
%{?nodejs_find_provides_and_requires}
394183
394183
%global enable_tests 0
394183
394183
Name:		%{?scl_prefix}nodejs-dezalgo
394183
Version:	1.0.2
394183
Release:	3%{?dist}
394183
Summary:	Contain async insanity so that the dark pony lord doesn't eat souls
394183
Url:		https://github.com/npm/dezalgo
394183
Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
394183
License:	ISC
394183
394183
BuildArch:	noarch
394183
ExclusiveArch:	%{nodejs_arches} noarch
394183
394183
BuildRequires:	%{?scl_prefix}nodejs-devel
394183
394183
%if 0%{?enable_tests}
394183
BuildRequires: %{?scl_prefix}npm(tap)
394183
%endif
394183
394183
Requires: %{?scl_prefix}npm(asap)
394183
Requires: %{?scl_prefix}npm(wrappy)
394183
394183
%description
394183
Contain async insanity so that the dark pony lord doesn't eat souls
394183
394183
%prep
394183
%setup -q -n package
394183
394183
%build
394183
#nothing to do
394183
394183
%install
394183
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
394183
394183
cp -pr package.json dezalgo.js \
394183
	%{buildroot}%{nodejs_sitelib}/%{npm_name}
394183
394183
%{nodejs_symlink_deps}
394183
394183
%if 0%{?enable_tests}
394183
394183
%check
394183
%{nodejs_symlink_deps} --check
394183
tap test/*.js
394183
%endif
394183
394183
%files
394183
%{nodejs_sitelib}/dezalgo
394183
394183
%doc README.md
394183
%doc LICENSE
394183
394183
%changelog
394183
* Thu Nov 26 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.2-3
394183
- Enable scl macros
394183
394183
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
394183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
394183
394183
* Mon May 25 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.2-1
394183
- New upstream release
394183
- removed unnecessary %%buildroot from %%install and %%clean
394183
- added %%license
394183
394183
* Wed May 13 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-1
394183
- Initial build