[rubygem-gettext] Fix test case

Mamoru Tasaka mtasaka at fedoraproject.org
Mon Apr 9 09:04:47 UTC 2012


commit 4342d93cc04307fc796661a95fe2ab630cad0454
Author: Mamoru TASAKA <mtasaka at localhost.localdomain>
Date:   Mon Apr 9 18:04:40 2012 +0900

    Fix test case

 rubygem-gettext.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-gettext.spec b/rubygem-gettext.spec
index cd9d81d..5f5aef2 100644
--- a/rubygem-gettext.spec
+++ b/rubygem-gettext.spec
@@ -15,7 +15,7 @@
 
 Name:		rubygem-%{gem_name}
 Version:	2.2.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	RubyGem of Localization Library and Tools for Ruby
 Group:		Development/Languages
 
@@ -206,7 +206,11 @@ done
 %check
 pushd .%{gem_instdir}
 export RUBYLIB=$(pwd)/lib:$(pwd)/test
-ruby test/test_*.rb
+cd test
+for f in test_*.rb */test_*.rb
+do
+  ruby $f || exit 1
+done
 %endif
 
 %clean
@@ -244,6 +248,9 @@ ruby test/test_*.rb
 
 
 %changelog
+* Mon Apr  7 2012 Mamoru Tasaka <mtasaka at fedoraproject.org> - 2.2.0-2
+- Fix test case
+
 * Mon Apr  7 2012 Mamoru Tasaka <mtasaka at fedoraproject.org> - 2.2.0-1
 - 2.2.0
 


More information about the scm-commits mailing list