[rubygem-locale] fix conditional

Mamoru Tasaka mtasaka at fedoraproject.org
Fri Oct 11 06:49:32 UTC 2013


commit de13d3ef1fde6cf9fc27683f799f2c2b081532d8
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date:   Fri Oct 11 15:49:21 2013 +0900

    fix conditional

 rubygem-locale.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/rubygem-locale.spec b/rubygem-locale.spec
index a0e0d0a..e3a6d45 100644
--- a/rubygem-locale.spec
+++ b/rubygem-locale.spec
@@ -17,7 +17,7 @@
 Summary:	Pure ruby library which provides basic APIs for localization
 Name:		rubygem-%{gem_name}
 Version:	2.0.9
-Release:	2%{?dist}
+Release:	3%{?dist}
 Group:		Development/Languages
 License:	GPLv2 or Ruby
 URL:		http://locale.rubyforge.org/
@@ -154,7 +154,7 @@ pushd .%{gem_instdir}
 #rake test
 # test/test_detect_cgi.rb needs test-unit-rr
 ruby -Ilib:test:. -e 'require "test-unit" ; require "test/unit/rr" ; Dir.glob("test/test_*.rb").each {|f| require f}' \
-%if %{_arch} == x86_64 || %{_arch} == i686
+%if "0%{?_arch}" == "0x86_64" || "0%{?_arch}" == "0i686"
 	%{nil}
 %else
 	|| echo "Needs investigating"
@@ -192,7 +192,7 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
-* Fri Oct 11 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 2.0.9-2
+* Fri Oct 11 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 2.0.9-3
 - Do test suite in cleaner way
 
 * Thu Sep 26 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 2.0.9-1


More information about the scm-commits mailing list