From fe72ddc8973acb5ed80e566d3b1634a9cfa56fda Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Jan 16 2016 13:03:28 +0000 Subject: Update to 0.3.0 upstream release and enable tests --- diff --git a/.gitignore b/.gitignore index dab243d..e116168 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /promzard-0.2.0.tgz +/promzard-0.3.0.tgz diff --git a/nodejs-promzard.spec b/nodejs-promzard.spec index c738a39..63ad4c6 100644 --- a/nodejs-promzard.spec +++ b/nodejs-promzard.spec @@ -1,47 +1,56 @@ %{?nodejs_find_provides_and_requires} Name: nodejs-promzard -Version: 0.2.0 -Release: 9%{?dist} +Version: 0.3.0 +Release: 1%{?dist} Summary: A prompting wizard for building files from specialized PromZard modules -BuildArch: noarch -ExclusiveArch: %{nodejs_arches} noarch Group: System Environment/Libraries -# license will be included in next upstream release -# # https://raw.github.com/isaacs/promzard/master/LICENSE License: BSD URL: https://github.com/isaacs/promzard -Source0: http://registry.npmjs.org/promzard/-/promzard-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: https://registry.npmjs.org/promzard/-/promzard-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: nodejs-packaging -BuildRequires: nodejs-devel +BuildRequires: npm(tap) +BuildRequires: npm(read) %description A prompting wizard for building files from specialized PromZard modules. The goal is a nice drop-in enhancement for `npm init`. + %prep %setup -q -n package + %build #nothing to do %install -rm -rf %buildroot mkdir -p %{buildroot}%{nodejs_sitelib}/promzard cp -pr package.json promzard.js %{buildroot}%{nodejs_sitelib}/promzard -%clean -rm -rf %buildroot + +%check +%nodejs_symlink_deps --check +%tap test/*.js + %files -%defattr(-,root,root,-) -%{nodejs_sitelib}/promzard %doc example README.md +%license LICENSE +%{nodejs_sitelib}/promzard + %changelog +* Sat Jan 16 2016 Tom Hughes - 0.3.0-1 +- Update to 0.3.0 upstream release +- Enable tests + * Wed Jun 17 2015 Fedora Release Engineering - 0.2.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 2b944d8..9030d98 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -313e53a75fc058a2735dd3d5fc28b15f promzard-0.2.0.tgz +dba9d89bf5865106b6aaa7f786a47489 promzard-0.3.0.tgz