[nodejs-abbrev] Run unit tests as part of build
T.C. Hollingsworth
patches at fedoraproject.org
Fri May 3 14:08:29 UTC 2013
commit 88a2ceaad27a790691a41391d9f23b456e27b398
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date: Fri May 3 14:02:57 2013 +0200
Run unit tests as part of build
nodejs-abbrev.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-abbrev.spec b/nodejs-abbrev.spec
index 7fc8452..3e54b37 100644
--- a/nodejs-abbrev.spec
+++ b/nodejs-abbrev.spec
@@ -2,7 +2,7 @@
Name: nodejs-abbrev
Version: 1.0.4
-Release: 4%{?dist}
+Release: 5%{?dist}
Group: Development/Libraries
Summary: Abbreviation calculator for Node.js
License: MIT
@@ -33,12 +33,18 @@ cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/abbrev
%clean
rm -rf %{buildroot}
+%check
+node lib/abbrev.js
+
%files
%defattr(-,root,root,-)
%{nodejs_sitelib}/abbrev
%doc README.md LICENSE
%changelog
+* Fri May 03 2013 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.0.4-5
+- Run unit tests as part of build
+
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.4-4
- add macro for EPEL6 dependency generation
More information about the scm-commits
mailing list