Blame SPECS/nodejs-dezalgo.spec

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