diff -ruN rpmbuild.old/SPECS/ruby.spec rpmbuild/SPECS/ruby.spec
--- rpmbuild.old/SPECS/ruby.spec	2013-11-23 20:52:02.000000000 +0000
+++ rpmbuild/SPECS/ruby.spec	2014-02-22 11:28:22.000000000 +0000
@@ -18,7 +18,7 @@
 
 Name:		ruby
 Version:	%{rubyver}%{?dotpatchlevel}
-Release:	13%{?dist}
+Release:	13%{?dist}.0
 License:	Ruby or GPLv2
 URL:		http://www.ruby-lang.org/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -304,7 +304,9 @@
 %configure \
   --with-default-kcode=none \
   --enable-shared \
+%ifnarch %{arm}
   --enable-pthread \
+%endif
   --disable-rpath \
 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
   --with-readline-include=%{_includedir}/readline5 \
@@ -454,6 +456,9 @@
 make -C $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{arcver} \
   DESTDIR=$RPM_BUILD_ROOT \
   install
+%ifarch %{arm}
+  mv $RPM_BUILD_ROOT/%{ruby_vendorarch}/%{rubyxver}/%{_normalized_cpu}-%{_target_os}-eabi $RPM_BUILD_ROOT/%{ruby_vendorarch}/%{rubyxver}/%{_normalized_cpu}-%{_target_os}
+%endif
 
 # generate ri doc
 rubybuilddir=$RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{arcver}
@@ -683,6 +688,10 @@
 %doc tmp-ruby-docs/ruby-libs/*
 
 %changelog
+* Fri Feb 21 2014 Gordan Bobic <gordan@redsleeve.org> - 1.8.7-352-13
+- Disable pthread on ARM because tcl/tk defaults to no threading on ARM
+- Fix linux vs linux-eabi disagreement for library paths
+
 * Fri Nov 22 2013 Vít Ondruch <vondruch@redhat.com> - 1.8.7.352-13
 - Workaround build issues against OpenSSL with enabled ECC curves.
 - Make DRb compatible with OpenSSL 1.0.1.
