Blame SPECS/nodejs-dezalgo.spec

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