Blame SPECS/nodejs-are-we-there-yet.spec

01b8f4
%{?scl:%scl_package nodejs-are-we-there-yet}
01b8f4
%{!?scl:%global pkg_name %{name}}
01b8f4
01b8f4
# spec file for package nodejs-nodejs-are-we-there-yet
01b8f4
01b8f4
%global npm_name are-we-there-yet
01b8f4
%{?nodejs_find_provides_and_requires}
01b8f4
01b8f4
%global enable_tests 0
01b8f4
01b8f4
Name:		%{?scl_prefix}nodejs-are-we-there-yet
01b8f4
Version:	1.1.2
ee73ea
Release:	2%{?dist}
01b8f4
Summary:	Keep track of the overall completion of many dispirate processes
01b8f4
Url:		https://github.com/iarna/are-we-there-yet
01b8f4
Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
01b8f4
License:	ISC
01b8f4
01b8f4
BuildArch:	noarch
01b8f4
01b8f4
%if 0%{?fedora} >= 19
01b8f4
ExclusiveArch: %{nodejs_arches} noarch
01b8f4
%else
ee73ea
ExclusiveArch: %{nodejs_arches} noarch
01b8f4
%endif
01b8f4
01b8f4
BuildRequires:  %{?scl_prefix}nodejs-devel
01b8f4
BuildRequires:  %{?scl_prefix}runtime
01b8f4
01b8f4
%if 0%{?enable_tests}
01b8f4
BuildRequires:	%{?scl_prefix}npm(tap)
01b8f4
BuildRequires:  %{?scl_prefix}npm(standard)
01b8f4
%endif
01b8f4
01b8f4
%description
01b8f4
Keep track of the overall completion of many dispirate processes
01b8f4
01b8f4
%prep
01b8f4
%setup -q -n package
01b8f4
01b8f4
%build
01b8f4
01b8f4
%install
01b8f4
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
01b8f4
01b8f4
cp -pr package.json *.js \
01b8f4
%{buildroot}%{nodejs_sitelib}/%{npm_name}
01b8f4
01b8f4
%{nodejs_symlink_deps}
01b8f4
01b8f4
%if 0%{?enable_tests}
01b8f4
%check
01b8f4
%{nodejs_symlink_deps} --check
01b8f4
standard && tap test/*.js
01b8f4
%endif
01b8f4
01b8f4
%files
01b8f4
%{nodejs_sitelib}/are-we-there-yet
01b8f4
01b8f4
%doc README.md LICENSE
01b8f4
01b8f4
%changelog
ee73ea
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.2-2
ee73ea
- Resolves: RHBZ#1543198, rebuild for multiarch
ee73ea
01b8f4
* Tue Sep 06 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.2-1
01b8f4
- Update
01b8f4
01b8f4
* Thu Jun 09 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.6-2
01b8f4
- Resolves: rhbz#1334856 , fixes wrong license, update
01b8f4
01b8f4
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.4-4
01b8f4
- Add %%nodejs_fixdep macro
01b8f4
01b8f4
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.4-3
01b8f4
- rebuilt
01b8f4
01b8f4
* Sat Feb 13 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.4-2
01b8f4
- Remove unnecessary file
01b8f4
01b8f4
* Tue Dec 01 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.4-1
01b8f4
- Initial build