[rubygem-gettext] Make test failure conditional

Mamoru Tasaka mtasaka at fedoraproject.org
Fri Oct 11 03:40:42 UTC 2013


commit 45256ecb24eaac618524fc4a18632861ca80c423
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date:   Fri Oct 11 12:40:33 2013 +0900

    Make test failure conditional

 rubygem-gettext.spec |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/rubygem-gettext.spec b/rubygem-gettext.spec
index 4216b92..1d69517 100644
--- a/rubygem-gettext.spec
+++ b/rubygem-gettext.spec
@@ -10,7 +10,7 @@
 
 Name:		rubygem-%{gem_name}
 Version:	3.0.2
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	RubyGem of Localization Library and Tools for Ruby
 Group:		Development/Languages
 
@@ -139,14 +139,12 @@ rm -f %{buildroot}%{gem_instdir}/.yardopts
 %check
 pushd .%{gem_instdir}
 export LANG=ja_JP.UTF-8
-# Currently test fails on koji rawhide (F-21), however
-# local mockbuild succeeds (with "local" repo enabled, so
-# the rpms in buildroot should be the same, weird....
-#
 # Looks like test fails only on arm...
 ruby -Ilib:test test/run-test.rb \
-%if 0%{?fedora} >= 21
-	|| echo "Need investigating"
+%if %{_arch} == x86_64 || %{_arch} == i686
+	%{nil}
+%else
+	|| echo "Needs investigating
 %endif
 
 popd
@@ -177,6 +175,9 @@ popd
 %exclude	%{gem_instdir}/src/
 
 %changelog
+* Fri Oct 10 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 3.0.2-3
+- Make test failure conditional
+
 * Thu Oct 10 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 3.0.2-2
 - F-21: rescue test failure for now
 


More information about the scm-commits mailing list