[rubygem-state_machine/f13/master] %check section added

Guillermo Gómez gomix at fedoraproject.org
Thu Feb 3 19:14:54 UTC 2011


commit 48251d59818d7344f2e8536ce1feb01efb367222
Author: Guillermo Gomez S. (Gomix) <guillermo.gomez at gmail.com>
Date:   Thu Feb 3 12:14:33 2011 -0700

    %check section added

 rubygem-state_machine.spec |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-state_machine.spec b/rubygem-state_machine.spec
index a9c1e3d..47a85c3 100644
--- a/rubygem-state_machine.spec
+++ b/rubygem-state_machine.spec
@@ -6,7 +6,7 @@
 Summary:       Adds support for creating state machines for attributes on any Ruby class
 Name:          rubygem-%{gemname}
 Version:       0.9.4
-Release:       3%{?dist}
+Release:       5%{?dist}
 Group:         Development/Languages
 License:       MIT
 URL:           http://www.pluginaweek.org
@@ -26,7 +26,9 @@ Adds support for creating state machines for attributes on any Ruby class
 %build
 
 %package doc
-Summary:       Documentation files, rdoc, ri, examples and tests
+Summary: Documentation files, rdoc, ri, examples and tests
+Group: Documentation
+
 
 %description doc
 Documentation files for state_machine, includes RDoc, ri, tests,
@@ -38,6 +40,11 @@ mkdir -p %{buildroot}%{gemdir}
 gem install --local --install-dir %{buildroot}%{gemdir} \
             --force --rdoc %{SOURCE0}
 
+%check
+cd %{buildroot}%{gemdir}/gems/%{gemname}-%{version}
+echo "Running tests"
+rake
+
 %clean
 rm -rf %{buildroot}
 
@@ -60,6 +67,12 @@ rm -rf %{buildroot}
 %doc %{geminstdir}/Rakefile
 
 %changelog
+* Thu Feb 03 2011 Guillermo Gomez <gomix at fedoraproject.org> - 0.9.4-5
+- %check section added
+
+* Mon Oct 25 2010 Guillermo Gomez <gomix at fedoraproject.org> - 0.9.4-4
+- Group Documentation for -doc subpackage
+
 * Thu Sep 23 2010 Guillermo Gomez <gomix at fedoraproject.org> - 0.9.4-3
 - Bug fixed BZ636902
 


More information about the scm-commits mailing list