From c995238c4f4e7ae331c9cfcfd7abe88f9ddd1ca7 Mon Sep 17 00:00:00 2001 From: Piotr Popieluch Date: Feb 07 2016 16:34:38 +0000 Subject: Cleanup spec - Enable checks --- diff --git a/nodejs-block-stream.spec b/nodejs-block-stream.spec index e7bb622..bb3ba53 100644 --- a/nodejs-block-stream.spec +++ b/nodejs-block-stream.spec @@ -2,17 +2,16 @@ Name: nodejs-block-stream Version: 0.0.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A stream of blocks License: BSD -Group: Development/Libraries URL: https://github.com/isaacs/block-stream -Source0: http://registry.npmjs.org/block-stream/-/block-stream-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: https://registry.npmjs.org/block-stream/-/block-stream-%{version}.tgz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch -BuildRequires: nodejs-devel +BuildRequires: nodejs-packaging +BuildRequires: nodejs-tap %description Write data into it, and it'll output data in buffer blocks the size you @@ -25,26 +24,26 @@ specify, padding with zeroes if necessary. #nothing to do %install -rm -rf %{buildroot} - mkdir -p %{buildroot}%{nodejs_sitelib}/block-stream cp -pr block-stream.js package.json %{buildroot}%{nodejs_sitelib}/block-stream %nodejs_symlink_deps # tests disabled until tap is packaged -#%%check -#%%tap test/ - -%clean -rm -rf %{buildroot} +%check +%nodejs_symlink_deps --check +tap test/ %files -%defattr(-,root,root,-) %{nodejs_sitelib}/block-stream -%doc README.md LICENCE +%doc README.md +%license LICENCE %changelog +* Sun Feb 07 2016 Piotr Popieluch - 0.0.7-5 +- Cleanup spec +- Enable checks + * Thu Feb 04 2016 Fedora Release Engineering - 0.0.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild @@ -86,5 +85,5 @@ rm -rf %{buildroot} * Sat Feb 25 2012 T.C. Hollingsworth - 0.0.5-1 - new upstream release 0.0.5 -* Sat Jan 21 2011 T.C. Hollingsworth - 0.0.4-1 +* Fri Jan 21 2011 T.C. Hollingsworth - 0.0.4-1 - initial package