[rubygem-state_machine/el6/master] Updated spec to sync with current version in epel5

Guillermo Gómez gomix at fedoraproject.org
Tue Feb 15 20:58:45 UTC 2011


commit 0fa6884e3103ba2e5c812170e592ac3036d4e0a9
Author: Guillermo Gomez S. (Gomix) <guillermo.gomez at gmail.com>
Date:   Tue Feb 15 16:27:08 2011 -0430

    Updated spec to sync with current version in epel5

 rubygem-state_machine.spec |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/rubygem-state_machine.spec b/rubygem-state_machine.spec
index a9c1e3d..2be4889 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:       6%{?dist}
 Group:         Development/Languages
 License:       MIT
 URL:           http://www.pluginaweek.org
@@ -14,7 +14,7 @@ Source0:       http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:      ruby(abi) = 1.8
 Requires:      rubygems
-BuildRequires: rubygems
+BuildRequires: rubygems, rubygem-rake
 BuildArch:     noarch
 Provides:      rubygem(%{gemname}) = %{version}
 
@@ -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,15 @@ rm -rf %{buildroot}
 %doc %{geminstdir}/Rakefile
 
 %changelog
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.4-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* 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