[rubygem-state_machine] BZ-636902 fixed : did not show as installed with gem list -l

Guillermo Gómez gomix at fedoraproject.org
Thu Sep 23 21:55:55 UTC 2010


commit 97fbb5fbcba233ee2b12a607d842dcbee69ebc05
Author: Guillermo Gomez S. (Gomix) <guillermo.gomez at gmail.com>
Date:   Thu Sep 23 17:24:16 2010 -0430

    BZ-636902 fixed : did not show as installed with gem list -l

 rubygem-state_machine.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-state_machine.spec b/rubygem-state_machine.spec
index 835ce89..a9c1e3d 100644
--- a/rubygem-state_machine.spec
+++ b/rubygem-state_machine.spec
@@ -1,3 +1,4 @@
+%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
 %global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
 %global gemname state_machine
 %global geminstdir %{gemdir}/gems/%{gemname}-%{version}
@@ -5,7 +6,7 @@
 Summary:       Adds support for creating state machines for attributes on any Ruby class
 Name:          rubygem-%{gemname}
 Version:       0.9.4
-Release:       2%{?dist}
+Release:       3%{?dist}
 Group:         Development/Languages
 License:       MIT
 URL:           http://www.pluginaweek.org
@@ -49,6 +50,7 @@ rm -rf %{buildroot}
 %doc %{geminstdir}/LICENSE
 %doc %{geminstdir}/README.rdoc
 %{gemdir}/cache/%{gemname}-%{version}.gem
+%doc %{gemdir}/specifications/%{gemname}-%{version}.gemspec
 
 %files doc
 %defattr(-, root, root, -)
@@ -56,9 +58,11 @@ rm -rf %{buildroot}
 %doc %{geminstdir}/test
 %doc %{gemdir}/doc/%{gemname}-%{version}
 %doc %{geminstdir}/Rakefile
-%doc %{gemdir}/specifications/%{gemname}-%{version}.gemspec
 
 %changelog
+* Thu Sep 23 2010 Guillermo Gomez <gomix at fedoraproject.org> - 0.9.4-3
+- Bug fixed BZ636902
+
 * Sun Aug 15 2010 Guillermo Gómez <gomix at fedoraproject.org> - 0.9.4-2
 - Documentation splitted in -doc subpackage.
 


More information about the scm-commits mailing list