Blame nodejs-console-browserify.spec

2005720
%global enable_tests 1
2005720
%global srcname console-browserify
2005720
2005720
Name:           nodejs-%{srcname}
2005720
Version:        1.1.0
6615c06
Release:        3%{?dist}
2005720
Summary:        Emulate console for all the browsers
2005720
License:        MIT
2005720
Group:          System Environment/Libraries
2005720
URL:            https://github.com/Raynos/%{srcname}
2005720
Source0:        http://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz
2005720
2005720
BuildArch:      noarch
2005720
ExclusiveArch:  %{nodejs_arches} noarch
2005720
2005720
BuildRequires:  nodejs-packaging
2005720
2005720
%if 0%{?enable_tests}
2005720
BuildRequires:  npm(date-now)
2005720
BuildRequires:  npm(tape)
2005720
%endif
2005720
2005720
2005720
%description
2005720
%{summary}.
2005720
2005720
2005720
%prep
2005720
%setup -q -n package
2005720
%nodejs_fixdep date-now '^1.0.1'
2005720
2005720
2005720
%build
2005720
#nothing to do
2005720
2005720
2005720
%install
2005720
mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
2005720
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{srcname}
2005720
2005720
%nodejs_symlink_deps
2005720
2005720
2005720
%if 0%{?enable_tests}
2005720
%check
2005720
%nodejs_symlink_deps --check
2005720
node ./test/index.js
2005720
%endif
2005720
2005720
2005720
%files
2005720
%doc README.md LICENCE
2005720
%{nodejs_sitelib}/%{srcname}
2005720
2005720
2005720
%changelog
6615c06
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
6615c06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6615c06
c100371
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
c100371
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c100371
2005720
* Sun Nov 23 2014 Piotr Popieluch <piotr1212@gmail.com> - 1.1.0-1
2005720
- Initial package