commit b319e683fec34bbb9a43c86c82c11b04207427b7
Author: Dominic Cleal <dcleal@redhat.com>
Date:   Fri Aug 21 11:11:12 2015 +0100

    Converted spec files

diff --git a/facter/facter.spec b/facter/facter.spec
index 03e8c2904..33c310803 100644
--- a/facter/facter.spec
+++ b/facter/facter.spec
@@ -29,13 +29,13 @@ Source1:        https://downloads.puppetlabs.com/%{pkg_name}/%{pkg_name}-%{versi
 BuildRoot:      %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # Upstream claims to only support 1.8.7 and higher
-BuildRequires:  %{?scl_prefix}ruby >= 1.8.7
-BuildRequires:  %{?scl_prefix}ruby-devel
+BuildRequires:  %{?scl_prefix_ruby}ruby >= 1.8.7
+BuildRequires:  %{?scl_prefix_ruby}ruby-devel
 %if %{enable_check}
 BuildRequires:  net-tools
-BuildRequires:  %{?scl_prefix}rubygem(mocha)
-BuildRequires:  %{?scl_prefix}rubygem(rspec-core)
-BuildRequires:  %{?scl_prefix}rubygem(rspec)
+BuildRequires:  %{?scl_prefix_ruby}rubygem(mocha)
+BuildRequires:  %{?scl_prefix_ruby}rubygem(rspec-core)
+BuildRequires:  %{?scl_prefix_ruby}rubygem(rspec)
 %endif
 
 # dmidecode and pciutils are not available on all arches
@@ -48,12 +48,13 @@ Requires:       net-tools
 # Work around the lack of ruby in the default mock buildroot
 %if "%{ruby_version}"
 %if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
-Requires:       %{?scl_prefix}ruby(release)
+Requires:       %{?scl_prefix_ruby}ruby(release)
 %else
-Requires:       %{?scl_prefix}ruby(abi) = %{ruby_version}
+Requires:       %{?scl_prefix_ruby}ruby(abi) = %{ruby_version}
 %endif
 %endif
 Requires:       which
+%{?scl:Obsoletes: ruby193-facter}
 
 %description
 Facter is a lightweight program that gathers basic node information about the
diff --git a/foreman-installer/foreman-installer.spec b/foreman-installer/foreman-installer.spec
index af9827011..e770558c8 100644
--- a/foreman-installer/foreman-installer.spec
+++ b/foreman-installer/foreman-installer.spec
@@ -29,9 +29,9 @@ Requires:   %{?scl_prefix}rubygem-apipie-bindings >= 0.0.6
 Requires:   foreman-selinux
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires:   %{?scl_prefix}ruby(abi)
+Requires:   %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires:   %{?scl_prefix}ruby(release)
+Requires:   %{?scl_prefix_ruby}ruby(release)
 %endif
 Requires:   %{?scl_prefix}rubygem-highline
 
diff --git a/foreman-proxy/foreman-proxy.spec b/foreman-proxy/foreman-proxy.spec
index d7d343a82..17770dd5f 100644
--- a/foreman-proxy/foreman-proxy.spec
+++ b/foreman-proxy/foreman-proxy.spec
@@ -35,22 +35,22 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  /usr/bin/rename
 BuildRequires:  asciidoc
-BuildRequires:  %{?scl_prefix}rubygem(rake) >= 0.8.3
+BuildRequires:  %{?scl_prefix_ruby}rubygem(rake) >= 0.8.3
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-BuildRequires: %{?scl_prefix}ruby(abi)
-Requires:      %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
+Requires:      %{?scl_prefix_ruby}ruby(abi)
 %else
-BuildRequires: %{?scl_prefix}ruby(release)
-Requires:      %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
+Requires:      %{?scl_prefix_ruby}ruby(release)
 %endif
 
 Requires:       foreman-debug
-Requires:       %{?scl_prefix}rubygems
-Requires:       %{?scl_prefix}rubygem(rake) >= 0.8.3
-Requires:       %{?scl_prefix}rubygem(sinatra)
-Requires:       %{?scl_prefix}rubygem(rack) >= 1.1.0
-Requires:       %{?scl_prefix}rubygem(json)
+Requires:       %{?scl_prefix_ruby}rubygems
+Requires:       %{?scl_prefix_ruby}rubygem(rake) >= 0.8.3
+Requires:       %{?scl_prefix_ruby}rubygem(sinatra)
+Requires:       %{?scl_prefix_ruby}rubygem(rack) >= 1.1.0
+Requires:       %{?scl_prefix_ruby}rubygem(json)
 Requires:       %{?scl_prefix}rubygem(rkerberos)
 Requires:       %{?scl_prefix}rubygem(rubyipmi) >= 0.9.2
 Requires:       %{?scl_prefix}rubygem(gssapi)
diff --git a/foreman/foreman.spec b/foreman/foreman.spec
index 57df0b6fd..4594e29d0 100644
--- a/foreman/foreman.spec
+++ b/foreman/foreman.spec
@@ -38,18 +38,18 @@ Source8: %{name}.gpg
 BuildArch:  noarch
 
 %if 0%{?fedora} && 0%{?fedora} < 17
-Requires: %{?scl_prefix}ruby(abi) = 1.8
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.8
 %else
 %if 0%{?fedora} && 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
 %endif
 Requires: %{scl_ruby}
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}facter
-Requires: %{?scl_prefix}rubygem(rake) >= 0.8.3
+Requires: %{?scl_prefix_ruby}rubygem(rake) >= 0.8.3
 Requires: %{?scl_prefix}rubygem(bundler_ext)
 
 Requires: wget
@@ -64,12 +64,12 @@ Requires(postun): initscripts
 Requires: %{name}-debug
 
 # Gemfile
-Requires: %{?scl_prefix}rubygem(rails) >= 3.2.8
-Requires: %{?scl_prefix}rubygem(rails) < 3.3.0
+Requires: %{?scl_prefix_ruby}rubygem(rails) >= 3.2.8
+Requires: %{?scl_prefix_ruby}rubygem(rails) < 3.3.0
 # minitest - workaround as rubygem-activesupport is missing dep
-Requires: %{?scl_prefix}rubygem(minitest)
-Requires: %{?scl_prefix}rubygem(json) >= 1.5
-Requires: %{?scl_prefix}rubygem(json) < 2.0
+Requires: %{?scl_prefix_ruby}rubygem(minitest)
+Requires: %{?scl_prefix_ruby}rubygem(json) >= 1.5
+Requires: %{?scl_prefix_ruby}rubygem(json) < 2.0
 Requires: %{?scl_prefix}rubygem(rest-client) >= 1.6
 Requires: %{?scl_prefix}rubygem(rest-client) < 1.7
 Requires: %{?scl_prefix}rubygem(audited-activerecord) = 3.0.0
@@ -117,18 +117,18 @@ Requires: %{?scl_prefix}rubygem(rack-jsonp)
 BuildRequires: gettext
 BuildRequires: asciidoc
 BuildRequires: %{scl_ruby}
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildRequires: %{?scl_prefix}facter
-BuildRequires: %{?scl_prefix}rubygem(rake) >= 0.8.3
+BuildRequires: %{?scl_prefix_ruby}rubygem(rake) >= 0.8.3
 BuildRequires: %{?scl_prefix}rubygem(bundler_ext)
-BuildRequires: %{?scl_prefix}rubygem(sqlite3)
+BuildRequires: %{?scl_prefix_ruby}rubygem(sqlite3)
 # Gemfile
-BuildRequires: %{?scl_prefix}rubygem(rails) >= 3.2.8
-BuildRequires: %{?scl_prefix}rubygem(rails) < 3.3.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(rails) >= 3.2.8
+BuildRequires: %{?scl_prefix_ruby}rubygem(rails) < 3.3.0
 # minitest - workaround as rubygem-activesupport is missing dep
-BuildRequires: %{?scl_prefix}rubygem(minitest)
-BuildRequires: %{?scl_prefix}rubygem(json) >= 1.5
-BuildRequires: %{?scl_prefix}rubygem(json) < 2.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(json) >= 1.5
+BuildRequires: %{?scl_prefix_ruby}rubygem(json) < 2.0
 BuildRequires: %{?scl_prefix}rubygem(rest-client) >= 1.6
 BuildRequires: %{?scl_prefix}rubygem(rest-client) < 1.7
 BuildRequires: %{?scl_prefix}rubygem(audited-activerecord) = 3.0.0
@@ -170,15 +170,15 @@ BuildRequires: %{?scl_prefix}rubygem(turbolinks) < 3.0
 BuildRequires: %{?scl_prefix}rubygem(logging) >= 1.8
 BuildRequires: %{?scl_prefix}rubygem(logging) < 3.0
 # assets
-BuildRequires: %{?scl_prefix}rubygem(sass-rails) >= 3.2
-BuildRequires: %{?scl_prefix}rubygem(sass-rails) < 4.0
-BuildRequires: %{?scl_prefix}rubygem(uglifier) >= 1.0.3
-BuildRequires: %{?scl_prefix}rubygem(execjs) >= 1.4.0
-BuildRequires: %{?scl_prefix}rubygem(execjs) < 2.5.0
-BuildRequires: %{?scl_prefix}rubygem(jquery-rails) >= 2.0.2
-BuildRequires: %{?scl_prefix}rubygem(jquery-rails) < 2.1
+BuildRequires: %{?scl_prefix_ruby}rubygem(sass-rails) >= 3.2
+BuildRequires: %{?scl_prefix_ruby}rubygem(sass-rails) < 4.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(uglifier) >= 1.0.3
+BuildRequires: %{?scl_prefix_ruby}rubygem(execjs) >= 1.4.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(execjs) < 2.5.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(jquery-rails) >= 2.0.2
+BuildRequires: %{?scl_prefix_ruby}rubygem(jquery-rails) < 2.1
 BuildRequires: %{?scl_prefix}rubygem(jquery-ui-rails) < 5.0.0
-BuildRequires: %{?scl_prefix}rubygem(therubyracer)
+BuildRequires: %{?scl_prefix_ruby}rubygem(therubyracer)
 BuildRequires: %{?scl_prefix}rubygem(bootstrap-sass) = 3.0.3.0
 BuildRequires: %{?scl_prefix}rubygem(spice-html5-rails) >= 0.1.4
 BuildRequires: %{?scl_prefix}rubygem(spice-html5-rails) < 0.2.0
@@ -343,14 +343,14 @@ Meta package to install requirements for Google Compute Engine (GCE) support
 Summary: Foreman asset pipeline support
 Group: Applications/system
 Requires: %{name} = %{version}-%{release}
-Requires: %{?scl_prefix}rubygem(sass-rails) >= 3.2
-Requires: %{?scl_prefix}rubygem(sass-rails) < 4.0
-Requires: %{?scl_prefix}rubygem(uglifier) >= 1.0.3
-Requires: %{?scl_prefix}rubygem(execjs) >= 1.4.0
-Requires: %{?scl_prefix}rubygem(jquery-rails) >= 2.0.2
-Requires: %{?scl_prefix}rubygem(jquery-rails) < 2.1
+Requires: %{?scl_prefix_ruby}rubygem(sass-rails) >= 3.2
+Requires: %{?scl_prefix_ruby}rubygem(sass-rails) < 4.0
+Requires: %{?scl_prefix_ruby}rubygem(uglifier) >= 1.0.3
+Requires: %{?scl_prefix_ruby}rubygem(execjs) >= 1.4.0
+Requires: %{?scl_prefix_ruby}rubygem(jquery-rails) >= 2.0.2
+Requires: %{?scl_prefix_ruby}rubygem(jquery-rails) < 2.1
 Requires: %{?scl_prefix}rubygem(jquery-ui-rails) < 5.0.0
-Requires: %{?scl_prefix}rubygem(therubyracer)
+Requires: %{?scl_prefix_ruby}rubygem(therubyracer)
 Requires: %{?scl_prefix}rubygem(bootstrap-sass) = 3.0.3.0
 Requires: %{?scl_prefix}rubygem(spice-html5-rails) >= 0.1.4
 Requires: %{?scl_prefix}rubygem(spice-html5-rails) < 0.2.0
@@ -440,7 +440,7 @@ Meta Package to install requirements for postgresql support
 %package sqlite
 Summary: Foreman sqlite support
 Group:  Applications/System
-Requires: %{?scl_prefix}rubygem(sqlite3)
+Requires: %{?scl_prefix_ruby}rubygem(sqlite3)
 Requires: %{name} = %{version}-%{release}
 
 %description sqlite
diff --git a/rubygem-addressable/rubygem-addressable.spec b/rubygem-addressable/rubygem-addressable.spec
index 2c5982102..7db2e7d49 100644
--- a/rubygem-addressable/rubygem-addressable.spec
+++ b/rubygem-addressable/rubygem-addressable.spec
@@ -14,15 +14,16 @@ Group: Development/Languages
 License: GPLv2+ or Ruby
 URL: http://addressable.rubyforge.org/
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}rubygems-devel
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Addressable is a replacement for the URI implementation that is part of
@@ -34,6 +35,7 @@ adds support for IRIs and URI templates.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-algebrick/rubygem-algebrick.spec b/rubygem-algebrick/rubygem-algebrick.spec
index b080adba6..fad73cd1f 100644
--- a/rubygem-algebrick/rubygem-algebrick.spec
+++ b/rubygem-algebrick/rubygem-algebrick.spec
@@ -12,21 +12,22 @@ License: GPLv3
 URL: http://github.com/pitr-ch/algebrick
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 It's a gem providing algebraic types and pattern matching seamlessly
@@ -36,6 +37,7 @@ integrates with standard features Ruby.
 Summary: Documentation for %{name}
 Group: Documentation
 Requires: %{name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -84,4 +86,3 @@ cp -pa .%{gem_dir}/* \
 
 * Mon Jan 20 2014 Ivan Nečas <inecas@redhat.com> 0.4.0-1
 - new package built with tito
-
diff --git a/rubygem-ancestry/rubygem-ancestry.spec b/rubygem-ancestry/rubygem-ancestry.spec
index 16030ce4c..8ea89529b 100644
--- a/rubygem-ancestry/rubygem-ancestry.spec
+++ b/rubygem-ancestry/rubygem-ancestry.spec
@@ -13,16 +13,17 @@ License: MIT
 URL: http://github.com/stefankroes/ancestry
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-Requires: %{?scl_prefix}rubygems
-Requires: %{?scl_prefix}rubygem-activerecord >= 2.2.2
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+Requires: %{?scl_prefix_ruby}rubygems
+Requires: %{?scl_prefix_ruby}rubygem-activerecord >= 2.2.2
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(ancestry) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Ancestry allows the records of a ActiveRecord model to be organised in a tree
@@ -39,6 +40,7 @@ TTFunk is a TrueType font parser written in pure ruby.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -107,4 +109,3 @@ mv %{buildroot}%{gem_instdir}/{MIT-LICENSE,README.rdoc} ./
 
 * Fri Aug 10 2012 Miroslav Suchý <msuchy@redhat.com> 1.3.0-1
 - new package built with tito
-
diff --git a/rubygem-angular-rails-templates/rubygem-angular-rails-templates.spec b/rubygem-angular-rails-templates/rubygem-angular-rails-templates.spec
index 19028eff9..4918c5313 100644
--- a/rubygem-angular-rails-templates/rubygem-angular-rails-templates.spec
+++ b/rubygem-angular-rails-templates/rubygem-angular-rails-templates.spec
@@ -18,23 +18,24 @@ Source0:   http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
 BuildArch: noarch
 Provides:  %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
-Requires:  %{?scl_prefix}ruby(rubygems)
-Requires:  %{?scl_prefix}rubygem(railties) >= 3.1
-Requires:  %{?scl_prefix}rubygem(sprockets)
-Requires:  %{?scl_prefix}rubygem(tilt)
+Requires:  %{?scl_prefix_ruby}ruby(rubygems)
+Requires:  %{?scl_prefix_ruby}rubygem(railties) >= 3.1
+Requires:  %{?scl_prefix_ruby}rubygem(sprockets)
+Requires:  %{?scl_prefix_ruby}rubygem(tilt)
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires:      %{?scl_prefix}ruby(abi)
+Requires:      %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires:      %{?scl_prefix}ruby(release)
+Requires:      %{?scl_prefix_ruby}ruby(release)
 %endif
 
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
 %description
@@ -44,6 +45,7 @@ It removes the need for AJAX calls to retrieve the templates (or for you to manu
 %package doc
 BuildArch:  noarch
 Requires:   %{name} = %{epoch}:%{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for %{name}
 
 %description doc
@@ -86,4 +88,3 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}
 
 * Thu Oct 02 2014 Dominic Cleal <dcleal@redhat.com> 0.0.4-7
 - new package built with tito (ehelms@redhat.com)
-
diff --git a/rubygem-ansi/rubygem-ansi.spec b/rubygem-ansi/rubygem-ansi.spec
index 7eb3b68a0..2297319b2 100644
--- a/rubygem-ansi/rubygem-ansi.spec
+++ b/rubygem-ansi/rubygem-ansi.spec
@@ -21,18 +21,19 @@ Source0:   http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
 BuildArch: noarch
 Provides:  %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && 0%{!?scl:1})
-Requires:  %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires:  %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires:  %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires:  %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires:  %{?scl_prefix}rubygems
+Requires:  %{?scl_prefix_ruby}rubygems
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 %description
 %{desc}
@@ -40,6 +41,7 @@ BuildRequires: %{?scl_prefix}rubygems
 %package   doc
 BuildArch: noarch
 Requires:  %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:   Documentation for %{pkg_name}
 
 %description doc
@@ -105,4 +107,3 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}
 
 * Fri Sep 06 2013 Marek Hulan <mhulan@redhat.com> 1.4.3-0
 - new package built with tito
-
diff --git a/rubygem-apipie-bindings/rubygem-apipie-bindings.spec b/rubygem-apipie-bindings/rubygem-apipie-bindings.spec
index 3ee6644a0..335e70768 100644
--- a/rubygem-apipie-bindings/rubygem-apipie-bindings.spec
+++ b/rubygem-apipie-bindings/rubygem-apipie-bindings.spec
@@ -12,27 +12,28 @@ License: MIT
 URL: http://github.com/Apipie/apipie-bindings
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(rest-client) < 1.8.0
 Requires: %{?scl_prefix}rubygem(rest-client) >= 1.6.5
 Requires: %{?scl_prefix}rubygem(awesome_print)
 Requires: %{?scl_prefix}rubygem(oauth)
-Requires: %{?scl_prefix}rubygem(json) >= 1.2.1
+Requires: %{?scl_prefix_ruby}rubygem(json) >= 1.2.1
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires:      %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}rubygems-devel
+Requires:      %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 %else
-Requires:      %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}rubygems-devel
+Requires:      %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 %endif
 
-BuildRequires: %{?scl_prefix}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Bindings for API calls that are documented with Apipie. Bindings are generated on the fly.
@@ -40,6 +41,7 @@ Bindings for API calls that are documented with Apipie. Bindings are generated o
 %package doc
 BuildArch:  noarch
 Requires:   %{name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for %{name}
 
 %description doc
diff --git a/rubygem-apipie-params/rubygem-apipie-params.spec b/rubygem-apipie-params/rubygem-apipie-params.spec
index e82630a70..bd4714e42 100644
--- a/rubygem-apipie-params/rubygem-apipie-params.spec
+++ b/rubygem-apipie-params/rubygem-apipie-params.spec
@@ -11,21 +11,22 @@ Group: Development/Languages
 License: MIT
 URL: https://rubygems.org/gems/apipie-params
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Allows defining structure of data and perform validation against
@@ -35,6 +36,7 @@ it using json-schema
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -85,4 +87,3 @@ cp -a .%{gem_dir}/* \
 
 * Tue May 07 2013 Ivan Necas <inecas@redhat.com> 0.0.2-1
 - new package built with tito
-
diff --git a/rubygem-apipie-rails/rubygem-apipie-rails.spec b/rubygem-apipie-rails/rubygem-apipie-rails.spec
index 21325c00e..a63ed441f 100644
--- a/rubygem-apipie-rails/rubygem-apipie-rails.spec
+++ b/rubygem-apipie-rails/rubygem-apipie-rails.spec
@@ -17,18 +17,19 @@ URL: http://github.com/Pajk/apipie-rails
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
 
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This gem adds new methods to Rails controllers that can be used to describe
@@ -38,6 +39,7 @@ to generate documentation, client or to validate incoming requests.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -189,4 +191,3 @@ cp -a .%{gem_dir}/* \
 
 * Wed Jul 25 2012 Pavel Pokorný <pajkycz@gmail.com> 0.0.7-1
 - new package built with tito
-
diff --git a/rubygem-archive-tar-minitar/rubygem-archive-tar-minitar.spec b/rubygem-archive-tar-minitar/rubygem-archive-tar-minitar.spec
index 1cd678db3..10a7bfe7c 100644
--- a/rubygem-archive-tar-minitar/rubygem-archive-tar-minitar.spec
+++ b/rubygem-archive-tar-minitar/rubygem-archive-tar-minitar.spec
@@ -19,19 +19,20 @@ Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 Patch0: rubygem-archive-tar-minitar-0.5.2-fix-tests.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Archive::Tar::Minitar is a pure-Ruby library and command-line utility that
@@ -44,6 +45,7 @@ Summary: Documentation for %{name}
 Group: Documentation
 
 Requires: %{name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 This package contains documentation for %{name}.
@@ -78,7 +80,7 @@ find %{buildroot}%{gem_instdir}/{lib,tests} -type f | \
   xargs -n 1 sed -i -e '/^#!\/usr\/bin\/env ruby/d'
 
 find %{buildroot}%{gem_instdir}/bin -type f | \
-  xargs -n 1 sed -i -e 's"^#!/usr/bin/env ruby"#!/usr/bin/%{?scl:%{scl_prefix}}ruby"'
+  xargs -n 1 sed -i -e 's"^#!/usr/bin/env ruby"#!/usr/bin/%{?scl:%{scl_prefix_ruby}}ruby"'
 
 # require_gem is deprecated
 # http://rubyforge.org/tracker/?func=detail&aid=22034&group_id=84&atid=409
diff --git a/rubygem-audited-activerecord/rubygem-audited-activerecord.spec b/rubygem-audited-activerecord/rubygem-audited-activerecord.spec
index 235b3122b..979b08f62 100644
--- a/rubygem-audited-activerecord/rubygem-audited-activerecord.spec
+++ b/rubygem-audited-activerecord/rubygem-audited-activerecord.spec
@@ -22,22 +22,23 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 # tar czvf audited-activerecord-3.0.0-tests.tgz spec/audited/adapters/active_record \
 #   spec/rails_app spec/support/active_record spec/*.rb test
 Source1: %{gem_name}-%{version}-tests.tgz
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(audited) = 3.0.0
-Requires: %{?scl_prefix}rubygem(activerecord) => 3.0
-Requires: %{?scl_prefix}rubygem(activerecord) < 4
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}rubygem(activerecord) => 3.0
+Requires: %{?scl_prefix_ruby}rubygem(activerecord) < 4
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildRequires: %{?scl_prefix}rubygem(audited) = 3.0.0
-BuildRequires: %{?scl_prefix}rubygem(minitest)
-BuildRequires: %{?scl_prefix}rubygem(rails) => 3.0
-BuildRequires: %{?scl_prefix}rubygem(rails) < 4
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rails) => 3.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(rails) < 4
 BuildRequires: %{?scl_prefix}rubygem(rspec-rails)
-BuildRequires: %{?scl_prefix}rubygem(sqlite3)
+BuildRequires: %{?scl_prefix_ruby}rubygem(sqlite3)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Log all changes to your ActiveRecord models
@@ -47,6 +48,7 @@ Log all changes to your ActiveRecord models
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-audited/rubygem-audited.spec b/rubygem-audited/rubygem-audited.spec
index 7fe00800a..2354daf44 100644
--- a/rubygem-audited/rubygem-audited.spec
+++ b/rubygem-audited/rubygem-audited.spec
@@ -13,13 +13,14 @@ Group: Development/Languages
 License: MIT
 URL: https://github.com/collectiveidea/audited
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-Requires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Log all changes to your models
@@ -29,6 +30,7 @@ Log all changes to your models
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-autoparse/rubygem-autoparse.spec b/rubygem-autoparse/rubygem-autoparse.spec
index 92b3ae417..676e6302c 100644
--- a/rubygem-autoparse/rubygem-autoparse.spec
+++ b/rubygem-autoparse/rubygem-autoparse.spec
@@ -14,25 +14,26 @@ URL: http://autoparse.rubyforge.org/
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 Requires: %{?scl_prefix}rubygem(addressable) >= 2.3.1
 Requires: %{?scl_prefix}rubygem(extlib) >= 0.9.15
 Requires: %{?scl_prefix}rubygem(multi_json) >= 1.0.0
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 An implementation of the JSON Schema specification. Provides automatic parsing
@@ -42,6 +43,7 @@ for any given JSON Schema.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -83,4 +85,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Sun Nov 10 2013 Dominic Cleal <dcleal@redhat.com> 0.3.3-1
 - new package built with tito
-
diff --git a/rubygem-awesome_print/rubygem-awesome_print.spec b/rubygem-awesome_print/rubygem-awesome_print.spec
index c714d9bee..38fd18db7 100644
--- a/rubygem-awesome_print/rubygem-awesome_print.spec
+++ b/rubygem-awesome_print/rubygem-awesome_print.spec
@@ -11,23 +11,24 @@ Group: Development/Languages
 License: MIT
 URL: http://github.com/michaeldv/awesome_print
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires:      %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires:      %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires:      %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires:      %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
-#BuildRequires: %{?scl_prefix}rubygem-rspec
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
+#BuildRequires: %{?scl_prefix_ruby}rubygem-rspec
 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Great Ruby debugging companion: pretty print Ruby objects to visualize their
@@ -38,6 +39,7 @@ structure. Supports custom object formatting via plugins.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-bastion/rubygem-bastion.spec b/rubygem-bastion/rubygem-bastion.spec
index db3ef23cc..0b16552fc 100644
--- a/rubygem-bastion/rubygem-bastion.spec
+++ b/rubygem-bastion/rubygem-bastion.spec
@@ -24,14 +24,15 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 Requires: foreman >= 1.8.0
 Requires: %{?scl_prefix}rubygem(angular-rails-templates) = 0.1.2
 
 BuildRequires: foreman-assets >= 1.8.0
 BuildRequires: foreman-plugin >= 1.8.0
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildRequires: %{?scl_prefix}rubygem(less-rails) >= 2.5.0
 BuildRequires: %{?scl_prefix}rubygem(less-rails) < 2.6
 BuildRequires: %{?scl_prefix}rubygem(angular-rails-templates) = 0.1.2
@@ -49,6 +50,7 @@ a modern UI.
 Summary:    Documentation for rubygem-%{gem_name}
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 This package contains documentation for rubygem-%{gem_name}.
@@ -59,7 +61,7 @@ BuildArch: noarch
 Requires:  %{?scl_prefix}%{pkg_name} = %{version}-%{release}
 Requires:  %{?scl_prefix}rubygem(less-rails) >= 2.5.0
 Requires:  %{?scl_prefix}rubygem(less-rails) < 2.6
-Requires:  %{?scl_prefix}rubygem(uglifier)
+Requires:  %{?scl_prefix_ruby}rubygem(uglifier)
 
 %description devel
 This package contains assets compilation dependencies for %{scl_prefix}rubygem-%{gem_name}.
@@ -194,5 +196,3 @@ ln -s %{foreman_assets_plugin} %{buildroot}%{foreman_dir}/public/assets/bastion
 
 * Fri Oct 17 2014 Dominic Cleal <dcleal@redhat.com> 0.1.3-1
 - new package built with tito (ericdhelms@gmail.com)
-
-
diff --git a/rubygem-bootstrap-sass/rubygem-bootstrap-sass.spec b/rubygem-bootstrap-sass/rubygem-bootstrap-sass.spec
index d7d23fb3e..8775e3051 100644
--- a/rubygem-bootstrap-sass/rubygem-bootstrap-sass.spec
+++ b/rubygem-bootstrap-sass/rubygem-bootstrap-sass.spec
@@ -14,24 +14,25 @@ URL: https://github.com/twbs/bootstrap-sass
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 Requires: %{?scl_prefix}rubygem(sass) >= 3.2
 Requires: %{?scl_prefix}rubygem(sass) < 4
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 bootstrap-sass is a Sass-powered version of Bootstrap, ready to drop right into
@@ -41,6 +42,7 @@ your Sass powered applications.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -85,4 +87,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Sun Dec 29 2013 Dominic Cleal <dcleal@redhat.com> 3.0.3.0-1
 - new package built with tito
-
diff --git a/rubygem-bundler_ext/rubygem-bundler_ext.spec b/rubygem-bundler_ext/rubygem-bundler_ext.spec
index 056913fe3..7a420878f 100644
--- a/rubygem-bundler_ext/rubygem-bundler_ext.spec
+++ b/rubygem-bundler_ext/rubygem-bundler_ext.spec
@@ -13,24 +13,25 @@ License: ASL 2.0
 URL: https://github.com/aeolus-incubator/bundler_ext
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}rubygem(bundler)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}rubygem(bundler)
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}ruby
-# BuildRequires: %{?scl_prefix}rubygem(rspec)
-# BuildRequires: %{?scl_prefix}rubygem(bundler)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}ruby
+# BuildRequires: %{?scl_prefix_ruby}rubygem(rspec)
+# BuildRequires: %{?scl_prefix_ruby}rubygem(bundler)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Simple library leveraging the Bundler Gemfile DSL to load gems already on the
@@ -41,6 +42,7 @@ system and managed by the systems package manager (like yum/apt)
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-clamp/rubygem-clamp.spec b/rubygem-clamp/rubygem-clamp.spec
index 66c5a9549..e723b278f 100644
--- a/rubygem-clamp/rubygem-clamp.spec
+++ b/rubygem-clamp/rubygem-clamp.spec
@@ -13,18 +13,19 @@ URL: http://github.com/mdub/clamp
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?scl:1} || (0%{?el6} && 0%{!?scl:1})
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Clamp provides an object-model for command-line utilities.
@@ -34,6 +35,7 @@ It handles parsing of command-line options, and generation of usage help.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-commonjs/rubygem-commonjs.spec b/rubygem-commonjs/rubygem-commonjs.spec
index 485ef8a15..da5afff0a 100644
--- a/rubygem-commonjs/rubygem-commonjs.spec
+++ b/rubygem-commonjs/rubygem-commonjs.spec
@@ -14,21 +14,22 @@ License: GPLv2+ or Ruby
 URL: http://github.com/cowboyd/commonjs.rb
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems) 
-Requires: %{?scl_prefix}ruby 
+Requires: %{?scl_prefix_ruby}ruby(rubygems) 
+Requires: %{?scl_prefix_ruby}ruby 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel 
-BuildRequires: %{?scl_prefix}ruby 
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel 
+BuildRequires: %{?scl_prefix_ruby}ruby 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Host CommonJS JavaScript environments in Ruby
@@ -38,6 +39,7 @@ Host CommonJS JavaScript environments in Ruby
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-concurrent-ruby-edge/rubygem-concurrent-ruby-edge.spec b/rubygem-concurrent-ruby-edge/rubygem-concurrent-ruby-edge.spec
index e05dc0fa8..685e5e3ef 100644
--- a/rubygem-concurrent-ruby-edge/rubygem-concurrent-ruby-edge.spec
+++ b/rubygem-concurrent-ruby-edge/rubygem-concurrent-ruby-edge.spec
@@ -14,21 +14,22 @@ License: MIT
 URL: https://github.com/ruby-concurrency/concurrent-ruby
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Edge concepts for modern concurrency tools including agents, futures,
@@ -41,6 +42,7 @@ patterns.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{epoch}:%{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -92,5 +94,3 @@ cp -a .%{gem_dir}/* \
 
 * Thu Jul 02 2015 Ivan Nečas <inecas@redhat.com>
 - new package built with tito
-
-
diff --git a/rubygem-concurrent-ruby/rubygem-concurrent-ruby.spec b/rubygem-concurrent-ruby/rubygem-concurrent-ruby.spec
index 8ee9814ce..2d159e1bc 100644
--- a/rubygem-concurrent-ruby/rubygem-concurrent-ruby.spec
+++ b/rubygem-concurrent-ruby/rubygem-concurrent-ruby.spec
@@ -13,21 +13,22 @@ Group: Development/Languages
 License: MIT
 URL: https://github.com/ruby-concurrency/concurrent-ruby
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Modern concurrency tools including agents, futures,
@@ -40,6 +41,7 @@ patterns.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{epoch}:%{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -92,4 +94,3 @@ cp -a .%{gem_dir}/* \
 
 * Thu Jul 02 2015 Ivan Nečas <inecas@redhat.com>
 - new package built with tito
-
diff --git a/rubygem-daemons/daemons.spec b/rubygem-daemons/daemons.spec
index d407d4240..6457ac1aa 100644
--- a/rubygem-daemons/daemons.spec
+++ b/rubygem-daemons/daemons.spec
@@ -12,12 +12,13 @@ License: GPLv2+ or Ruby
 URL: http://daemons.rubyforge.org
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
-BuildRequires: %{?scl_prefix}rubygems-devel
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 
 %description
 Daemons provides an easy way to wrap existing ruby scripts (for example a
@@ -32,6 +33,7 @@ automatic restarting of your processes if they crash.
 Summary: Documentation for %{name}
 Group: Documentation
 Requires: %{name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-dalli/rubygem-dalli.spec b/rubygem-dalli/rubygem-dalli.spec
index 08252804d..b71444c68 100644
--- a/rubygem-dalli/rubygem-dalli.spec
+++ b/rubygem-dalli/rubygem-dalli.spec
@@ -14,22 +14,23 @@ URL: https://github.com/mperham/dalli
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Dalli is a high performance pure Ruby client for accessing memcached servers.
@@ -40,6 +41,7 @@ should be considered a replacement for the memcache-client gem.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -79,4 +81,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Tue Sep 17 2013 Dominic Cleal <dcleal@redhat.com> 2.6.4-1
 - new package built with tito
-
diff --git a/rubygem-deep_cloneable/rubygem-deep_cloneable.spec b/rubygem-deep_cloneable/rubygem-deep_cloneable.spec
index 09854ed75..95a033dd0 100644
--- a/rubygem-deep_cloneable/rubygem-deep_cloneable.spec
+++ b/rubygem-deep_cloneable/rubygem-deep_cloneable.spec
@@ -14,23 +14,24 @@ URL: http://github.com/moiristo/deep_cloneable
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygem-activerecord >= 1:3.1.0
-Requires: %{?scl_prefix}rubygem-activerecord < 1:5.0.0
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygem-activerecord >= 1:3.1.0
+Requires: %{?scl_prefix_ruby}rubygem-activerecord < 1:5.0.0
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Extends the functionality of ActiveRecord::Base#clone to perform a deep clone
@@ -41,6 +42,7 @@ that includes user specified associations.
 Summary: Documentation for %{name}
 Group: Documentation
 Requires: %{name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-deface/rubygem-deface.spec b/rubygem-deface/rubygem-deface.spec
index f3c1dbde0..e987e235e 100644
--- a/rubygem-deface/rubygem-deface.spec
+++ b/rubygem-deface/rubygem-deface.spec
@@ -13,19 +13,20 @@ License: MIT
 URL: https://github.com/spree/deface
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
-BuildRequires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(nokogiri)
-Requires: %{?scl_prefix}rubygem(rails)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygem(rails)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Rails 3 plugin that allows you to customize ERB views in a
@@ -34,6 +35,7 @@ Rails application without editing the underlying view.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -91,5 +93,3 @@ cp -a .%{gem_dir}/* \
 
 * Thu Mar 28 2013 Ivan Necas <inecas@redhat.com> 0.7.2-1
 - new package built with tito
-
-
diff --git a/rubygem-diffy/rubygem-diffy.spec b/rubygem-diffy/rubygem-diffy.spec
index 384bd08d6..b5cbff237 100644
--- a/rubygem-diffy/rubygem-diffy.spec
+++ b/rubygem-diffy/rubygem-diffy.spec
@@ -14,22 +14,23 @@ URL: https://github.com/samg/diffy
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Need diffs in your ruby app? Diffy has you covered. It provides a convenient
@@ -41,6 +42,7 @@ focuses on providing a convenient interface, and getting out of your way.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -85,4 +87,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Wed Nov 20 2013 Dominic Cleal <dcleal@redhat.com> 3.0.1-1
 - new package built with tito
-
diff --git a/rubygem-docker-api/rubygem-docker-api.spec b/rubygem-docker-api/rubygem-docker-api.spec
index 24b0e27b7..c31e3fdeb 100644
--- a/rubygem-docker-api/rubygem-docker-api.spec
+++ b/rubygem-docker-api/rubygem-docker-api.spec
@@ -14,24 +14,25 @@ URL: https://github.com/swipely/docker-api
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 Requires: %{?scl_prefix}rubygem(archive-tar-minitar)
 Requires: %{?scl_prefix}rubygem(excon) >= 0.38
-Requires: %{?scl_prefix}rubygem(json)
+Requires: %{?scl_prefix_ruby}rubygem(json)
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This gem provides an object-oriented interface to the Docker Remote API. Every
@@ -43,6 +44,7 @@ interface with Docker version 0.9.*.
 Summary: Documentation for %{name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -97,4 +99,3 @@ cp -pa .%{gem_dir}/* \
 
 * Tue Apr 29 2014 Dominic Cleal <dcleal@redhat.com> 1.8.4-1
 - new package built with tito
-
diff --git a/rubygem-dynflow/rubygem-dynflow.spec b/rubygem-dynflow/rubygem-dynflow.spec
index e125aaae7..fa4ebda9d 100644
--- a/rubygem-dynflow/rubygem-dynflow.spec
+++ b/rubygem-dynflow/rubygem-dynflow.spec
@@ -13,15 +13,15 @@ URL: https://github.com/Dynflow/dynflow
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 Requires: %{?scl_prefix}rubygem(algebrick) >= 0.7.0
 Requires: %{?scl_prefix}rubygem(algebrick) < 0.8.0
 Requires: %{?scl_prefix}rubygem(concurrent-ruby) >= 0.9.0
@@ -30,10 +30,11 @@ Requires: %{?scl_prefix}rubygem(concurrent-ruby-edge) >= 0.1.0
 Requires: %{?scl_prefix}rubygem(concurrent-ruby-edge) < 0.2.0
 Requires: %{?scl_prefix}rubygem(multi_json)
 Requires: %{?scl_prefix}rubygem(apipie-params)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Ruby workflow/orchestration engine
@@ -42,6 +43,7 @@ Ruby workflow/orchestration engine
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -141,4 +143,3 @@ cp -a .%{gem_dir}/* \
 
 * Tue May 07 2013 Ivan Necas <inecas@redhat.com> 0.1.0-1
 - new package built with tito
-
diff --git a/rubygem-eventmachine/rubygem-eventmachine.spec b/rubygem-eventmachine/rubygem-eventmachine.spec
index aa11d950e..322efa935 100644
--- a/rubygem-eventmachine/rubygem-eventmachine.spec
+++ b/rubygem-eventmachine/rubygem-eventmachine.spec
@@ -14,10 +14,11 @@ Source0:    http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 # Fixed upstream
 # https://github.com/eventmachine/eventmachine/commit/2c083af3d06d333db31dcc1bbe535b10285a8d1e
 Patch0:     rubygem-eventmachine-0.12.10-makes-HTTPS-client-tests-pass.patch
-Requires:   %{?scl_prefix}ruby(rubygems)
-Requires:   %{?scl_prefix}ruby(abi) = 1.9.1
+Requires:   %{?scl_prefix_ruby}ruby(rubygems)
+Requires:   %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 Provides:   %{?scl_prefix}rubygem(%{gem_name}) = %{version}
-BuildRequires: %{?scl_prefix}rubygems-devel, %{?scl_prefix}ruby-devel, openssl-devel, %{?scl_prefix}rubygem(rake), net-tools
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel, %{?scl_prefix_ruby}ruby-devel, openssl-devel, %{?scl_prefix_ruby}rubygem(rake), net-tools
 
 %description
 EventMachine implements a fast, single-threaded engine for arbitrary network
@@ -37,6 +38,7 @@ Group: Documentation
 BuildArch: noarch
 
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 This package contains documentation for %{pkg_name}.
diff --git a/rubygem-excon/rubygem-excon.spec b/rubygem-excon/rubygem-excon.spec
index 083198ade..d33e704be 100644
--- a/rubygem-excon/rubygem-excon.spec
+++ b/rubygem-excon/rubygem-excon.spec
@@ -12,23 +12,24 @@ License: MIT
 URL: https://github.com/geemus/excon
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: ca-certificates
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildRequires: ca-certificates
 # For the tests
-#BuildRequires: %{?scl_prefix}rubygem(activesupport)
+#BuildRequires: %{?scl_prefix_ruby}rubygem(activesupport)
 #BuildRequires: %{?scl_prefix}rubygem(delorean)
 #BuildRequires: %{?scl_prefix}rubygem(open4)
 #BuildRequires: %{?scl_prefix}rubygem(shindo)
-#BuildRequires: %{?scl_prefix}rubygem(sinatra)
+#BuildRequires: %{?scl_prefix_ruby}rubygem(sinatra)
 #BuildRequires: %{?scl_prefix}rubygem(eventmachine)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 EXtended http(s) CONnections
@@ -37,6 +38,7 @@ EXtended http(s) CONnections
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 Documentation for %{pkg_name}
diff --git a/rubygem-extlib/rubygem-extlib.spec b/rubygem-extlib/rubygem-extlib.spec
index c973c55f9..5c4b05ca4 100644
--- a/rubygem-extlib/rubygem-extlib.spec
+++ b/rubygem-extlib/rubygem-extlib.spec
@@ -14,22 +14,23 @@ URL: https://github.com/datamapper/extlib
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Support library for DataMapper and Merb.
@@ -38,6 +39,7 @@ Support library for DataMapper and Merb.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -81,4 +83,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Sun Nov 10 2013 Dominic Cleal <dcleal@redhat.com> 0.9.16-1
 - new package built with tito
-
diff --git a/rubygem-faraday/rubygem-faraday.spec b/rubygem-faraday/rubygem-faraday.spec
index b1bc725d5..acc196455 100644
--- a/rubygem-faraday/rubygem-faraday.spec
+++ b/rubygem-faraday/rubygem-faraday.spec
@@ -14,24 +14,25 @@ URL: https://github.com/lostisland/faraday
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 Requires: %{?scl_prefix}rubygem(multipart-post) >= 1.2.0
 Requires: %{?scl_prefix}rubygem(multipart-post) < 3
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Faraday is an HTTP client lib that provides a common interface over many
@@ -42,6 +43,7 @@ processing the request/response cycle.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -92,4 +94,3 @@ cp -a .%{gem_dir}/* \
 
 * Sun Nov 10 2013 Dominic Cleal <dcleal@redhat.com> 0.8.8-1
 - new package built with tito
-
diff --git a/rubygem-fast_gettext/rubygem-fast_gettext.spec b/rubygem-fast_gettext/rubygem-fast_gettext.spec
index 8d7f818ed..5c5f71647 100644
--- a/rubygem-fast_gettext/rubygem-fast_gettext.spec
+++ b/rubygem-fast_gettext/rubygem-fast_gettext.spec
@@ -16,17 +16,18 @@ URL: http://github.com/grosser/fast_gettext
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}rubygems-devel
+Requires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A simple, fast, memory-efficient and threadsafe implementation of GetText
@@ -35,6 +36,7 @@ A simple, fast, memory-efficient and threadsafe implementation of GetText
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-fastercsv/rubygem-fastercsv.spec b/rubygem-fastercsv/rubygem-fastercsv.spec
index f132bc429..5ee0cea8e 100644
--- a/rubygem-fastercsv/rubygem-fastercsv.spec
+++ b/rubygem-fastercsv/rubygem-fastercsv.spec
@@ -13,14 +13,15 @@ URL:		http://fastercsv.rubyforge.org/
 Source:		http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires:	%{?scl_prefix}ruby(abi)
+Requires:	%{?scl_prefix_ruby}ruby(abi)
 %else
-Requires:	%{?scl_prefix}ruby(release)
+Requires:	%{?scl_prefix_ruby}ruby(release)
 %endif
-Requires:	%{?scl_prefix}rubygems
+Requires:	%{?scl_prefix_ruby}rubygems
 Provides:	%{?scl_prefix}rubygem(%{gem_name}) = %{version}
-BuildRequires:	%{?scl_prefix}rubygems
-BuildRequires:  %{?scl_prefix}rubygems-devel
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
+BuildRequires:	%{?scl_prefix_ruby}rubygems
+BuildRequires:  %{?scl_prefix_ruby}rubygems-devel
 BuildArch:	noarch
 
 %description
diff --git a/rubygem-ffi/rubygem-ffi.spec b/rubygem-ffi/rubygem-ffi.spec
index e275b6312..2d7ae7f95 100644
--- a/rubygem-ffi/rubygem-ffi.spec
+++ b/rubygem-ffi/rubygem-ffi.spec
@@ -22,21 +22,22 @@ License:        LGPLv3
 URL:            http://wiki.github.com/ffi/ffi
 Source0:        http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
-BuildRequires:  %{?scl_prefix}ruby-devel
-BuildRequires:  %{?scl_prefix}rubygems-devel
+BuildRequires:  %{?scl_prefix_ruby}ruby-devel
+BuildRequires:  %{?scl_prefix_ruby}rubygems-devel
 BuildRequires:	libffi-devel
 %if 0%{enable_test} > 0
-BuildRequires:	%{?scl_prefix}rubygem(rspec)
+BuildRequires:	%{?scl_prefix_ruby}rubygem(rspec)
 %endif
 
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
 
 Provides:       %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Ruby-FFI is a ruby extension for programmatically loading dynamic
diff --git a/rubygem-flot-rails/rubygem-flot-rails.spec b/rubygem-flot-rails/rubygem-flot-rails.spec
index 639ba0c2a..3fd271861 100644
--- a/rubygem-flot-rails/rubygem-flot-rails.spec
+++ b/rubygem-flot-rails/rubygem-flot-rails.spec
@@ -13,24 +13,25 @@ License: MIT
 URL: https://rubygems.org/gems/flot-rails
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygem(railties) => 3.1
-Requires: %{?scl_prefix}rubygem(railties) < 4
-Requires: %{?scl_prefix}rubygem(jquery-rails)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygem(railties) => 3.1
+Requires: %{?scl_prefix_ruby}rubygem(railties) < 4
+Requires: %{?scl_prefix_ruby}rubygem(jquery-rails)
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Provides easy installation and usage of jQuery-flot javascript
@@ -41,6 +42,7 @@ library for your Rails 3.1+ application.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -90,4 +92,3 @@ cp -a .%{gem_dir}/* \
 
 * Thu Apr 11 2013 Ivan Necas <inecas@redhat.com> 0.0.2-1
 - new package built with tito
-
diff --git a/rubygem-fog-aws/rubygem-fog-aws.spec b/rubygem-fog-aws/rubygem-fog-aws.spec
index 5ad10241a..938c6ffcd 100644
--- a/rubygem-fog-aws/rubygem-fog-aws.spec
+++ b/rubygem-fog-aws/rubygem-fog-aws.spec
@@ -12,7 +12,7 @@ Group: Development/Ruby
 License: MIT
 URL: http://github.com/fog/fog-aws
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(fog-core) >= 1.27
 Requires: %{?scl_prefix}rubygem(fog-core) < 2
 Requires: %{?scl_prefix}rubygem(fog-json) >= 1
@@ -22,14 +22,15 @@ Requires: %{?scl_prefix}rubygem(fog-xml) < 1
 Requires: %{?scl_prefix}rubygem(ipaddress) >= 0.8
 Requires: %{?scl_prefix}rubygem(ipaddress) < 1
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %define gembuilddir %{buildroot}%{gem_dir}
 
@@ -40,6 +41,7 @@ use the Amazon Web Services in applications.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -96,4 +98,3 @@ gem install --local --install-dir %{gembuilddir} --force %{SOURCE0} --no-rdoc --
 
 * Tue Feb 17 2015 Dominic Cleal <dcleal@redhat.com> 0.0.8-1
 - new package built with tito
-
diff --git a/rubygem-fog-core/rubygem-fog-core.spec b/rubygem-fog-core/rubygem-fog-core.spec
index 9f67c8514..70250cd2e 100644
--- a/rubygem-fog-core/rubygem-fog-core.spec
+++ b/rubygem-fog-core/rubygem-fog-core.spec
@@ -12,25 +12,26 @@ Group: Development/Ruby
 License: MIT
 URL: http://github.com/fog/fog-core
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
-Requires: %{?scl_prefix}rubygem-builder
+Requires: %{?scl_prefix_ruby}rubygems
+Requires: %{?scl_prefix_ruby}rubygem-builder
 Requires: %{?scl_prefix}rubygem-excon >= 0.45.0
 Requires: %{?scl_prefix}rubygem-excon < 1
 Requires: %{?scl_prefix}rubygem-formatador => 0.2.0
 Requires: %{?scl_prefix}rubygem-formatador < 0.3
-Requires: %{?scl_prefix}rubygem-mime-types
+Requires: %{?scl_prefix_ruby}rubygem-mime-types
 Requires: %{?scl_prefix}rubygem-net-scp => 1.1.0
 Requires: %{?scl_prefix}rubygem-net-scp < 2
 Requires: %{?scl_prefix}rubygem-net-ssh >= 2.1.3
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %define gembuilddir %{buildroot}%{gem_dir}
 
@@ -44,6 +45,7 @@ for most AWS services including EC2, S3, CloudWatch, SimpleDB, ELB, and RDS.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -106,4 +108,3 @@ gem install --local --install-dir %{gembuilddir} --force %{SOURCE0} --no-rdoc --
 
 * Wed Mar 19 2014 Dominic Cleal <dcleal@redhat.com> 1.21.1-1
 - new package built with tito
-
diff --git a/rubygem-fog-google/rubygem-fog-google.spec b/rubygem-fog-google/rubygem-fog-google.spec
index 791c2f7d5..f39a966af 100644
--- a/rubygem-fog-google/rubygem-fog-google.spec
+++ b/rubygem-fog-google/rubygem-fog-google.spec
@@ -12,19 +12,20 @@ Group: Development/Ruby
 License: MIT
 URL: http://github.com/fog/fog-google
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(fog-core)
 Requires: %{?scl_prefix}rubygem(fog-json)
 Requires: %{?scl_prefix}rubygem(fog-xml)
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %define gembuilddir %{buildroot}%{gem_dir}
 
@@ -35,6 +36,7 @@ use the Google in applications.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -77,4 +79,3 @@ gem install --local --install-dir %{gembuilddir} --force %{SOURCE0} --no-rdoc --
 
 * Mon May 11 2015 Dominic Cleal <dcleal@redhat.com> 0.0.5-1
 - new package built with tito
-
diff --git a/rubygem-fog-json/rubygem-fog-json.spec b/rubygem-fog-json/rubygem-fog-json.spec
index 5e86e63a6..1463eee49 100644
--- a/rubygem-fog-json/rubygem-fog-json.spec
+++ b/rubygem-fog-json/rubygem-fog-json.spec
@@ -12,20 +12,21 @@ Group: Development/Ruby
 License: MIT
 URL: http://github.com/fog/fog-json
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(multi_json) >= 1.10
 Requires: %{?scl_prefix}rubygem(multi_json) < 2
 Requires: %{?scl_prefix}rubygem(fog-core) >= 1
 Requires: %{?scl_prefix}rubygem(fog-core) < 2
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %define gembuilddir %{buildroot}%{gem_dir}
 
@@ -36,6 +37,7 @@ the 'fog' gem.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -85,4 +87,3 @@ gem install --local --install-dir %{gembuilddir} --force %{SOURCE0} --no-rdoc --
 
 * Wed Mar 19 2014 Dominic Cleal <dcleal@redhat.com> 1.0.0-1
 - new package built with tito
-
diff --git a/rubygem-fog-libvirt/rubygem-fog-libvirt.spec b/rubygem-fog-libvirt/rubygem-fog-libvirt.spec
index d4aff20ef..927c82fab 100644
--- a/rubygem-fog-libvirt/rubygem-fog-libvirt.spec
+++ b/rubygem-fog-libvirt/rubygem-fog-libvirt.spec
@@ -12,7 +12,7 @@ Group: Development/Ruby
 License: MIT
 URL: http://github.com/fog/fog-libvirt
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(fog-core) >= 1.27.4
 Requires: %{?scl_prefix}rubygem(fog-core) < 2
 Requires: %{?scl_prefix}rubygem(fog-json)
@@ -27,14 +27,15 @@ Requires: %{?scl_prefix}rubygem(ruby-libvirt) >= 0.5
 Requires: %{?scl_prefix}rubygem(ruby-libvirt) < 0.6
 %endif
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %define gembuilddir %{buildroot}%{gem_dir}
 
@@ -45,6 +46,7 @@ use the Amazon Web Services in applications.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -89,4 +91,3 @@ sed -i '/add_.*dependency.*ruby-libvirt/d' %{buildroot}%{gem_spec}
 
 * Mon May 11 2015 Dominic Cleal <dcleal@redhat.com> 0.0.1-1
 - new package built with tito
-
diff --git a/rubygem-fog-xml/rubygem-fog-xml.spec b/rubygem-fog-xml/rubygem-fog-xml.spec
index 055370ad8..4be0198ff 100644
--- a/rubygem-fog-xml/rubygem-fog-xml.spec
+++ b/rubygem-fog-xml/rubygem-fog-xml.spec
@@ -12,19 +12,20 @@ Group: Development/Ruby
 License: MIT
 URL: http://github.com/fog/fog-xml
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(fog-core)
 Requires: %{?scl_prefix}rubygem(nokogiri) >= 1.5.11
 Requires: %{?scl_prefix}rubygem(nokogiri) < 2.0
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %define gembuilddir %{buildroot}%{gem_dir}
 
@@ -35,6 +36,7 @@ Extraction of the XML parsing tools shared between a number of providers in the
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -79,4 +81,3 @@ gem install --local --install-dir %{gembuilddir} --force %{SOURCE0} --no-rdoc --
 
 * Mon Oct 13 2014 Dominic Cleal <dcleal@redhat.com> 0.1.0-1
 - new package built with tito
-
diff --git a/rubygem-fog/rubygem-fog.spec b/rubygem-fog/rubygem-fog.spec
index 602097a47..deb291718 100644
--- a/rubygem-fog/rubygem-fog.spec
+++ b/rubygem-fog/rubygem-fog.spec
@@ -28,7 +28,7 @@ Patch13: fog-no-local.patch
 Patch14: fog-no-powerdns.patch
 Patch15: fog-no-dynect.patch
 
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(fog-aws) >= 0.6.0
 Requires: %{?scl_prefix}rubygem(fog-core) >= 1.32.0
 Requires: %{?scl_prefix}rubygem(fog-core) < 2.0.0
@@ -41,13 +41,13 @@ Requires: %{?scl_prefix}rubygem(ipaddress) < 1.0
 Requires: %{?scl_prefix}rubygem(nokogiri) >= 1.5.11
 Requires: %{?scl_prefix}rubygem(nokogiri) < 2.0
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildRequires: %{?scl_prefix}rubygem(fog-aws) >= 0.6.0
 BuildRequires: %{?scl_prefix}rubygem(fog-core) >= 1.32.0
 BuildRequires: %{?scl_prefix}rubygem(fog-core) < 2.0.0
@@ -60,13 +60,14 @@ BuildRequires: %{?scl_prefix}rubygem(ipaddress) < 1.0
 BuildRequires: %{?scl_prefix}rubygem(nokogiri) >= 1.5.11
 BuildRequires: %{?scl_prefix}rubygem(nokogiri) < 2.0
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = 1.9.1
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(fog) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 The Ruby cloud services library. Supports all major cloud providers including
@@ -76,6 +77,7 @@ for most AWS services including EC2, S3, CloudWatch, SimpleDB, ELB, and RDS.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -297,4 +299,3 @@ bin/fog -v
 
 * Thu Sep 06 2012 Miroslav Suchý <msuchy@redhat.com> 1.4.0-1
 - new package built with tito
-
diff --git a/rubygem-foreigner/rubygem-foreigner.spec b/rubygem-foreigner/rubygem-foreigner.spec
index ba7e45742..ebb449b74 100644
--- a/rubygem-foreigner/rubygem-foreigner.spec
+++ b/rubygem-foreigner/rubygem-foreigner.spec
@@ -15,27 +15,28 @@ URL:           http://github.com/matthuhiggins/foreigner
 Source0:       http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 Provides:      %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 BuildArch:     noarch
 
 %if 0%{?fedora} >= 19
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby
 %endif
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} >= 19
-Requires:      %{?scl_prefix}ruby(release)
+Requires:      %{?scl_prefix_ruby}ruby(release)
 %else
-Requires:      %{?scl_prefix}ruby(abi) = %{rubyabi}
-Requires:      %{?scl_prefix}ruby
+Requires:      %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+Requires:      %{?scl_prefix_ruby}ruby
 %endif
-Requires:      %{?scl_prefix}rubygems
-Requires:      %{?scl_prefix}rubygem(activerecord) >= 3.0.0
+Requires:      %{?scl_prefix_ruby}rubygems
+Requires:      %{?scl_prefix_ruby}rubygem(activerecord) >= 3.0.0
 
 
 %description
@@ -45,6 +46,7 @@ Adds helpers to migrations and correctly dumps foreign keys to schema.rb.
 %package doc
 Summary:   Documentation for %{pkg_name}
 Requires:  %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 
diff --git a/rubygem-foreman-mco/rubygem-foreman-mco.spec b/rubygem-foreman-mco/rubygem-foreman-mco.spec
index 5e274308e..33cfd0bac 100644
--- a/rubygem-foreman-mco/rubygem-foreman-mco.spec
+++ b/rubygem-foreman-mco/rubygem-foreman-mco.spec
@@ -19,25 +19,26 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.2.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(deface)
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-mco
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Manage remote hosts with MCollective and Foreman.
diff --git a/rubygem-foreman-tasks/rubygem-foreman-tasks.spec b/rubygem-foreman-tasks/rubygem-foreman-tasks.spec
index 58e853334..abbe8e488 100644
--- a/rubygem-foreman-tasks/rubygem-foreman-tasks.spec
+++ b/rubygem-foreman-tasks/rubygem-foreman-tasks.spec
@@ -29,17 +29,17 @@ Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires: foreman >= 1.8.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
 
 Requires: %{?scl_prefix}rubygem(dynflow) >= 0.8.3
 Requires: %{?scl_prefix}rubygem(dynflow) < 0.9.0
 Requires: %{?scl_prefix}rubygem-sequel
-Requires: %{?scl_prefix}rubygem(sinatra)
+Requires: %{?scl_prefix_ruby}rubygem(sinatra)
 Requires: %{?scl_prefix}rubygem(daemons)
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 %if 0%{?rhel} == 6
 Requires(post): chkconfig
 Requires(preun): chkconfig
@@ -52,21 +52,22 @@ BuildRequires: systemd
 %endif
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-BuildRequires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildRequires: %{?scl_prefix}rubygem(dynflow) >= 0.8.3
 BuildRequires: %{?scl_prefix}rubygem(dynflow) < 0.9.0
 BuildRequires: %{?scl_prefix}rubygem-sequel
-BuildRequires: %{?scl_prefix}rubygem(sinatra)
+BuildRequires: %{?scl_prefix_ruby}rubygem(sinatra)
 BuildRequires: %{?scl_prefix}rubygem(daemons)
 BuildRequires: foreman-plugin >= 1.8.0
 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 The goal of this plugin is to unify the way of showing task statuses across
@@ -79,6 +80,7 @@ it for managing the tasks.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -406,4 +408,3 @@ exit 0
 
 * Thu Jan 23 2014 Ivan Nečas <inecas@redhat.com> 0.1.0-1
 - new package built with tito
-
diff --git a/rubygem-foreman_abrt/rubygem-foreman_abrt.spec b/rubygem-foreman_abrt/rubygem-foreman_abrt.spec
index f6b2cd47f..2aaa6fa4b 100644
--- a/rubygem-foreman_abrt/rubygem-foreman_abrt.spec
+++ b/rubygem-foreman_abrt/rubygem-foreman_abrt.spec
@@ -28,24 +28,25 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.8.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-abrt
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This plugin allows you to see bug reports submitted by Automatic Bug Reporting
@@ -54,6 +55,7 @@ Tool.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -127,4 +129,3 @@ exit 0
 
 * Mon Aug 11 2014 Martin Milata <mmilata@redhat.com> 0.0.1-1
 - new package
-
diff --git a/rubygem-foreman_api/rubygem-foreman_api.spec b/rubygem-foreman_api/rubygem-foreman_api.spec
index 1264fb00a..d368cfde0 100644
--- a/rubygem-foreman_api/rubygem-foreman_api.spec
+++ b/rubygem-foreman_api/rubygem-foreman_api.spec
@@ -12,24 +12,25 @@ License: MIT
 URL: http://github.com/theforeman/foreman_api
 Source0:  http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}rubygem(json)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}rubygem(json)
 Requires: %{?scl_prefix}rubygem(rest-client) >= 1.6.1
 Requires: %{?scl_prefix}rubygem(oauth)
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Helps you to use Foreman's API calls from your app.
@@ -37,6 +38,7 @@ Helps you to use Foreman's API calls from your app.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
diff --git a/rubygem-foreman_bootdisk/rubygem-foreman_bootdisk.spec b/rubygem-foreman_bootdisk/rubygem-foreman_bootdisk.spec
index 2b9fd609b..1907d793d 100644
--- a/rubygem-foreman_bootdisk/rubygem-foreman_bootdisk.spec
+++ b/rubygem-foreman_bootdisk/rubygem-foreman_bootdisk.spec
@@ -31,25 +31,26 @@ Requires:   /usr/bin/isohybrid
 Requires:   /usr/bin/genisoimage
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
 BuildRequires: foreman-plugin >= 1.9.0
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-bootdisk
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Plugin for Foreman that creates iPXE-based boot disks to provision hosts
@@ -58,6 +59,7 @@ without the need for PXE infrastructure.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -191,4 +193,3 @@ exit 0
 
 * Tue Sep 17 2013 Dominic Cleal <dcleal@redhat.com> 1.2.0-1
 - new package built with tito
-
diff --git a/rubygem-foreman_chef/rubygem-foreman_chef.spec b/rubygem-foreman_chef/rubygem-foreman_chef.spec
index 2a57fd803..4489c5a3c 100644
--- a/rubygem-foreman_chef/rubygem-foreman_chef.spec
+++ b/rubygem-foreman_chef/rubygem-foreman_chef.spec
@@ -27,27 +27,28 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.4.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(deface)
 Requires: %{?scl_prefix}rubygem(foreman-tasks) >= 0.6.9
 Requires: %{?scl_prefix}rubygem(foreman-tasks) < 0.8.0
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-chef
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Foreman extensions that are required for better Chef integration.
@@ -55,6 +56,7 @@ Foreman extensions that are required for better Chef integration.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -139,5 +141,3 @@ exit 0
 
 * Mon Jan 20 2014 Marek Hulan <mhulan@redhat.com> 0.0.3-1
 - new package built with tito
-
-
diff --git a/rubygem-foreman_column_view/rubygem-foreman_column_view.spec b/rubygem-foreman_column_view/rubygem-foreman_column_view.spec
index a82ff3476..8cdde89c6 100644
--- a/rubygem-foreman_column_view/rubygem-foreman_column_view.spec
+++ b/rubygem-foreman_column_view/rubygem-foreman_column_view.spec
@@ -29,24 +29,25 @@ Requires:   foreman >= 1.2.0
 Requires:   %{?scl_prefix}rubygem(deface) < 2.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-column_view
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Displays an additional column in the Foreman Hosts view and/or additional
@@ -55,6 +56,7 @@ entries in the Host show page.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -123,4 +125,3 @@ CONFIG
 
 * Tue Aug 20 2013 Dominic Cleal <dcleal@redhat.com> 0.1.2-1
 - new package built with tito
-
diff --git a/rubygem-foreman_custom_parameters/rubygem-foreman_custom_parameters.spec b/rubygem-foreman_custom_parameters/rubygem-foreman_custom_parameters.spec
index 38087546a..960204342 100644
--- a/rubygem-foreman_custom_parameters/rubygem-foreman_custom_parameters.spec
+++ b/rubygem-foreman_custom_parameters/rubygem-foreman_custom_parameters.spec
@@ -28,24 +28,25 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.2.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-custom-parameters
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Plugin to improve storage of custom information in parameters.
@@ -53,6 +54,7 @@ Plugin to improve storage of custom information in parameters.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -109,4 +111,3 @@ mv %{buildroot}/%{gem_instdir}/custom_parameters.yaml.example \
 
 * Thu Sep 19 2013 Dominic Cleal <dcleal@redhat.com> 0.0.1-1
 - new package built with tito
-
diff --git a/rubygem-foreman_default_hostgroup/rubygem-foreman_default_hostgroup.spec b/rubygem-foreman_default_hostgroup/rubygem-foreman_default_hostgroup.spec
index a90fffede..9d134edaf 100644
--- a/rubygem-foreman_default_hostgroup/rubygem-foreman_default_hostgroup.spec
+++ b/rubygem-foreman_default_hostgroup/rubygem-foreman_default_hostgroup.spec
@@ -28,24 +28,25 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.5.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-default-hostgroup
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Adds the option to specify a default hostgroup for new hosts created from
@@ -54,6 +55,7 @@ facts/reports.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -115,4 +117,3 @@ mv %{buildroot}%{gem_instdir}/default_hostgroup.yaml.example \
 
 * Fri Oct 04 2013 Dominic Cleal <dcleal@redhat.com> 1.0.0-1
 - new package built with tito
-
diff --git a/rubygem-foreman_dhcp_browser/rubygem-foreman_dhcp_browser.spec b/rubygem-foreman_dhcp_browser/rubygem-foreman_dhcp_browser.spec
index 1a8b818c2..844d7b1b3 100644
--- a/rubygem-foreman_dhcp_browser/rubygem-foreman_dhcp_browser.spec
+++ b/rubygem-foreman_dhcp_browser/rubygem-foreman_dhcp_browser.spec
@@ -27,27 +27,28 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.2.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 Requires: %{?scl_prefix}rubygem(deface) < 2.0.0
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-dhcp-browser
 Provides: foreman-plugin-dhcp_browser
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Plugin for Foreman to browse and add/edit/delete DHCP leases independent of
@@ -56,6 +57,7 @@ Foreman's host creation.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -113,4 +115,3 @@ GEMFILE
 
 * Tue Dec 10 2013 Dominic Cleal <dcleal@redhat.com> 0.0.3-1
 - new package built with tito
-
diff --git a/rubygem-foreman_digitalocean/rubygem-foreman_digitalocean.spec b/rubygem-foreman_digitalocean/rubygem-foreman_digitalocean.spec
index 551e3f805..61c9e1173 100644
--- a/rubygem-foreman_digitalocean/rubygem-foreman_digitalocean.spec
+++ b/rubygem-foreman_digitalocean/rubygem-foreman_digitalocean.spec
@@ -28,25 +28,26 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman-compute >= 1.5.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-digitalocean
 Provides: foreman-digitalocean
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This plugin enables provisioning and managing DigitalOcean in Foreman.
@@ -54,6 +55,7 @@ This plugin enables provisioning and managing DigitalOcean in Foreman.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
diff --git a/rubygem-foreman_discovery/rubygem-foreman_discovery.spec b/rubygem-foreman_discovery/rubygem-foreman_discovery.spec
index a2bf61cb2..7560e354d 100644
--- a/rubygem-foreman_discovery/rubygem-foreman_discovery.spec
+++ b/rubygem-foreman_discovery/rubygem-foreman_discovery.spec
@@ -38,26 +38,27 @@ Requires:   foreman >= 1.9.0
 Requires:   %{?scl_prefix}rubygem(deface) < 2.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
 BuildRequires: foreman-plugin >= 1.9.0
 BuildRequires: %{?scl_prefix}rubygem(deface) < 2.0
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-discovery
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 MaaS Discovery Plugin engine for Foreman.
@@ -65,6 +66,7 @@ MaaS Discovery Plugin engine for Foreman.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
diff --git a/rubygem-foreman_docker/rubygem-foreman_docker.spec b/rubygem-foreman_docker/rubygem-foreman_docker.spec
index 6b9fb7a3b..e6a4b5d94 100644
--- a/rubygem-foreman_docker/rubygem-foreman_docker.spec
+++ b/rubygem-foreman_docker/rubygem-foreman_docker.spec
@@ -37,19 +37,19 @@ BuildRequires: %{?scl_prefix}rubygem(wicked) >= 1.1
 BuildRequires: %{?scl_prefix}rubygem(wicked) < 2.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildRequires: foreman-assets
 
 BuildArch: noarch
@@ -57,6 +57,7 @@ BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-docker
 Provides: foreman-docker
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This plugin enables provisioning and managing Docker containers and images in
@@ -65,6 +66,7 @@ Foreman.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -183,4 +185,3 @@ exit 0
 
 * Tue Apr 29 2014 Dominic Cleal <dcleal@redhat.com> 0.0.3-1
 - new package built with tito
-
diff --git a/rubygem-foreman_graphite/rubygem-foreman_graphite.spec b/rubygem-foreman_graphite/rubygem-foreman_graphite.spec
index 5ab6fee20..96b8da7e2 100644
--- a/rubygem-foreman_graphite/rubygem-foreman_graphite.spec
+++ b/rubygem-foreman_graphite/rubygem-foreman_graphite.spec
@@ -28,25 +28,26 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.7.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(graphite-api)
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-graphite
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Adds graphite support for Foreman.
@@ -59,6 +60,7 @@ You will need to install a graphite instance to use this plugin.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -112,4 +114,3 @@ exit 0
 
 * Wed Jan 14 2015 Dominic Cleal <dcleal@redhat.com> 0.0.2-1
 - new package built with tito
-
diff --git a/rubygem-foreman_hooks/rubygem-foreman_hooks.spec b/rubygem-foreman_hooks/rubygem-foreman_hooks.spec
index afc878076..9fd184b5e 100644
--- a/rubygem-foreman_hooks/rubygem-foreman_hooks.spec
+++ b/rubygem-foreman_hooks/rubygem-foreman_hooks.spec
@@ -27,24 +27,25 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.2.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-hooks
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Plugin engine for Foreman that enables running custom hook scripts on Foreman
@@ -54,6 +55,7 @@ events.
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
 Requires:   %{?scl_prefix}rubygem(jgrep)
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -126,4 +128,3 @@ ln -s %{gem_instdir} %{buildroot}%{foreman_dir}/%{gem_name}
 
 * Thu Aug 29 2013 Dominic Cleal <dcleal@redhat.com> 0.3.3-1
 - new package built with tito
-
diff --git a/rubygem-foreman_host_rundeck/rubygem-foreman_host_rundeck.spec b/rubygem-foreman_host_rundeck/rubygem-foreman_host_rundeck.spec
index 8192eb8ce..49e9df452 100644
--- a/rubygem-foreman_host_rundeck/rubygem-foreman_host_rundeck.spec
+++ b/rubygem-foreman_host_rundeck/rubygem-foreman_host_rundeck.spec
@@ -27,19 +27,19 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.6.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
@@ -47,6 +47,7 @@ Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-host-rundeck
 Provides: foreman-plugin-host_rundeck
 Provides: foreman-plugin-rundeck
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Plugin to create rundeck output for hosts.
@@ -55,6 +56,7 @@ Plugin to create rundeck output for hosts.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -103,4 +105,3 @@ exit 0
 %changelog
 * Fri Jan 02 2015 Dominic Cleal <dcleal@redhat.com> 0.0.2-1
 - new package built with tito
-
diff --git a/rubygem-foreman_memcache/rubygem-foreman_memcache.spec b/rubygem-foreman_memcache/rubygem-foreman_memcache.spec
index f40c49c83..d88c4f745 100644
--- a/rubygem-foreman_memcache/rubygem-foreman_memcache.spec
+++ b/rubygem-foreman_memcache/rubygem-foreman_memcache.spec
@@ -29,24 +29,25 @@ Requires:   foreman >= 1.2.0
 Requires:   %{?scl_prefix}rubygem(dalli)
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-memcache
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Adds memcache integeration to foreman.
@@ -54,6 +55,7 @@ Adds memcache integeration to foreman.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -101,4 +103,3 @@ mv %{buildroot}/%{gem_instdir}/%{gem_name}.yaml.example %{buildroot}%{foreman_pl
 %changelog
 * Tue Sep 17 2013 Dominic Cleal <dcleal@redhat.com> 0.0.3-1
 - new package built with tito
-
diff --git a/rubygem-foreman_noenv/rubygem-foreman_noenv.spec b/rubygem-foreman_noenv/rubygem-foreman_noenv.spec
index d90c2e31a..edd951457 100644
--- a/rubygem-foreman_noenv/rubygem-foreman_noenv.spec
+++ b/rubygem-foreman_noenv/rubygem-foreman_noenv.spec
@@ -29,24 +29,25 @@ Requires:   foreman >= 1.8.0
 Requires:   %{?scl_prefix}rubygem(deface) < 2.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-noenv
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Adds an 'agent-specified host' option to each host in Foreman that prevents
@@ -55,6 +56,7 @@ the ENC from outputting host's Puppet environment.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
diff --git a/rubygem-foreman_one/rubygem-foreman_one.spec b/rubygem-foreman_one/rubygem-foreman_one.spec
index 537f02421..46f4be260 100644
--- a/rubygem-foreman_one/rubygem-foreman_one.spec
+++ b/rubygem-foreman_one/rubygem-foreman_one.spec
@@ -30,19 +30,19 @@ Requires:   %{?scl_prefix}rubygem(fog) >= 1.23.0
 Requires:   %{?scl_prefix}rubygem(opennebula) >= 4.4.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
@@ -51,6 +51,7 @@ Provides: foreman-plugin-one
 Provides: foreman-plugin-opennebula
 Provides: foreman-one
 Provides: foreman-opennebula
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This plugin enables provisioning and managing OpenNebula VMs in Foreman.
@@ -58,6 +59,7 @@ This plugin enables provisioning and managing OpenNebula VMs in Foreman.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -103,4 +105,3 @@ GEMFILE
 %changelog
 * Wed Aug 13 2014 Dominic Cleal <dcleal@redhat.com> 0.2-1
 - new package built with tito
-
diff --git a/rubygem-foreman_openscap/rubygem-foreman_openscap.spec b/rubygem-foreman_openscap/rubygem-foreman_openscap.spec
index e8775face..d69eb9907 100644
--- a/rubygem-foreman_openscap/rubygem-foreman_openscap.spec
+++ b/rubygem-foreman_openscap/rubygem-foreman_openscap.spec
@@ -30,16 +30,16 @@ Requires: %{?scl_prefix}rubygem(deface) < 2.0
 Requires: %{?scl_prefix}rubygem(scaptimony) >= 0.3.2
 Requires: %{?scl_prefix}rubygem(scaptimony) < 0.4.0
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
-Requires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
-Requires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildRequires: foreman-assets >= 1.7.0
 BuildRequires: foreman-plugin >= 1.8.0
 BuildRequires: %{?scl_prefix}rubygem(deface) < 2.0
@@ -49,6 +49,7 @@ BuildRequires: %{?scl_prefix}rubygem(scaptimony) < 0.4.0
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-openscap
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Foreman plug-in for managing security compliance reports.
@@ -58,6 +59,7 @@ Foreman plug-in for managing security compliance reports.
 Summary: Documentation for %{name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-foreman_param_lookup/rubygem-foreman_param_lookup.spec b/rubygem-foreman_param_lookup/rubygem-foreman_param_lookup.spec
index a08468ae6..b735e17f0 100644
--- a/rubygem-foreman_param_lookup/rubygem-foreman_param_lookup.spec
+++ b/rubygem-foreman_param_lookup/rubygem-foreman_param_lookup.spec
@@ -28,25 +28,26 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.2.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-param_lookup
 Provides: foreman-plugin-param-lookup
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Exposes smart class parameters lookups as an API.
@@ -54,6 +55,7 @@ Exposes smart class parameters lookups as an API.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -105,4 +107,3 @@ GEMFILE
 
 * Mon Nov 04 2013 Dominic Cleal <dcleal@redhat.com> 0.1.0-1
 - new package built with tito
-
diff --git a/rubygem-foreman_remote_execution/rubygem-foreman_remote_execution.spec b/rubygem-foreman_remote_execution/rubygem-foreman_remote_execution.spec
index 52d74f9b6..57c1a7f38 100644
--- a/rubygem-foreman_remote_execution/rubygem-foreman_remote_execution.spec
+++ b/rubygem-foreman_remote_execution/rubygem-foreman_remote_execution.spec
@@ -25,34 +25,35 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.9.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(foreman-tasks) >= 0.7.3
 Requires: %{?scl_prefix}rubygem(foreman-tasks) < 0.8.0
-Requires: %{?scl_prefix}rubygem(rails) >= 3.2.8
-Requires: %{?scl_prefix}rubygem(rails) < 3.3.0
+Requires: %{?scl_prefix_ruby}rubygem(rails) >= 3.2.8
+Requires: %{?scl_prefix_ruby}rubygem(rails) < 3.3.0
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
 BuildRequires: foreman-plugin >= 1.9.0
 BuildRequires: foreman-assets
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildRequires: %{?scl_prefix}rubygem(foreman-tasks) >= 0.7.3
 BuildRequires: %{?scl_prefix}rubygem(foreman-tasks) < 0.8.0
-BuildRequires: %{?scl_prefix}rubygem(rails) >= 3.2.8
-BuildRequires: %{?scl_prefix}rubygem(rails) < 3.3.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(rails) >= 3.2.8
+BuildRequires: %{?scl_prefix_ruby}rubygem(rails) < 3.3.0
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-remote_execution
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A plugin bringing remote execution to the Foreman, completing the config
@@ -61,6 +62,7 @@ management functionality with remote management functionality
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
diff --git a/rubygem-foreman_reserve/rubygem-foreman_reserve.spec b/rubygem-foreman_reserve/rubygem-foreman_reserve.spec
index 4d9b40731..d11712b70 100644
--- a/rubygem-foreman_reserve/rubygem-foreman_reserve.spec
+++ b/rubygem-foreman_reserve/rubygem-foreman_reserve.spec
@@ -27,24 +27,25 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.4.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-hooks
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Plugin engine for Foreman that allows reservation of hosts via the API.
@@ -52,6 +53,7 @@ Plugin engine for Foreman that allows reservation of hosts via the API.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
diff --git a/rubygem-foreman_salt/rubygem-foreman_salt.spec b/rubygem-foreman_salt/rubygem-foreman_salt.spec
index 6bf9abe5b..b62cba986 100644
--- a/rubygem-foreman_salt/rubygem-foreman_salt.spec
+++ b/rubygem-foreman_salt/rubygem-foreman_salt.spec
@@ -26,24 +26,24 @@ Requires:   foreman >= 1.9.0
 Requires:   %{?scl_prefix}rubygem(deface)
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem-foreman-tasks >= 0.7.1
 Requires: %{?scl_prefix}rubygem-foreman-tasks < 0.8.0
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
 BuildRequires: foreman-plugin >= 1.8.0
 BuildRequires: foreman-assets
 BuildRequires: %{?scl_prefix}rubygem(deface)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildRequires: %{?scl_prefix}rubygem-foreman-tasks >= 0.7.1
 BuildRequires: %{?scl_prefix}rubygem-foreman-tasks < 0.8.0
 
@@ -51,6 +51,7 @@ BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-salt
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Foreman extensions that provide Salt support
@@ -58,6 +59,7 @@ Foreman extensions that provide Salt support
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
diff --git a/rubygem-foreman_setup/rubygem-foreman_setup.spec b/rubygem-foreman_setup/rubygem-foreman_setup.spec
index 5351f848e..98f652ae6 100644
--- a/rubygem-foreman_setup/rubygem-foreman_setup.spec
+++ b/rubygem-foreman_setup/rubygem-foreman_setup.spec
@@ -25,19 +25,19 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.9.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildRequires: foreman-plugin >= 1.9.0
 BuildRequires: foreman-assets
 
@@ -45,6 +45,7 @@ BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-setup
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Plugin for Foreman that helps set up provisioning.
@@ -52,6 +53,7 @@ Plugin for Foreman that helps set up provisioning.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -151,4 +153,3 @@ exit 0
 
 * Tue Oct 29 2013 Dominic Cleal <dcleal@redhat.com> 1.0.0-1
 - new package built with tito
-
diff --git a/rubygem-foreman_snapshot/rubygem-foreman_snapshot.spec b/rubygem-foreman_snapshot/rubygem-foreman_snapshot.spec
index b65a21577..856fe1343 100644
--- a/rubygem-foreman_snapshot/rubygem-foreman_snapshot.spec
+++ b/rubygem-foreman_snapshot/rubygem-foreman_snapshot.spec
@@ -28,24 +28,25 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.5.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-snapshot
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Plugin to enable snapshots on OpenStack/EC2/oVirt/etc.
@@ -53,6 +54,7 @@ Plugin to enable snapshots on OpenStack/EC2/oVirt/etc.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -98,4 +100,3 @@ GEMFILE
 %changelog
 * Tue Mar 25 2014 Dominic Cleal <dcleal@redhat.com> 0.1.0-1
 - new package built with tito
-
diff --git a/rubygem-foreman_templates/rubygem-foreman_templates.spec b/rubygem-foreman_templates/rubygem-foreman_templates.spec
index 319b33012..0239c47ed 100644
--- a/rubygem-foreman_templates/rubygem-foreman_templates.spec
+++ b/rubygem-foreman_templates/rubygem-foreman_templates.spec
@@ -27,28 +27,29 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.9.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 Requires: git
 Requires: %{?scl_prefix}rubygem(diffy)
 Requires: %{?scl_prefix}rubygem(git)
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-templates
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This plugin will sync the contents of the Foreman Community Templates
@@ -57,6 +58,7 @@ repository (or a git repo of your choice) to your local Foreman instance.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -120,4 +122,3 @@ GEMFILE
 
 * Wed Nov 20 2013 Dominic Cleal <dcleal@redhat.com> 1.2.0-1
 - new package built with tito
-
diff --git a/rubygem-foreman_xen/rubygem-foreman_xen.spec b/rubygem-foreman_xen/rubygem-foreman_xen.spec
index eaa7d4778..0d111ed91 100644
--- a/rubygem-foreman_xen/rubygem-foreman_xen.spec
+++ b/rubygem-foreman_xen/rubygem-foreman_xen.spec
@@ -29,25 +29,26 @@ Requires:   foreman-compute >= 1.8.1
 Requires:   %{?scl_prefix}rubygem(deface) < 2.0.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-xen
 Provides: foreman-xen
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This plugin enables provisioning and managing XEN Server in Foreman.
@@ -55,6 +56,7 @@ This plugin enables provisioning and managing XEN Server in Foreman.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -129,4 +131,3 @@ GEMFILE
 
 * Wed May 21 2014 Dominic Cleal <dcleal@redhat.com> 0.0.1-1
 - new package built with tito
-
diff --git a/rubygem-foremancli/rubygem-foremancli.spec b/rubygem-foremancli/rubygem-foremancli.spec
index 35f7814f0..d15b4f0f5 100644
--- a/rubygem-foremancli/rubygem-foremancli.spec
+++ b/rubygem-foremancli/rubygem-foremancli.spec
@@ -12,23 +12,24 @@ Group: Development/Ruby
 License: GPLv2+
 URL: https://github.com/ohadlevy/foreman/blob/master/extras/cli/foremancli
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 Requires: %{?scl_prefix}rubygem-rest-client => 1.4
 Requires: %{?scl_prefix}rubygem-rest-client < 2
 
-Requires: %{?scl_prefix}rubygem-json => 1.4
-Requires: %{?scl_prefix}rubygem-json < 2
+Requires: %{?scl_prefix_ruby}rubygem-json => 1.4
+Requires: %{?scl_prefix_ruby}rubygem-json < 2
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
-Requires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(foremancli) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %define gembuilddir %{buildroot}%{gem_dir}
 
@@ -39,6 +40,7 @@ for sysadmins.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -86,4 +88,3 @@ rm -rf %{buildroot}%{gem_instdir}/.yardoc
 
 * Thu Sep 06 2012 Miroslav Suchý <msuchy@redhat.com> 1.0-1
 - new package built with tito
-
diff --git a/rubygem-formatador/rubygem-formatador.spec b/rubygem-formatador/rubygem-formatador.spec
index c575b0cc0..8cf6110ac 100644
--- a/rubygem-formatador/rubygem-formatador.spec
+++ b/rubygem-formatador/rubygem-formatador.spec
@@ -16,14 +16,15 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 # TODO: Fix tests failing when redirected to a file, reported at
 # https://github.com/geemus/formatador/commit/a874311f52a34b9a1f1d0fe9fef20a095b79f941
 Patch0: formatador-fix-tests-when-redirecting-to-file.patch
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
-BuildRequires: %{?scl_prefix}rubygems-devel
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 %if 0%{bootstrap} < 1
 BuildRequires: %{?scl_prefix}rubygem(shindo)
 %endif
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 STDOUT text formatting
@@ -32,6 +33,7 @@ STDOUT text formatting
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 Documentation for %{pkg_name}
diff --git a/rubygem-friendly_id/rubygem-friendly_id.spec b/rubygem-friendly_id/rubygem-friendly_id.spec
index 2743b46f0..34ec7d0e8 100644
--- a/rubygem-friendly_id/rubygem-friendly_id.spec
+++ b/rubygem-friendly_id/rubygem-friendly_id.spec
@@ -14,25 +14,26 @@ URL: https://github.com/norman/friendly_id
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
-Requires: %{?scl_prefix}rubygem-activerecord >= 1:3.0
-Requires: %{?scl_prefix}rubygem-activerecord < 1:4.0
+Requires: %{?scl_prefix_ruby}rubygem-activerecord >= 1:3.0
+Requires: %{?scl_prefix_ruby}rubygem-activerecord < 1:4.0
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 FriendlyId is the "Swiss Army bulldozer" of slugging and permalink plugins for
@@ -44,6 +45,7 @@ human-friendly strings as if they were numeric ids for Active Record models.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -88,4 +90,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Mon Sep 29 2014 Dominic Cleal <dcleal@redhat.com> 4.0.10.1-1
 - new package built with tito
-
diff --git a/rubygem-gettext/rubygem-gettext.spec b/rubygem-gettext/rubygem-gettext.spec
index c8163b612..dd7c2d711 100644
--- a/rubygem-gettext/rubygem-gettext.spec
+++ b/rubygem-gettext/rubygem-gettext.spec
@@ -19,9 +19,9 @@ License:	Ruby
 URL:		http://www.yotabanana.com/hiki/ruby-gettext.html?ruby-gettext
 Source0:	http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 
-Requires:	%{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires:	%{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires:	%{?scl_prefix}rubygems-devel
+Requires:	%{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires:	%{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires:	%{?scl_prefix_ruby}rubygems-devel
 # Disable tests
 ## For %%check
 #BuildRequires:	%{?scl_prefix}rubygem(locale) >= %{locale_ver}
@@ -30,17 +30,18 @@ BuildRequires:	%{?scl_prefix}rubygems-devel
 #BuildRequires:	%{?scl_prefix}rubygem(test-unit-rr)
 #BuildRequires:	%{?scl_prefix}rubygem(text)
 # test/tools/test_task.rb -> lib/gettext/tools/task.rb
-#BuildRequires:	%{?scl_prefix}rubygem(rake)
+#BuildRequires:	%{?scl_prefix_ruby}rubygem(rake)
 BuildRequires:	gettext
 
-Requires:	%{?scl_prefix}ruby(rubygems)
+Requires:	%{?scl_prefix_ruby}ruby(rubygems)
 Requires:	%{?scl_prefix}rubygem(locale) >= %{locale_ver}
 Requires:	%{?scl_prefix}rubygem(text)
-Requires:	%{?scl_prefix}irb
+Requires:	%{?scl_prefix_ruby}irb
 Provides:	%{?scl_prefix}rubygem(%{gem_name}) = %{version}-%{release}
 
 Obsoletes:	%{?scl_prefix}ruby-gettext-package <= %{version}-%{release}
 Provides:	%{?scl_prefix}ruby-gettext-package = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 BuildArch:	noarch
 
@@ -55,6 +56,7 @@ This package provides gem for Ruby-Gettext-Package.
 Summary:	Documentation for %{pkg_name}
 Group:		Documentation
 Requires:	%{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description	doc
 This package contains documentation for %{pkg_name}.
diff --git a/rubygem-gettext_i18n_rails/rubygem-gettext_i18n_rails.spec b/rubygem-gettext_i18n_rails/rubygem-gettext_i18n_rails.spec
index 72075a9c1..a2736cb76 100644
--- a/rubygem-gettext_i18n_rails/rubygem-gettext_i18n_rails.spec
+++ b/rubygem-gettext_i18n_rails/rubygem-gettext_i18n_rails.spec
@@ -11,16 +11,17 @@ Group: Development/Languages
 License: MIT
 URL: http://github.com/grosser/gettext_i18n_rails
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
 Requires: %{?scl_prefix}rubygem(fast_gettext) >= 0.9.0
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Translate via FastGettext, use any other I18n backend as extension/fallback.
@@ -29,6 +30,7 @@ Translate via FastGettext, use any other I18n backend as extension/fallback.
 Summary: Documentation for %{name}
 Group: Documentation
 Requires: %{name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-gettext_i18n_rails_js/rubygem-gettext_i18n_rails_js.spec b/rubygem-gettext_i18n_rails_js/rubygem-gettext_i18n_rails_js.spec
index 52e8b7200..2f421debb 100644
--- a/rubygem-gettext_i18n_rails_js/rubygem-gettext_i18n_rails_js.spec
+++ b/rubygem-gettext_i18n_rails_js/rubygem-gettext_i18n_rails_js.spec
@@ -13,25 +13,26 @@ License: MIT
 URL: http://github.com/nubis/gettext_i18n_rails_js
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 Requires: %{?scl_prefix}rubygem(gettext_i18n_rails) >= 0.7.1
-Requires: %{?scl_prefix}rubygem(rails) >= 3.2.0
-Requires: %{?scl_prefix}rubygem(rails) < 3.3.0
+Requires: %{?scl_prefix_ruby}rubygem(rails) >= 3.2.0
+Requires: %{?scl_prefix_ruby}rubygem(rails) < 3.3.0
 Requires: %{?scl_prefix}rubygem(po_to_json) >= 0.0.7
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 gettext_i18n_rails will find translations inside your .js and .coffee files,
@@ -43,6 +44,7 @@ translations offline from client side javascript.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -81,4 +83,3 @@ cp -a .%{gem_dir}/* \
 
 * Tue May 14 2013 Dominic Cleal <dcleal@redhat.com> 0.0.8-1
 - new package built with tito
-
diff --git a/rubygem-git/rubygem-git.spec b/rubygem-git/rubygem-git.spec
index a7f2cdf2b..ca4d3ba34 100644
--- a/rubygem-git/rubygem-git.spec
+++ b/rubygem-git/rubygem-git.spec
@@ -11,11 +11,12 @@ Group:          Development/Languages
 License:        MIT
 URL:            http://rubyforge.org/projects/git/
 Source0:        http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
-Requires:       %{?scl_prefix}ruby(rubygems)
-Requires:       %{?scl_prefix}ruby(abi) = 1.9.1
-BuildRequires:  %{?scl_prefix}rubygems-devel
+Requires:       %{?scl_prefix_ruby}ruby(rubygems)
+Requires:       %{?scl_prefix_ruby}ruby(abi) = 1.9.1
+BuildRequires:  %{?scl_prefix_ruby}rubygems-devel
 BuildArch:      noarch
 Provides:       %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A package for using Git in Ruby code.
diff --git a/rubygem-google-api-client/rubygem-google-api-client.spec b/rubygem-google-api-client/rubygem-google-api-client.spec
index cc368b456..462083a21 100644
--- a/rubygem-google-api-client/rubygem-google-api-client.spec
+++ b/rubygem-google-api-client/rubygem-google-api-client.spec
@@ -14,13 +14,13 @@ URL: https://github.com/google/google-api-ruby-client
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygem(activesupport) >= 3.2
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygem(activesupport) >= 3.2
 Requires: %{?scl_prefix}rubygem(addressable) >= 2.3
 Requires: %{?scl_prefix}rubygem(addressable) < 3.0
 Requires: %{?scl_prefix}rubygem(autoparse) >= 0.3
@@ -40,14 +40,15 @@ Requires: %{?scl_prefix}rubygem(signet) < 1.0
 Requires: ca-certificates
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 The Google API Ruby Client makes it trivial to discover and access supported
@@ -57,6 +58,7 @@ APIs.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -111,4 +113,3 @@ ln -sf /etc/pki/tls/cert.pem \
 
 * Sun Nov 10 2013 Dominic Cleal <dcleal@redhat.com> 0.6.4-1
 - new package built with tito
-
diff --git a/rubygem-graphite-api/rubygem-graphite-api.spec b/rubygem-graphite-api/rubygem-graphite-api.spec
index c62c40267..a236aad77 100644
--- a/rubygem-graphite-api/rubygem-graphite-api.spec
+++ b/rubygem-graphite-api/rubygem-graphite-api.spec
@@ -14,24 +14,25 @@ URL: https://github.com/kontera-technologies/graphite-api
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 Requires: %{?scl_prefix}rubygem(eventmachine) >= 0.3.3
 Requires: %{?scl_prefix}rubygem(zscheduler) >= 0.0.3
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A Ruby API toolkit for Graphite.
@@ -45,6 +46,7 @@ plaintext protocol.
 Summary: Documentation for %{name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -87,4 +89,3 @@ cp -pa .%{_bindir}/* %{buildroot}%{_bindir}/
 %changelog
 * Wed Jan 14 2015 Dominic Cleal <dcleal@redhat.com> 0.1.5-1
 - new package built with tito
-
diff --git a/rubygem-gridster-rails/rubygem-gridster-rails.spec b/rubygem-gridster-rails/rubygem-gridster-rails.spec
index 2d9d4b5e9..4cb082401 100644
--- a/rubygem-gridster-rails/rubygem-gridster-rails.spec
+++ b/rubygem-gridster-rails/rubygem-gridster-rails.spec
@@ -14,23 +14,24 @@ URL: https://github.com/vanetten/gridster-rails
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygem(railties) >= 3.1.0
-Requires: %{?scl_prefix}rubygem(railties) < 4.0.0
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygem(railties) >= 3.1.0
+Requires: %{?scl_prefix_ruby}rubygem(railties) < 4.0.0
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Gridster is a jQuery plugin that makes building intuitive draggable layouts
@@ -41,6 +42,7 @@ remove elements from the grid.
 Summary: Documentation for %{name}
 Group: Documentation
 Requires: %{name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -90,4 +92,3 @@ cp -pa .%{gem_dir}/* \
 
 * Tue May 20 2014 Dominic Cleal <dcleal@redhat.com> 0.1.5-1
 - new package built with tito
-
diff --git a/rubygem-hammer_cli/rubygem-hammer_cli.spec b/rubygem-hammer_cli/rubygem-hammer_cli.spec
index fd4312ccd..ec35a06f8 100644
--- a/rubygem-hammer_cli/rubygem-hammer_cli.spec
+++ b/rubygem-hammer_cli/rubygem-hammer_cli.spec
@@ -17,12 +17,12 @@ URL: http://github.com/theforeman/hammer-cli
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
 
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(clamp) >= 1.0.0
 Requires: %{?scl_prefix}rubygem(rb-readline)
 Requires: %{?scl_prefix}rubygem(rest-client) < 1.7.0
@@ -32,21 +32,22 @@ Requires: %{?scl_prefix}rubygem(table_print) >= 1.5.0
 Requires: %{?scl_prefix}rubygem(highline) < 1.7.0
 Requires: %{?scl_prefix}rubygem(fast_gettext)
 Requires: %{?scl_prefix}rubygem(locale) >= 2.0.6
-Requires: %{?scl_prefix}rubygem(json)
+Requires: %{?scl_prefix_ruby}rubygem(json)
 Requires: %{?scl_prefix}rubygem(fastercsv)
-Requires: %{?scl_prefix}rubygem(mime-types) < 2.0.0
+Requires: %{?scl_prefix_ruby}rubygem(mime-types) < 2.0.0
 Requires: %{?scl_prefix}rubygem(apipie-bindings) >= 0.0.10
 Requires: %{?scl_prefix}rubygem(apipie-bindings) < 0.1.0
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name} < 0.3.0-2
 %endif
@@ -58,6 +59,7 @@ Hammer cli provides universal extendable CLI interface for ruby apps
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name}-doc < 0.3.0-2
@@ -83,7 +85,7 @@ mkdir -p %{buildroot}%{gem_dir}
 cp -pa .%{gem_dir}/* \
         %{buildroot}%{gem_dir}/
 
-sed -i '1s@/.*@/usr/bin/%{?scl_prefix}ruby@' .%{_root_bindir}/*
+sed -i '1s@/.*@/usr/bin/%{?scl_prefix_ruby}ruby@' .%{_root_bindir}/*
 mkdir -p %{buildroot}%{_root_bindir}
 cp -pa .%{_root_bindir}/* \
         %{buildroot}%{_root_bindir}/
diff --git a/rubygem-hammer_cli_foreman/rubygem-hammer_cli_foreman.spec b/rubygem-hammer_cli_foreman/rubygem-hammer_cli_foreman.spec
index fddbbd2c3..960bd60a1 100644
--- a/rubygem-hammer_cli_foreman/rubygem-hammer_cli_foreman.spec
+++ b/rubygem-hammer_cli_foreman/rubygem-hammer_cli_foreman.spec
@@ -16,11 +16,11 @@ URL: http://github.com/theforeman/hammer-cli-foreman
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(hammer_cli) >= 0.3.0
 Requires: %{?scl_prefix}rubygem(apipie-bindings) >= 0.0.11
 Requires: %{?scl_prefix}rubygem(apipie-bindings) < 0.1.0
@@ -28,15 +28,16 @@ Requires: %{?scl_prefix}rubygem(rest-client) < 1.7.0
 Requires: %{?scl_prefix}rubygem(rest-client) >= 1.6.5
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name} < 0.3.0-2
 %endif
@@ -48,6 +49,7 @@ Hammer cli provides universal extendable CLI interface for ruby apps
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name}-doc < 0.3.0-2
diff --git a/rubygem-hammer_cli_foreman_bootdisk/rubygem-hammer_cli_foreman_bootdisk.spec b/rubygem-hammer_cli_foreman_bootdisk/rubygem-hammer_cli_foreman_bootdisk.spec
index b68b01764..1efb59456 100644
--- a/rubygem-hammer_cli_foreman_bootdisk/rubygem-hammer_cli_foreman_bootdisk.spec
+++ b/rubygem-hammer_cli_foreman_bootdisk/rubygem-hammer_cli_foreman_bootdisk.spec
@@ -16,18 +16,19 @@ URL: http://github.com/theforeman/hammer_cli_foreman_bootdisk
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
 
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(hammer_cli_foreman) >= 0.1.2
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name} < 0.1.3-2
 %endif
@@ -40,6 +41,7 @@ to Foreman for ISO/USB booting support.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name}-doc < 0.1.3-2
diff --git a/rubygem-hammer_cli_foreman_discovery/rubygem-hammer_cli_foreman_discovery.spec b/rubygem-hammer_cli_foreman_discovery/rubygem-hammer_cli_foreman_discovery.spec
index 7fa37db53..589e73eb8 100644
--- a/rubygem-hammer_cli_foreman_discovery/rubygem-hammer_cli_foreman_discovery.spec
+++ b/rubygem-hammer_cli_foreman_discovery/rubygem-hammer_cli_foreman_discovery.spec
@@ -16,18 +16,19 @@ URL: https://github.com/theforeman/hammer-cli-foreman-discovery
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
 
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(hammer_cli_foreman) >= 0.1.2
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name} < 0.0.2-2
 %endif
@@ -40,6 +41,7 @@ to Foreman for bare-metal hardware discovery.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name}-doc < 0.0.2-2
diff --git a/rubygem-hammer_cli_foreman_docker/rubygem-hammer_cli_foreman_docker.spec b/rubygem-hammer_cli_foreman_docker/rubygem-hammer_cli_foreman_docker.spec
index cdee0b03c..4852847b8 100644
--- a/rubygem-hammer_cli_foreman_docker/rubygem-hammer_cli_foreman_docker.spec
+++ b/rubygem-hammer_cli_foreman_docker/rubygem-hammer_cli_foreman_docker.spec
@@ -16,18 +16,19 @@ URL: http://github.com/theforeman/hammer_cli_foreman_docker
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
 
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(hammer_cli_foreman) >= 0.1.2
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name} < 0.0.3-3
 %endif
@@ -40,6 +41,7 @@ command line
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name}-doc < 0.0.3-3
diff --git a/rubygem-hammer_cli_foreman_salt/rubygem-hammer_cli_foreman_salt.spec b/rubygem-hammer_cli_foreman_salt/rubygem-hammer_cli_foreman_salt.spec
index 7e4194dad..bb5f31357 100644
--- a/rubygem-hammer_cli_foreman_salt/rubygem-hammer_cli_foreman_salt.spec
+++ b/rubygem-hammer_cli_foreman_salt/rubygem-hammer_cli_foreman_salt.spec
@@ -16,18 +16,19 @@ URL: http://github.com/theforeman/hammer_cli_foreman_salt
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
 
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(hammer_cli_foreman) >= 0.1.2
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name} < 0.0.4-2
 %endif
@@ -40,6 +41,7 @@ that provides Salt integration in Foreman.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name}-doc < 0.0.4-2
diff --git a/rubygem-hammer_cli_foreman_ssh/rubygem-hammer_cli_foreman_ssh.spec b/rubygem-hammer_cli_foreman_ssh/rubygem-hammer_cli_foreman_ssh.spec
index b68c7e75c..62a4f1f71 100644
--- a/rubygem-hammer_cli_foreman_ssh/rubygem-hammer_cli_foreman_ssh.spec
+++ b/rubygem-hammer_cli_foreman_ssh/rubygem-hammer_cli_foreman_ssh.spec
@@ -17,20 +17,21 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 Source1: foreman_ssh.yml
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
 
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(hammer_cli) >= 0.0.6
 Requires: %{?scl_prefix}rubygem(hammer_cli_foreman)
 Requires: %{?scl_prefix}rubygem(net-ssh-multi)
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name} < 0.0.2-2
 %endif
@@ -42,6 +43,7 @@ Adds remote SSH support to Hammer Foreman CLI.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name}-doc < 0.0.2-2
diff --git a/rubygem-hammer_cli_foreman_tasks/rubygem-hammer_cli_foreman_tasks.spec b/rubygem-hammer_cli_foreman_tasks/rubygem-hammer_cli_foreman_tasks.spec
index 0e0af4f70..273ecaaeb 100644
--- a/rubygem-hammer_cli_foreman_tasks/rubygem-hammer_cli_foreman_tasks.spec
+++ b/rubygem-hammer_cli_foreman_tasks/rubygem-hammer_cli_foreman_tasks.spec
@@ -16,21 +16,22 @@ URL: http://github.com/theforeman/hammer-cli-foreman-tasks
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
 
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(hammer_cli_foreman) > 0.1.1
 Requires: %{?scl_prefix}rubygem(hammer_cli_foreman) < 0.4.0
 Requires: %{?scl_prefix}rubygem(powerbar) >= 1.0.11
 Requires: %{?scl_prefix}rubygem(powerbar) < 1.1.0
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name} < 0.0.7-2
 %endif
@@ -42,6 +43,7 @@ Foreman CLI plugin for showing task information for resources and users
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 %if 0%{?scl:1}
 Obsoletes: rubygem-%{gem_name}-doc < 0.0.7-2
diff --git a/rubygem-hashie/rubygem-hashie.spec b/rubygem-hashie/rubygem-hashie.spec
index 5a5e01a63..3893a2504 100644
--- a/rubygem-hashie/rubygem-hashie.spec
+++ b/rubygem-hashie/rubygem-hashie.spec
@@ -23,18 +23,19 @@ Source0:   http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
 BuildArch: noarch
 Provides:  %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && 0%{!?scl:1})
-Requires:  %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires:  %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires:  %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires:  %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires:  %{?scl_prefix}rubygems
+Requires:  %{?scl_prefix_ruby}rubygems
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 %description
 %{desc}
@@ -42,6 +43,7 @@ BuildRequires: %{?scl_prefix}rubygems
 %package   doc
 BuildArch: noarch
 Requires:  %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:   Documentation for %{pkg_name}
 
 %description doc
@@ -109,4 +111,3 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}
 
 * Fri Sep 06 2013 Marek Hulan <mhulan@redhat.com> 2.0.5-0
 - new package built with tito
-
diff --git a/rubygem-highline/highline.spec b/rubygem-highline/highline.spec
index 02dcde67d..ff05fac6e 100644
--- a/rubygem-highline/highline.spec
+++ b/rubygem-highline/highline.spec
@@ -11,7 +11,7 @@
 %define _url https://github.com/JEG2/highline
 %define _license GPLv2+ or Ruby
 
-# add gem dependencies, e.g. "Requires: %{?scl_prefix}rubygem(rails) > 3.2"
+# add gem dependencies, e.g. "Requires: %{?scl_prefix_ruby}rubygem(rails) > 3.2"
 
 # end of EDIT
 
@@ -26,18 +26,19 @@ Source0:   http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
 BuildArch: noarch
 Provides:  %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires:  %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires:  %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires:  %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires:  %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires:  %{?scl_prefix}rubygems
+Requires:  %{?scl_prefix_ruby}rubygems
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 %description
 A high-level IO library that provides validation, type conversion, and more for
diff --git a/rubygem-hirb-unicode/rubygem-hirb-unicode.spec b/rubygem-hirb-unicode/rubygem-hirb-unicode.spec
index 063e2f9c2..1f501df41 100644
--- a/rubygem-hirb-unicode/rubygem-hirb-unicode.spec
+++ b/rubygem-hirb-unicode/rubygem-hirb-unicode.spec
@@ -12,13 +12,13 @@ Group: Development/Ruby
 License: MIT
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
-Requires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem-hirb => 0.5
 Requires: %{?scl_prefix}rubygem-hirb < 1
 
@@ -26,6 +26,7 @@ Requires: %{?scl_prefix}rubygem-unicode-display_width => 0.1.1
 Requires: %{?scl_prefix}rubygem-unicode-display_width < 0.2
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(hirb-unicode) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %global gembuilddir %{buildroot}%{gem_dir}
 
@@ -35,6 +36,7 @@ Unicode support for hirb
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -83,4 +85,3 @@ rm -f %{buildroot}%{gem_instdir}/.gitignore
 
 * Thu Sep 06 2012 Miroslav Suchý <msuchy@redhat.com> 0.0.5-1
 - new package built with tito
-
diff --git a/rubygem-hirb/rubygem-hirb.spec b/rubygem-hirb/rubygem-hirb.spec
index 624767e16..def9a4827 100644
--- a/rubygem-hirb/rubygem-hirb.spec
+++ b/rubygem-hirb/rubygem-hirb.spec
@@ -13,15 +13,16 @@ License: MIT
 URL: http://tagaholic.me/hirb/
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
-Requires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(hirb) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %global gembuilddir %{buildroot}%{gem_dir}
 
@@ -41,6 +42,7 @@ menus.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -87,4 +89,3 @@ gem install --local --install-dir %{gembuilddir} --force %{SOURCE0}
 
 * Tue Sep 11 2012 Miroslav Suchý <msuchy@redhat.com> 0.7.0-2
 - new package built with tito
-
diff --git a/rubygem-hoe/rubygem-hoe.spec b/rubygem-hoe/rubygem-hoe.spec
index 14a084253..f3a40af29 100644
--- a/rubygem-hoe/rubygem-hoe.spec
+++ b/rubygem-hoe/rubygem-hoe.spec
@@ -16,18 +16,19 @@ Source0:    	http://rubygems.org/gems/%{gem_name}-%{version}.gem
 Patch0:		rubygem-hoe-2.12.2-rescue-missing-Manifest.patch
 # Rescue RDoc::Task when rubygem(rdoc) is not installed
 Patch1:		rubygem-hoe-2.12.3-rdoctask-rescue.patch
-Requires:   	%{?scl_prefix}ruby(abi) = 1.9.1
-Requires:   	%{?scl_prefix}rubygems >= 1.3.6
+Requires:   	%{?scl_prefix_ruby}ruby(abi) = 1.9.1
+Requires:   	%{?scl_prefix_ruby}rubygems >= 1.3.6
 Requires:   	%{?scl_prefix}rubygem(rubyforge) >= 2.0.4
-Requires:   	%{?scl_prefix}rubygem(rake)      >= 0.8.7
-#Requires:       %{?scl_prefix}rubygem(minitest)  >= 1.7.0
-BuildRequires:  %{?scl_prefix}rubygems-devel >= 1.3.6
+Requires:   	%{?scl_prefix_ruby}rubygem(rake)      >= 0.8.7
+#Requires:       %{?scl_prefix_ruby}rubygem(minitest)  >= 1.7.0
+BuildRequires:  %{?scl_prefix_ruby}rubygems-devel >= 1.3.6
 # %%check
-BuildRequires:	%{?scl_prefix}rubygem(minitest)
-BuildRequires:	%{?scl_prefix}rubygem(rake)
+BuildRequires:	%{?scl_prefix_ruby}rubygem(minitest)
+BuildRequires:	%{?scl_prefix_ruby}rubygem(rake)
 BuildRequires:	%{?scl_prefix}rubygem(rubyforge)
 BuildArch:  	noarch
 Provides:   	%{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Hoe is a rake/rubygems helper for project Rakefiles. It helps generate
@@ -52,6 +53,7 @@ See class rdoc for help. Hint: ri Hoe
 Summary:	Documentation for %{pkg_name}
 Group:		Documentation
 Requires:	%{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description	doc
 This package contains documentation for %{pkg_name}.
diff --git a/rubygem-ipaddress/rubygem-ipaddress.spec b/rubygem-ipaddress/rubygem-ipaddress.spec
index e2db6b2fe..3c2513f99 100644
--- a/rubygem-ipaddress/rubygem-ipaddress.spec
+++ b/rubygem-ipaddress/rubygem-ipaddress.spec
@@ -14,13 +14,14 @@ Group: Development/Languages
 License: MIT
 URL: http://github.com/bluemonk/ipaddress
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
-Requires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygem(minitest)
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 IPAddress is a Ruby library designed to make manipulation
@@ -32,6 +33,7 @@ addressing many of its issues.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-jgrep/rubygem-jgrep.spec b/rubygem-jgrep/rubygem-jgrep.spec
index 9648fa03c..e9570c699 100644
--- a/rubygem-jgrep/rubygem-jgrep.spec
+++ b/rubygem-jgrep/rubygem-jgrep.spec
@@ -16,18 +16,19 @@ Source0:        https://github.com/ploubser/JSON-Grep/archive/%{commit}/JSON-Gre
 Patch0:         0001-Fix-test-run.patch
 BuildArch:      noarch
 
-BuildRequires:  %{?scl_prefix}rubygems-devel
-BuildRequires:  %{?scl_prefix}rubygem(rspec)
-BuildRequires:  %{?scl_prefix}rubygem(mocha)
-BuildRequires:  %{?scl_prefix}rubygem(json)
+BuildRequires:  %{?scl_prefix_ruby}rubygems-devel
+BuildRequires:  %{?scl_prefix_ruby}rubygem(rspec)
+BuildRequires:  %{?scl_prefix_ruby}rubygem(mocha)
+BuildRequires:  %{?scl_prefix_ruby}rubygem(json)
 %if 0%{?fedora} > 18
-Requires:       %{?scl_prefix}ruby(release) >= 1.8
+Requires:       %{?scl_prefix_ruby}ruby(release) >= 1.8
 %else
-Requires:       %{?scl_prefix}ruby(abi) >= 1.8
+Requires:       %{?scl_prefix_ruby}ruby(abi) >= 1.8
 %endif
-Requires:       %{?scl_prefix}rubygems
-Requires:       %{?scl_prefix}rubygem(json)
+Requires:       %{?scl_prefix_ruby}rubygems
+Requires:       %{?scl_prefix_ruby}rubygem(json)
 Provides:       %{?scl_prefix}rubygem(%{gem_name}) = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 JGrep is  Ruby-based CLI tool and API for parsing and displaying JSON data
@@ -39,6 +40,7 @@ documents and return specific documents or values based on logical truths.
 Summary:        Documentation for %{pkg_name}
 Group:          Documentation
 Requires:       %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 Documentation for %{pkg_name}
diff --git a/rubygem-jquery-turbolinks/rubygem-jquery-turbolinks.spec b/rubygem-jquery-turbolinks/rubygem-jquery-turbolinks.spec
index a588ca601..fb599a853 100644
--- a/rubygem-jquery-turbolinks/rubygem-jquery-turbolinks.spec
+++ b/rubygem-jquery-turbolinks/rubygem-jquery-turbolinks.spec
@@ -13,24 +13,25 @@ URL: https://github.com/kossnocorp/jquery.turbolinks
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygem(railties) >= 3.1.0
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygem(railties) >= 3.1.0
 Requires: %{?scl_prefix}rubygem(turbolinks)
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Do you like Turbolinks? It's easy and fast way to improve user experience of
@@ -49,6 +50,7 @@ other scripts.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -95,4 +97,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Fri Jan 09 2015 Dominic Cleal <dcleal@redhat.com> 2.1.0-1
 - new package built with tito
-
diff --git a/rubygem-jquery-ui-rails/rubygem-jquery-ui-rails.spec b/rubygem-jquery-ui-rails/rubygem-jquery-ui-rails.spec
index ffa7457b1..2455df5b9 100644
--- a/rubygem-jquery-ui-rails/rubygem-jquery-ui-rails.spec
+++ b/rubygem-jquery-ui-rails/rubygem-jquery-ui-rails.spec
@@ -14,22 +14,23 @@ License: MIT
 URL: https://github.com/joliss/jquery-ui-rails
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems) >= 1.3.6
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygem(railties) >= 3.1.0
+Requires: %{?scl_prefix_ruby}ruby(rubygems) >= 1.3.6
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygem(railties) >= 3.1.0
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel >= 1.3.6
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel >= 1.3.6
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 jQuery UI's JavaScript, CSS, and image files packaged for the Rails 3.1+ asset
@@ -40,6 +41,7 @@ pipeline
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-jquery_pwstrength_bootstrap/rubygem-jquery_pwstrength_bootstrap.spec b/rubygem-jquery_pwstrength_bootstrap/rubygem-jquery_pwstrength_bootstrap.spec
index 94af2717a..625bbeeb3 100644
--- a/rubygem-jquery_pwstrength_bootstrap/rubygem-jquery_pwstrength_bootstrap.spec
+++ b/rubygem-jquery_pwstrength_bootstrap/rubygem-jquery_pwstrength_bootstrap.spec
@@ -14,25 +14,26 @@ URL: https://github.com/dragonfly9517/jquery_pwstrength_bootstrap-gem
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
-Requires: %{?scl_prefix}rubygem(railties) >= 3.1
-Requires: %{?scl_prefix}rubygem(railties) < 4.0
+Requires: %{?scl_prefix_ruby}rubygem(railties) >= 3.1
+Requires: %{?scl_prefix_ruby}rubygem(railties) < 4.0
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 The jQuery Password Strength Meter is a plugin for Twitter Bootstrap that
@@ -44,6 +45,7 @@ password.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -85,4 +87,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Fri Oct 10 2014 Dominic Cleal <dcleal@redhat.com> 1.2.2-1
 - new package built with tito
-
diff --git a/rubygem-jwt/rubygem-jwt.spec b/rubygem-jwt/rubygem-jwt.spec
index 53f7f38a8..68f2f9a27 100644
--- a/rubygem-jwt/rubygem-jwt.spec
+++ b/rubygem-jwt/rubygem-jwt.spec
@@ -14,22 +14,23 @@ URL: http://github.com/progrium/ruby-jwt
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A Ruby implementation of JSON Web Token draft 06.
@@ -38,6 +39,7 @@ A Ruby implementation of JSON Web Token draft 06.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -79,4 +81,3 @@ cp -a .%{gem_dir}/* \
 
 * Sun Nov 10 2013 Dominic Cleal <dcleal@redhat.com> 0.1.8-1
 - new package built with tito
-
diff --git a/rubygem-launchy/rubygem-launchy.spec b/rubygem-launchy/rubygem-launchy.spec
index 40aa9201a..bc0b5b09e 100644
--- a/rubygem-launchy/rubygem-launchy.spec
+++ b/rubygem-launchy/rubygem-launchy.spec
@@ -14,24 +14,25 @@ URL: http://github.com/copiousfreetime/launchy
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 Requires: %{?scl_prefix}rubygem(addressable) >= 2.3.0
 Requires: %{?scl_prefix}rubygem(addressable) < 3.0.0
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Launchy is helper class for launching cross-platform applications in a fire and
@@ -44,6 +45,7 @@ application from within ruby programs.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -98,4 +100,3 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
 
 * Sun Nov 10 2013 Dominic Cleal <dcleal@redhat.com> 2.3.0-1
 - new package built with tito
-
diff --git a/rubygem-ldap_fluff/rubygem-ldap_fluff.spec b/rubygem-ldap_fluff/rubygem-ldap_fluff.spec
index f9ee7a364..49d741249 100644
--- a/rubygem-ldap_fluff/rubygem-ldap_fluff.spec
+++ b/rubygem-ldap_fluff/rubygem-ldap_fluff.spec
@@ -11,17 +11,18 @@ Group: Development/Languages
 License: GPLv2+ or Ruby
 URL: https://github.com/theforeman/ldap_fluff
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
-Requires: %{?scl_prefix}rubygem(activesupport)
+Requires: %{?scl_prefix_ruby}rubygems
+Requires: %{?scl_prefix_ruby}rubygem(activesupport)
 Requires: %{?scl_prefix}rubygem(net-ldap) >= 0.3.1
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygem(rake)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygem(rake)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 %if 0%{?fedora} > 18
-Requires:       %{?scl_prefix}ruby(release)
+Requires:       %{?scl_prefix_ruby}ruby(release)
 %else
-Requires:       %{?scl_prefix}ruby(abi) = 1.9.1
+Requires:       %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
 
 %description
@@ -31,6 +32,7 @@ Provides multiple implementations of LDAP queries for various backends.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-less-rails/rubygem-less-rails.spec b/rubygem-less-rails/rubygem-less-rails.spec
index 7f4da94c9..6c60b611d 100644
--- a/rubygem-less-rails/rubygem-less-rails.spec
+++ b/rubygem-less-rails/rubygem-less-rails.spec
@@ -14,24 +14,25 @@ License: GPLv2+ or Ruby
 URL: http://github.com/metaskills/less-rails
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems) 
-Requires: %{?scl_prefix}ruby 
+Requires: %{?scl_prefix_ruby}ruby(rubygems) 
+Requires: %{?scl_prefix_ruby}ruby 
 Requires: %{?scl_prefix}rubygem(less) => 2.5.0
 Requires: %{?scl_prefix}rubygem(less) < 2.6
-Requires: %{?scl_prefix}rubygem(actionpack) >= 3.1
+Requires: %{?scl_prefix_ruby}rubygem(actionpack) >= 3.1
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel 
-BuildRequires: %{?scl_prefix}ruby 
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel 
+BuildRequires: %{?scl_prefix_ruby}ruby 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 The dynamic stylesheet language for the Rails asset pipeline. Allows other
@@ -42,6 +43,7 @@ gems to extend Less load path.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-less/rubygem-less.spec b/rubygem-less/rubygem-less.spec
index b5ee7790c..c9437044d 100644
--- a/rubygem-less/rubygem-less.spec
+++ b/rubygem-less/rubygem-less.spec
@@ -14,23 +14,24 @@ License: GPLv2+ or Ruby
 URL: http://lesscss.org
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems) 
-Requires: %{?scl_prefix}ruby 
+Requires: %{?scl_prefix_ruby}ruby(rubygems) 
+Requires: %{?scl_prefix_ruby}ruby 
 Requires: %{?scl_prefix}rubygem(commonjs) => 0.2.7
 Requires: %{?scl_prefix}rubygem(commonjs) < 0.3
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel 
-BuildRequires: %{?scl_prefix}ruby 
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel 
+BuildRequires: %{?scl_prefix_ruby}ruby 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Invoke the Less CSS compiler from Ruby
@@ -40,6 +41,7 @@ Invoke the Less CSS compiler from Ruby
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-little-plugger/rubygem-little-plugger.spec b/rubygem-little-plugger/rubygem-little-plugger.spec
index 293a862bd..614ce9ff6 100644
--- a/rubygem-little-plugger/rubygem-little-plugger.spec
+++ b/rubygem-little-plugger/rubygem-little-plugger.spec
@@ -11,19 +11,20 @@ Group: Development/Languages
 License: MIT
 URL: http://rubygems.org/gems/little-plugger
 Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
-#BuildRequires: %{?scl_prefix}rubygem(rspec)
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+#BuildRequires: %{?scl_prefix_ruby}rubygem(rspec)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 LittlePlugger is a module that provides Gem based plugin management.
@@ -35,6 +36,7 @@ Summary: Documentation for %{pkg_name}
 Group: Documentation
 
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 This package contains documentation for %{pkg_name}.
diff --git a/rubygem-locale/rubygem-locale.spec b/rubygem-locale/rubygem-locale.spec
index 0530f2efc..e03f2b6a4 100644
--- a/rubygem-locale/rubygem-locale.spec
+++ b/rubygem-locale/rubygem-locale.spec
@@ -19,15 +19,16 @@ Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 BuildArch:	noarch
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}rubygems-devel
+Requires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Ruby-Locale is the pure ruby library which provides basic and general purpose
@@ -40,6 +41,7 @@ handle major locale ID standards.
 Summary:	Documentation for %{pkg_name}
 Group:		Documentation
 Requires:	%{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description	doc
 This package contains documentation for %{pkg_name}.
diff --git a/rubygem-logging/rubygem-logging.spec b/rubygem-logging/rubygem-logging.spec
index 9017b1f4a..1c2077afd 100644
--- a/rubygem-logging/rubygem-logging.spec
+++ b/rubygem-logging/rubygem-logging.spec
@@ -12,22 +12,23 @@ License: Ruby or BSD
 URL: http://rubygems.org/gems/logging
 Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %endif
 Requires: %{?scl_prefix}rubygem(little-plugger) >= 1.1.3
 Requires: %{?scl_prefix}rubygem(multi_json) >= 1.8.4
 
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 # BuildRequires: %{?scl_prefix}rubygem(little-plugger) >= 1.1.3
 # BuildRequires: %{?scl_prefix}rubygem(flexmock) >= 0.9.0
-# BuildRequires: %{?scl_prefix}rubygem(minitest)
+# BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Logging is a flexible logging library for use in Ruby programs based on the
@@ -40,6 +41,7 @@ Summary: Documentation for %{pkg_name}
 Group: Documentation
 
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 This package contains documentation for %{pkg_name}.
diff --git a/rubygem-multi-select-rails/rubygem-multi-select-rails.spec b/rubygem-multi-select-rails/rubygem-multi-select-rails.spec
index bc49230f8..2bad9bbdd 100644
--- a/rubygem-multi-select-rails/rubygem-multi-select-rails.spec
+++ b/rubygem-multi-select-rails/rubygem-multi-select-rails.spec
@@ -14,23 +14,24 @@ URL: https://github.com/klenis/multi-select-rails
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygem(railties) >= 3.0
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygem(railties) >= 3.0
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 multi-select is a tiny jQuery plugin to customize selects with the multiple
@@ -41,6 +42,7 @@ asset pipeline.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -86,4 +88,3 @@ cp -a .%{gem_dir}/* \
 
 * Tue Feb 18 2014 Dominic Cleal <dcleal@redhat.com> 0.9.10-1
 - new package built with tito
-
diff --git a/rubygem-multi_json/rubygem-multi_json.spec b/rubygem-multi_json/rubygem-multi_json.spec
index 79fc3c51a..ccbdd228e 100644
--- a/rubygem-multi_json/rubygem-multi_json.spec
+++ b/rubygem-multi_json/rubygem-multi_json.spec
@@ -12,27 +12,28 @@ URL: http://github.com/intridea/multi_json
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-# BuildRequires: %{?scl_prefix}rubygem(json)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+# BuildRequires: %{?scl_prefix_ruby}rubygem(json)
 # BuildRequires: %{?scl_prefix}rubygem(json_pure)
-# BuildRequires: %{?scl_prefix}rubygem(rspec)
+# BuildRequires: %{?scl_prefix_ruby}rubygem(rspec)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 # OkJson is allowed to be bundled:
 # https://fedorahosted.org/fpc/ticket/113
 Provides: bundled(%{?scl_prefix}okjson) = 20110719
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A gem to provide swappable JSON backends utilizing Yajl::Ruby, the JSON gem,
@@ -43,6 +44,7 @@ JSON pure, or a vendored version of okjson.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl:%scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-multipart-post/rubygem-multipart-post.spec b/rubygem-multipart-post/rubygem-multipart-post.spec
index dc530dbb1..8e214acf6 100644
--- a/rubygem-multipart-post/rubygem-multipart-post.spec
+++ b/rubygem-multipart-post/rubygem-multipart-post.spec
@@ -14,22 +14,23 @@ URL: https://github.com/nicksieger/multipart-post
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Use with Net::HTTP to do multipart form posts. IO values that have
@@ -40,6 +41,7 @@ file.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -86,4 +88,3 @@ cp -a .%{gem_dir}/* \
 
 * Sun Nov 10 2013 Dominic Cleal <dcleal@redhat.com> 1.2.0-1
 - new package built with tito
-
diff --git a/rubygem-mysql2/rubygem-mysql2.spec b/rubygem-mysql2/rubygem-mysql2.spec
index 18bbe2caf..24de218d7 100644
--- a/rubygem-mysql2/rubygem-mysql2.spec
+++ b/rubygem-mysql2/rubygem-mysql2.spec
@@ -15,16 +15,17 @@ License: MIT
 URL: http://mysql-win.rubyforge.org
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
-Requires: %{?scl_prefix}ruby >= 1.8.6
-Requires: %{?scl_prefix}rubygems >= 1.8.10
+Requires: %{?scl_prefix_ruby}ruby >= 1.8.6
+Requires: %{?scl_prefix_ruby}rubygems >= 1.8.10
 
-BuildRequires: %{?scl_prefix}ruby >= 1.8.6
-BuildRequires: %{?scl_prefix}rubygems >= 1.8.10
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby-devel
+BuildRequires: %{?scl_prefix_ruby}ruby >= 1.8.6
+BuildRequires: %{?scl_prefix_ruby}rubygems >= 1.8.10
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby-devel
 BuildRequires: mysql-devel
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 
 %define gem_builddir %{buildroot}%{gem_dir}
@@ -38,6 +39,7 @@ This is a conversion of tmtm's original extension into a proper RubyGems.
 Summary: Documentation for rubygem-%{gem_name}
 Group: Documentation
 Requires: %{?scl_prefix}rubygem-%{gem_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-net-ldap/rubygem-net-ldap.spec b/rubygem-net-ldap/rubygem-net-ldap.spec
index da9350af9..b60197432 100644
--- a/rubygem-net-ldap/rubygem-net-ldap.spec
+++ b/rubygem-net-ldap/rubygem-net-ldap.spec
@@ -11,22 +11,23 @@ Group: Development/Languages
 License: MIT
 URL: http://github.com/ruby-ldap/ruby-net-ldap
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 # specs need metaid gem that is not in Fedora yet
-#BuildRequires: %{?scl_prefix}rubygem(rspec-core)
+#BuildRequires: %{?scl_prefix_ruby}rubygem(rspec-core)
 #BuildRequires: %{?scl_prefix}rubygem(flexmock)
-BuildRequires: %{?scl_prefix}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 # this package obsoletes rubygem-ruby-net-ldap
 Provides: %{?scl_prefix}rubygem(ruby-net-ldap) = %{version}-%{release}
 Provides: %{?scl_prefix}rubygem-ruby-net-ldap = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 Obsoletes: %{?scl_prefix}rubygem-ruby-net-ldap < 0.0.4-7
 
 %description
@@ -47,6 +48,7 @@ the most recent LDAP RFCs (4510–4519, plus portions of 4520–4532).
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-net-scp/rubygem-net-scp.spec b/rubygem-net-scp/rubygem-net-scp.spec
index 3d5e07209..782e34f9e 100644
--- a/rubygem-net-scp/rubygem-net-scp.spec
+++ b/rubygem-net-scp/rubygem-net-scp.spec
@@ -13,23 +13,24 @@ License: MIT
 URL: http://net-ssh.rubyforge.org/scp
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(net-ssh)
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildRequires: %{?scl_prefix}rubygem(net-ssh)
-BuildRequires: %{?scl_prefix}rubygem(mocha)
-BuildRequires: %{?scl_prefix}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(mocha)
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A pure Ruby implementation of the SCP client protocol
@@ -39,6 +40,7 @@ A pure Ruby implementation of the SCP client protocol
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires:%{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 Documentation for %{pkg_name}
diff --git a/rubygem-net-ssh-gateway/rubygem-net-ssh-gateway.spec b/rubygem-net-ssh-gateway/rubygem-net-ssh-gateway.spec
index 1ef21b6a8..a1a7cc71c 100644
--- a/rubygem-net-ssh-gateway/rubygem-net-ssh-gateway.spec
+++ b/rubygem-net-ssh-gateway/rubygem-net-ssh-gateway.spec
@@ -13,24 +13,25 @@ License: MIT
 URL: https://github.com/net-ssh/net-scp
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-Requires: %{?scl_prefix}ruby(rubygems) >= 1.2
+Requires: %{?scl_prefix_ruby}ruby(rubygems) >= 1.2
 Requires: %{?scl_prefix}rubygem(net-ssh) >= 2.6.5
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildRequires: %{?scl_prefix}rubygem(net-ssh) >= 2.6.5
-BuildRequires: %{?scl_prefix}rubygem(mocha)
-BuildRequires: %{?scl_prefix}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(mocha)
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A simple library to assist in establishing tunneled Net::SSH connections
@@ -39,6 +40,7 @@ A simple library to assist in establishing tunneled Net::SSH connections
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires:%{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 Documentation for %{pkg_name}
diff --git a/rubygem-net-ssh-multi/rubygem-net-ssh-multi.spec b/rubygem-net-ssh-multi/rubygem-net-ssh-multi.spec
index 21f38ba12..b2b577e03 100644
--- a/rubygem-net-ssh-multi/rubygem-net-ssh-multi.spec
+++ b/rubygem-net-ssh-multi/rubygem-net-ssh-multi.spec
@@ -16,24 +16,25 @@ URL: https://github.com/net-ssh/net-ssh-multi
 Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
 Patch0: rubygem-net-ssh-multi-1.2.0-minitest.patch
 %if 0%{?fedora} >= 19
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(net-ssh) >= 2.6.5
 Requires: %{?scl_prefix}rubygem(net-ssh-gateway) >= 1.2.0
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 %if 0%{?enable_check}
 BuildRequires: %{?scl_prefix}rubygem(net-ssh)
 BuildRequires: %{?scl_prefix}rubygem(net-ssh-gateway)
-BuildRequires: %{?scl_prefix}rubygem(minitest)
-BuildRequires: %{?scl_prefix}rubygem(mocha)
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(mocha)
 %endif
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Control multiple Net::SSH connections via a single interface.
@@ -42,6 +43,7 @@ Control multiple Net::SSH connections via a single interface.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 This package contains documentation for %{pkg_name}
diff --git a/rubygem-net-ssh/rubygem-net-ssh.spec b/rubygem-net-ssh/rubygem-net-ssh.spec
index 75f3e8b56..c5fc9f95c 100644
--- a/rubygem-net-ssh/rubygem-net-ssh.spec
+++ b/rubygem-net-ssh/rubygem-net-ssh.spec
@@ -14,16 +14,17 @@ Group: Development/Languages
 License: MIT
 URL: http://github.com/net-ssh/net-ssh
 Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-Requires: %{?scl_prefix}ruby(rubygems) 
-Requires: %{?scl_prefix}ruby 
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygem(minitest)
-BuildRequires: %{?scl_prefix}rubygem(mocha)
-BuildRequires: %{?scl_prefix}ruby 
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(rubygems) 
+Requires: %{?scl_prefix_ruby}ruby 
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(mocha)
+BuildRequires: %{?scl_prefix_ruby}ruby 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Net::SSH: a pure-Ruby implementation of the SSH2 client protocol.
@@ -32,8 +33,9 @@ Net::SSH: a pure-Ruby implementation of the SSH2 client protocol.
 %package doc
 Summary: Documentation for %{pkg_name}
 Group: Documentation
-Requires: %{?scl_prefix}rubygem(mocha)
+Requires: %{?scl_prefix_ruby}rubygem(mocha)
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-netrc/rubygem-netrc.spec b/rubygem-netrc/rubygem-netrc.spec
index 6b6dde029..f690c2047 100644
--- a/rubygem-netrc/rubygem-netrc.spec
+++ b/rubygem-netrc/rubygem-netrc.spec
@@ -13,18 +13,19 @@ License: MIT
 URL: https://github.com/geemus/netrc
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}rubygem(minitest)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This library can read and update netrc files, preserving formatting including
@@ -34,6 +35,7 @@ comments and whitespace.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-nokogiri/rubygem-nokogiri.spec b/rubygem-nokogiri/rubygem-nokogiri.spec
index c40c22c02..a8d85ae4f 100644
--- a/rubygem-nokogiri/rubygem-nokogiri.spec
+++ b/rubygem-nokogiri/rubygem-nokogiri.spec
@@ -34,12 +34,12 @@ Source0:	http://gems.rubyforge.org/gems/%{gemname}-%{mainver}%{?prever}.gem
 # ./test/html/test_element_description.rb:62 fails, as usual......
 # Patch0:		rubygem-nokogiri-1.5.0.beta3-test-failure.patch
 #Patch0:		rubygem-nokogiri-1.5.0-allow-non-crosscompile.patch
-BuildRequires:	%{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires:	%{?scl_prefix}ruby(rubygems)
+BuildRequires:	%{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires:	%{?scl_prefix_ruby}ruby(rubygems)
 ##
 ## For %%check
-BuildRequires:	%{?scl_prefix}rubygem(minitest)
-BuildRequires:	%{?scl_prefix}rubygems-devel
+BuildRequires:	%{?scl_prefix_ruby}rubygem(minitest)
+BuildRequires:	%{?scl_prefix_ruby}rubygems-devel
 %if 0%{?ruby19} > 0
 Obsoletes:		%{?scl_prefix}ruby-%{gemname} <= 1.5.2-2
 %endif
@@ -48,10 +48,11 @@ Obsoletes:		%{?scl_prefix}ruby-%{gemname} <= 1.5.2-2
 ## Others
 BuildRequires:	libxml2-devel
 BuildRequires:	libxslt-devel
-BuildRequires:	%{?scl_prefix}ruby-devel
-Requires:	%{?scl_prefix}ruby(abi) = %{rubyabi}
-Requires:	%{?scl_prefix}ruby(rubygems)
+BuildRequires:	%{?scl_prefix_ruby}ruby-devel
+Requires:	%{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+Requires:	%{?scl_prefix_ruby}ruby(rubygems)
 Provides:	%{?scl_prefix}rubygem(%{gemname}) = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gemname}}
 
 %description
 Nokogiri parses and searches XML/HTML very quickly, and also has
@@ -75,6 +76,7 @@ This package contains JRuby support for %{pkg_name}.
 Summary:	Documentation for %{pkg_name}
 Group:		Documentation
 Requires:	%{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gemname}-doc}
 
 %description	doc
 This package contains documentation for %{pkg_name}.
@@ -438,4 +440,3 @@ popd
 
 * Thu Dec 25 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.1.0-1
 - Initial packaging
-
diff --git a/rubygem-oauth/rubygem-oauth.spec b/rubygem-oauth/rubygem-oauth.spec
index a20fe30e7..f8576e4b4 100644
--- a/rubygem-oauth/rubygem-oauth.spec
+++ b/rubygem-oauth/rubygem-oauth.spec
@@ -11,17 +11,18 @@ Group: Development/Languages
 License: MIT
 URL: http://rubydoc.info/gems/oauth
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %endif
-BuildRequires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 OAuth Core Ruby implementation
diff --git a/rubygem-opennebula/rubygem-opennebula.spec b/rubygem-opennebula/rubygem-opennebula.spec
index 425bbc4ba..f6290c281 100644
--- a/rubygem-opennebula/rubygem-opennebula.spec
+++ b/rubygem-opennebula/rubygem-opennebula.spec
@@ -14,25 +14,26 @@ URL: http://opennebula.org/
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
-Requires: %{?scl_prefix}rubygem(json)
+Requires: %{?scl_prefix_ruby}rubygem(json)
 Requires: %{?scl_prefix}rubygem(nokogiri)
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Libraries needed to talk to OpenNebula
@@ -41,6 +42,7 @@ Libraries needed to talk to OpenNebula
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -75,4 +77,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Wed Aug 13 2014 Dominic Cleal <dcleal@redhat.com> 4.8.0-1
 - new package built with tito
-
diff --git a/rubygem-openscap/rubygem-openscap.spec b/rubygem-openscap/rubygem-openscap.spec
index 841735ff4..e69035031 100644
--- a/rubygem-openscap/rubygem-openscap.spec
+++ b/rubygem-openscap/rubygem-openscap.spec
@@ -18,37 +18,38 @@ Group: Development/Languages
 License: GPLv2+
 URL: https://github.com/isimluk/ruby-openscap
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(ffi) >= 1.0.9
 # require libopenscap.so.8 in an arch neutral way
 Requires: openscap >= 1.2.1
 Requires: openscap < 1.3.0
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby >= 1.9.3
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby >= 1.9.3
 # For tests we need:
 BuildRequires: openscap >= 1.2.1
 BuildRequires: openscap < 1.3.0
 BuildRequires: bzip2
-BuildRequires: %{?scl_prefix}rubygem(rake)
-BuildRequires: %{?scl_prefix}rubygem(bundler)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rake)
+BuildRequires: %{?scl_prefix_ruby}rubygem(bundler)
 BuildRequires: %{?scl_prefix}rubygem(ffi) >= 1.0.9
 BuildRequires: openscap-devel
 # End (for the tests we needed)
 
 %if 0%{?fedora} > 18
-Requires:      %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires:      %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 # For the tests we need
 BuildRequires: %{?scl_prefix}rubygem(test-unit)
 %else
-Requires:      %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires:      %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 # For the tests we need
-BuildRequires: %{?scl_prefix}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 %endif
 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A FFI wrapper around the OpenSCAP library. The %{name}
diff --git a/rubygem-ovirt_provision_plugin/rubygem-ovirt_provision_plugin.spec b/rubygem-ovirt_provision_plugin/rubygem-ovirt_provision_plugin.spec
index ba5d85ee9..aceb1bc31 100644
--- a/rubygem-ovirt_provision_plugin/rubygem-ovirt_provision_plugin.spec
+++ b/rubygem-ovirt_provision_plugin/rubygem-ovirt_provision_plugin.spec
@@ -29,19 +29,19 @@ Requires:   foreman >= 1.5.0
 Requires:   %{?scl_prefix}rubygem(deface)
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
@@ -49,6 +49,7 @@ Requires: %{?scl_prefix}rubygem(rbovirt) >= 0.0.27
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-ovirt-provision
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This plugin monitors oVirt provision for new host and perform related API calls
@@ -57,6 +58,7 @@ to ovirt-engine.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -109,4 +111,3 @@ GEMFILE
 
 * Fri Jun 27 2014 Dominic Cleal <dcleal@redhat.com> 0.0.1-1
 - new package built with tito
-
diff --git a/rubygem-paint/rubygem-paint.spec b/rubygem-paint/rubygem-paint.spec
index 46979edcd..6637b5e82 100644
--- a/rubygem-paint/rubygem-paint.spec
+++ b/rubygem-paint/rubygem-paint.spec
@@ -11,14 +11,15 @@ Group: Development/Languages
 License: MIT
 URL: https://github.com/janlelis/paint
 Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(abi)
-Requires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}rubygems-devel
+Requires: %{?scl_prefix_ruby}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 #tests
-BuildRequires: %{?scl_prefix}rubygem(rspec)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rspec)
 
 %description
 Paint manages terminal colors and effects for you. It combines the strengths
@@ -30,6 +31,7 @@ default.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-passenger/rubygem-passenger.spec b/rubygem-passenger/rubygem-passenger.spec
index b1f550ef2..c0f36e284 100644
--- a/rubygem-passenger/rubygem-passenger.spec
+++ b/rubygem-passenger/rubygem-passenger.spec
@@ -85,15 +85,15 @@ Patch203:       rubygem-passenger-4.0.18-daemon-controller.patch
 # Change temp directory from /tmp to /var/run/rubygem-passenger
 Patch205:       rubygem-passenger-4.0.18-tmpdir.patch
 
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 # XXX: Needed to run passenger standalone
 #Requires: %{?scl_prefix}rubygem(daemon_controller) >= 1.0.0
-Requires: %{?scl_prefix}rubygem(rack)
-Requires: %{?scl_prefix}rubygem(rake)
+Requires: %{?scl_prefix_ruby}rubygem(rack)
+Requires: %{?scl_prefix_ruby}rubygem(rake)
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && 0%{!?scl:1})
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
 %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
@@ -113,16 +113,16 @@ BuildRequires: doxygen
 BuildRequires: graphviz
 BuildRequires: httpd-devel
 # BuildRequires: libev-devel
-BuildRequires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}ruby-devel
-BuildRequires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygem(rake) >= 0.8.1
-BuildRequires: %{?scl_prefix}rubygem(rack)
+BuildRequires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygem(rake) >= 0.8.1
+BuildRequires: %{?scl_prefix_ruby}rubygem(rack)
 %if %{enable_check}
-BuildRequires: %{?scl_prefix}rubygem(rspec)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rspec)
 %endif
-BuildRequires: %{?scl_prefix}rubygem(mime-types)
+BuildRequires: %{?scl_prefix_ruby}rubygem(mime-types)
 # BuildRequires: source-highlight
 
 # XXX
@@ -130,6 +130,7 @@ BuildRequires: zlib-devel
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}-%{release}
 Provides: bundled(boost) =  1.44
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Phusion Passenger™ — a.k.a. mod_rails or mod_rack — makes deployment
@@ -163,6 +164,7 @@ This package contains development files for Phusion Passenger™.
 Summary: Apache Module for Phusion Passenger
 Group: System Environment/Daemons
 Requires: %{?scl_prefix}rubygem(%{gem_name}) = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 License: CC-BY-SA and MIT and (MIT or GPL+)
 
@@ -184,7 +186,7 @@ Phusion Passenger™ bindings.
 Summary: Phusion Passenger native extensions
 Group: System Environment/Daemons
 Requires: %{name}%{?_isa} = %{version}-%{release}
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby
 License: Boost and BSD and BSD with advertising and MIT and zlib
 %description native-libs
 This package contains the native shared library for Apache & Nginx
diff --git a/rubygem-pg/rubygem-pg.spec b/rubygem-pg/rubygem-pg.spec
index bebdd6cad..54390b9f6 100644
--- a/rubygem-pg/rubygem-pg.spec
+++ b/rubygem-pg/rubygem-pg.spec
@@ -18,18 +18,19 @@ Group: Development/Languages
 License: (GPLv2 or Ruby) and BSD
 URL: http://bitbucket.org/ged/ruby-pg/
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires: %{?scl_prefix}ruby-devel
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildRequires: postgresql-server postgresql-devel
-BuildRequires: %{?scl_prefix}rubygem(rspec)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rspec)
 # Introduced in F17.
 Obsoletes: %{?scl_prefix}ruby(postgres) <= 0.7.9-2010.01.28.2
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This is the extension library to access a PostgreSQL database from Ruby.
@@ -40,6 +41,7 @@ This library works with PostgreSQL 7.4 and later.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-po_to_json/rubygem-po_to_json.spec b/rubygem-po_to_json/rubygem-po_to_json.spec
index 6295261a7..a4b25a0eb 100644
--- a/rubygem-po_to_json/rubygem-po_to_json.spec
+++ b/rubygem-po_to_json/rubygem-po_to_json.spec
@@ -13,22 +13,23 @@ License: MIT
 URL: http://github.com/nubis/po_to_json
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygem(json)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygem(json)
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Convert gettext PO files to json to use in your javascript app, based
@@ -39,6 +40,7 @@ Raudssus <torsten@raudss.us>.)
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -76,4 +78,3 @@ cp -a .%{gem_dir}/* \
 
 * Tue May 14 2013 Dominic Cleal <dcleal@redhat.com> 0.0.7-1
 - new package built with tito
-
diff --git a/rubygem-powerbar/rubygem-powerbar.spec b/rubygem-powerbar/rubygem-powerbar.spec
index 0b93aed34..c36f4e4fb 100644
--- a/rubygem-powerbar/rubygem-powerbar.spec
+++ b/rubygem-powerbar/rubygem-powerbar.spec
@@ -23,22 +23,23 @@ Source0:   http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
 BuildArch: noarch
 Provides:  %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 Requires:  %{?scl_prefix}rubygem(ansi) >= 1.4.0
 Requires:  %{?scl_prefix}rubygem(ansi) <  1.5.0
 Requires:  %{?scl_prefix}rubygem(hashie) >= 1.1.0
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && 0%{!?scl:1})
-Requires:  %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires:  %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires:  %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires:  %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires:  %{?scl_prefix}rubygems
+Requires:  %{?scl_prefix_ruby}rubygems
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 %description
 %{desc}
@@ -46,6 +47,7 @@ BuildRequires: %{?scl_prefix}rubygems
 %package   doc
 BuildArch: noarch
 Requires:  %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:   Documentation for %{pkg_name}
 
 %description doc
@@ -136,4 +138,3 @@ cp -pa .%{_bindir}/* %{buildroot}%{_bindir}/
 
 * Fri Sep 06 2013 Marek Hulan <mhulan@redhat.com> 1.0.11-0
 - new package built with tito
-
diff --git a/rubygem-puppetdb_foreman/rubygem-puppetdb_foreman.spec b/rubygem-puppetdb_foreman/rubygem-puppetdb_foreman.spec
index 7b6b3f69f..fad8e6678 100644
--- a/rubygem-puppetdb_foreman/rubygem-puppetdb_foreman.spec
+++ b/rubygem-puppetdb_foreman/rubygem-puppetdb_foreman.spec
@@ -27,24 +27,25 @@ Source0:    http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires:   foreman >= 1.4.0
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
 Provides: foreman-plugin-puppetdb
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This is a foreman plugin to interact with PuppetDB through callbacks
@@ -113,4 +114,3 @@ GEMFILE
 
 * Tue Sep 10 2013 Dominic Cleal <dcleal@redhat.com> 0.0.4-1
 - new package built with tito
-
diff --git a/rubygem-quiet_assets/rubygem-quiet_assets.spec b/rubygem-quiet_assets/rubygem-quiet_assets.spec
index 92c764063..fc1e8c87e 100644
--- a/rubygem-quiet_assets/rubygem-quiet_assets.spec
+++ b/rubygem-quiet_assets/rubygem-quiet_assets.spec
@@ -14,23 +14,24 @@ License: GPLv2+ or Ruby
 URL: http://github.com/evrone/quiet_assets
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems) 
-Requires: %{?scl_prefix}ruby 
-Requires: %{?scl_prefix}rubygem(railties) >= 3.1
-Requires: %{?scl_prefix}rubygem(railties) < 5.0
+Requires: %{?scl_prefix_ruby}ruby(rubygems) 
+Requires: %{?scl_prefix_ruby}ruby 
+Requires: %{?scl_prefix_ruby}rubygem(railties) >= 3.1
+Requires: %{?scl_prefix_ruby}rubygem(railties) < 5.0
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel 
-BuildRequires: %{?scl_prefix}ruby 
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel 
+BuildRequires: %{?scl_prefix_ruby}ruby 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Quiet assets turn off rails assets log.
@@ -40,6 +41,7 @@ Quiet assets turn off rails assets log.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-rabl/rubygem-rabl.spec b/rubygem-rabl/rubygem-rabl.spec
index 1f3fd5f77..9372e30e5 100644
--- a/rubygem-rabl/rubygem-rabl.spec
+++ b/rubygem-rabl/rubygem-rabl.spec
@@ -11,18 +11,19 @@ Group: Development/Languages
 License: MIT
 URL: https://github.com/nesquena/rabl
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
-Requires: %{?scl_prefix}rubygem(activesupport) >= 2.3.14
+Requires: %{?scl_prefix_ruby}rubygems
+Requires: %{?scl_prefix_ruby}rubygem(activesupport) >= 2.3.14
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 RABL (Ruby API Builder Language) is a Rails and Padrino ruby
@@ -32,6 +33,7 @@ BSON.
 %package doc
 BuildArch: noarch
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary: Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -119,4 +121,3 @@ rm %{buildroot}%{gem_instdir}/{README.md,CHANGELOG.md,CONTRIBUTING.md,MIT-LICENS
 
 * Mon Aug 20 2012 Ivan Necas <inecas@redhat.com> 0.7.1-1
 - initial package
-
diff --git a/rubygem-rack-jsonp/rubygem-rack-jsonp.spec b/rubygem-rack-jsonp/rubygem-rack-jsonp.spec
index f0e2075e8..2cc7fdf27 100644
--- a/rubygem-rack-jsonp/rubygem-rack-jsonp.spec
+++ b/rubygem-rack-jsonp/rubygem-rack-jsonp.spec
@@ -14,23 +14,24 @@ URL: https://github.com/crohr/rack-jsonp
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygem(rack)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygem(rack)
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A Rack middleware for providing JSON-P support. Most of it is taken from the
@@ -40,6 +41,7 @@ original Rack::JSONP middleware present in rack-contrib.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -76,4 +78,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Mon Jan 19 2015 Dominic Cleal <dcleal@redhat.com> 1.3.1-1
 - new package built with tito
-
diff --git a/rubygem-rails-i18n/rubygem-rails-i18n.spec b/rubygem-rails-i18n/rubygem-rails-i18n.spec
index f1916501a..70041000d 100644
--- a/rubygem-rails-i18n/rubygem-rails-i18n.spec
+++ b/rubygem-rails-i18n/rubygem-rails-i18n.spec
@@ -12,20 +12,21 @@ Group: Development/Ruby
 License: MIT
 URL: https://github.com/svenfuchs/rails-i18n
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
-Requires: %{?scl_prefix}rubygem(i18n) >= 0.5
-Requires: %{?scl_prefix}rubygem(i18n) < 1
-Requires: %{?scl_prefix}rubygem(rails) >= 3.0.0
-Requires: %{?scl_prefix}rubygem(rails) < 4.0.0
+Requires: %{?scl_prefix_ruby}rubygems
+Requires: %{?scl_prefix_ruby}rubygem(i18n) >= 0.5
+Requires: %{?scl_prefix_ruby}rubygem(i18n) < 1
+Requires: %{?scl_prefix_ruby}rubygem(rails) >= 3.0.0
+Requires: %{?scl_prefix_ruby}rubygem(rails) < 4.0.0
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A set of common locale data and translations to internationalize and/or
@@ -34,6 +35,7 @@ localize your Rails applications.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -70,4 +72,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Wed Jul 29 2015 Dominic Cleal <dcleal@redhat.com> 3.0.1-1
 - new package built with tito
-
diff --git a/rubygem-rb-readline/rubygem-rb-readline.spec b/rubygem-rb-readline/rubygem-rb-readline.spec
index bfe2bce99..fdc0e0bc2 100644
--- a/rubygem-rb-readline/rubygem-rb-readline.spec
+++ b/rubygem-rb-readline/rubygem-rb-readline.spec
@@ -13,20 +13,21 @@ URL: https://github.com/luislavena/rb-readline
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
 %if 0%{?scl:1} || (0%{?el6} && 0%{!?scl:1})
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 %if 0%{?scl:1} || (0%{?el6} && 0%{!?scl:1})
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 The readline library provides a pure Ruby implementation of the GNU readline C library,
@@ -36,6 +37,7 @@ as well as the Readline extension that ships as part of the standard library.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-rbovirt/rubygem-rbovirt.spec b/rubygem-rbovirt/rubygem-rbovirt.spec
index 2d819173e..f509ba19f 100644
--- a/rubygem-rbovirt/rubygem-rbovirt.spec
+++ b/rubygem-rbovirt/rubygem-rbovirt.spec
@@ -13,17 +13,18 @@ License: MIT
 URL: http://github.com/abenari/rbovirt
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 Requires: %{?scl_prefix}rubygem-nokogiri
 
 Requires: %{?scl_prefix}rubygem-rest-client
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(rbovirt) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %define gembuilddir %{buildroot}%{gem_dir}
 
@@ -33,6 +34,7 @@ A Ruby client for oVirt REST API
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -133,4 +135,3 @@ rm -rf %{buildroot}%{gem_instdir}/.yardoc
 
 * Thu Sep 06 2012 Miroslav Suchý <msuchy@redhat.com> 0.0.12-1
 - new package built with tito
-
diff --git a/rubygem-rbvmomi/rubygem-rbvmomi.spec b/rubygem-rbvmomi/rubygem-rbvmomi.spec
index f6a37b43b..d0e9dfcb6 100644
--- a/rubygem-rbvmomi/rubygem-rbvmomi.spec
+++ b/rubygem-rbvmomi/rubygem-rbvmomi.spec
@@ -12,27 +12,28 @@ License: MIT
 URL: https://github.com/vmware/rbvmomi
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} && 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby >= 1.8.7
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby >= 1.8.7
 Requires: %{?scl_prefix}rubygem(nokogiri) >= 1.4.1
-Requires: %{?scl_prefix}rubygem(builder)
+Requires: %{?scl_prefix_ruby}rubygem(builder)
 Requires: %{?scl_prefix}rubygem(trollop)
 %if 0%{?fedora} && 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %endif
 BuildRequires: %{?scl_prefix}rubygem(nokogiri) >= 1.4.1
-BuildRequires: %{?scl_prefix}rubygem(builder)
-BuildRequires: %{?scl_prefix}rubygem(minitest)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby >= 1.8.7
+BuildRequires: %{?scl_prefix_ruby}rubygem(builder)
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby >= 1.8.7
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Ruby interface to the VMware vSphere API
@@ -42,6 +43,7 @@ Ruby interface to the VMware vSphere API
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-rest-client/rest-client.spec b/rubygem-rest-client/rest-client.spec
index 48ffa8115..f1a3d8e9b 100644
--- a/rubygem-rest-client/rest-client.spec
+++ b/rubygem-rest-client/rest-client.spec
@@ -12,17 +12,18 @@ License: GPLv2+ or Ruby
 URL: http://github.com/archiloque/rest-client
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires: %{?scl_prefix}rubygem(mime-types) >= 1.16
+Requires: %{?scl_prefix_ruby}rubygem(mime-types) >= 1.16
 Requires: %{?scl_prefix}rubygem(netrc)
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A simple Simple HTTP and REST client for Ruby, inspired by the Sinatra
diff --git a/rubygem-retriable/rubygem-retriable.spec b/rubygem-retriable/rubygem-retriable.spec
index 132309bda..da6ce0d67 100644
--- a/rubygem-retriable/rubygem-retriable.spec
+++ b/rubygem-retriable/rubygem-retriable.spec
@@ -14,22 +14,23 @@ URL: https://github.com/kamui/retriable
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Retriable is an simple DSL to retry a code block if an exception should be
@@ -40,6 +41,7 @@ file system calls.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -81,4 +83,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Mon Nov 24 2014 Dominic Cleal <dcleal@redhat.com> 1.4.1-1
 - new package built with tito
-
diff --git a/rubygem-rkerberos/rubygem-rkerberos.spec b/rubygem-rkerberos/rubygem-rkerberos.spec
index 8a6bcf295..8f8d332ef 100644
--- a/rubygem-rkerberos/rubygem-rkerberos.spec
+++ b/rubygem-rkerberos/rubygem-rkerberos.spec
@@ -31,17 +31,18 @@ License: Artistic 2.0
 URL: http://github.com/domcleal/rkerberos
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygems
 
-BuildRequires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby-devel
 BuildRequires: krb5-devel
 #BuildRequires: %{?scl_prefix}rubygem-rake-compiler
 
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 #test
 #BuildRequires: %{?scl_prefix}rubygem(test-unit)
@@ -56,6 +57,7 @@ authentication protocol. It wraps the Kerberos C API.
 Summary: Documentation for rubygem-%{gem_name}
 Group: Documentation
 BuildArch: noarch
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 This package contains documentation for rubygem-%{gem_name}.
@@ -171,4 +173,3 @@ popd
 * Wed May 08 2013 Dominic Cleal <dcleal@redhat.com> 0.1.0-1
 - Initial 0.1.0 release
 - Add patch 103cea7d (Add credential cache argument to get_init_creds_keytab)
-
diff --git a/rubygem-rr/ruby193-rubygem-rr.spec b/rubygem-rr/ruby193-rubygem-rr.spec
index 1aa8e0dae..dd8a6fcfc 100644
--- a/rubygem-rr/ruby193-rubygem-rr.spec
+++ b/rubygem-rr/ruby193-rubygem-rr.spec
@@ -24,27 +24,28 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 Source1: http://s3.amazonaws.com/rubygem-rr/tests/v%{version}.tar.gz
 
 %if 0%{?fedora} >= 19
-Requires:       %{?scl_prefix}ruby(release)
+Requires:       %{?scl_prefix_ruby}ruby(release)
 %endif
 
 %if 0%{?fedora} >= 17 && 0%{?fedora} < 19
-Requires:      %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires:      %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
 
 %if 0%{?fedora} <= 17
-Requires: %{?scl_prefix}ruby(rubygems) 
+Requires: %{?scl_prefix_ruby}ruby(rubygems) 
 %endif
 
-BuildRequires: %{?scl_prefix}ruby-irb
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby-irb
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 # The following are for running test suite
-#BuildRequires: %{?scl_prefix}rubygem(minitest)
+#BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 #BuildRequires: %{?scl_prefix}rubygem(session)
-#BuildRequires: %{?scl_prefix}rubygem(diff-lcs)
-#BuildRequires: %{?scl_prefix}rubygem(rspec)
+#BuildRequires: %{?scl_prefix_ruby}rubygem(diff-lcs)
+#BuildRequires: %{?scl_prefix_ruby}rubygem(rspec)
 
 %description
 RR (Double Ruby) is a test double framework that features a rich selection of
@@ -57,6 +58,7 @@ make it easier to test another object. Its like a stunt double for tests.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-rspec-rails/rubygem-rspec-rails.spec b/rubygem-rspec-rails/rubygem-rspec-rails.spec
index 621228960..0e8868fa9 100644
--- a/rubygem-rspec-rails/rubygem-rspec-rails.spec
+++ b/rubygem-rspec-rails/rubygem-rspec-rails.spec
@@ -17,34 +17,35 @@ Group: Development/Languages
 License: MIT
 URL: http://github.com/rspec/rspec-rails
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}rubygem(activesupport) => 3.0
-Requires: %{?scl_prefix}rubygem(activesupport) < 4
-Requires: %{?scl_prefix}rubygem(actionpack) => 3.0
-Requires: %{?scl_prefix}rubygem(actionpack) < 4
-Requires: %{?scl_prefix}rubygem(railties) => 3.0
-Requires: %{?scl_prefix}rubygem(railties) < 4
-Requires: %{?scl_prefix}rubygem(rspec) => 2.11.0
-Requires: %{?scl_prefix}rubygem(rspec) < 2.12
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}rubygem(activesupport) => 3.0
+Requires: %{?scl_prefix_ruby}rubygem(activesupport) < 4
+Requires: %{?scl_prefix_ruby}rubygem(actionpack) => 3.0
+Requires: %{?scl_prefix_ruby}rubygem(actionpack) < 4
+Requires: %{?scl_prefix_ruby}rubygem(railties) => 3.0
+Requires: %{?scl_prefix_ruby}rubygem(railties) < 4
+Requires: %{?scl_prefix_ruby}rubygem(rspec) => 2.11.0
+Requires: %{?scl_prefix_ruby}rubygem(rspec) < 2.12
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %if 0%{enable_test} > 0
-BuildRequires: %{?scl_prefix}rubygem(rspec) => 2.11.0
-BuildRequires: %{?scl_prefix}rubygem(rspec) < 2.12
-BuildRequires: %{?scl_prefix}rubygem(rails) => 3.0
-BuildRequires: %{?scl_prefix}rubygem(rails) < 4
-BuildRequires: %{?scl_prefix}rubygem(sqlite3)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rspec) => 2.11.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(rspec) < 2.12
+BuildRequires: %{?scl_prefix_ruby}rubygem(rails) => 3.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(rails) < 4
+BuildRequires: %{?scl_prefix_ruby}rubygem(sqlite3)
 # because ZenTest is optional for rspec-core, but required here
 # (have been pulled by other dependencies with Ruby 1.8.7)
-BuildRequires: %{?scl_prefix}rubygem(ZenTest)
-BuildRequires: %{?scl_prefix}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(ZenTest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 BuildRequires: %{?scl_prefix}rubygem(ammeter)
 #BuildRequires: %{?scl_prefix}rubygem(cucumber)
 #BuildRequires: %{?scl_prefix}rubygem(aruba)
 %endif
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 RSpec-2 support for Rails-3
@@ -54,6 +55,7 @@ RSpec-2 support for Rails-3
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires:%{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 Documentation for %{pkg_name}
diff --git a/rubygem-ruby-libvirt/rubygem-ruby-libvirt.spec b/rubygem-ruby-libvirt/rubygem-ruby-libvirt.spec
index fc5dc88a8..6a4e6c354 100644
--- a/rubygem-ruby-libvirt/rubygem-ruby-libvirt.spec
+++ b/rubygem-ruby-libvirt/rubygem-ruby-libvirt.spec
@@ -13,14 +13,15 @@ Group: Development/Languages
 License: LGPLv2+
 URL: http://libvirt.org/ruby/
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-Requires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires: %{?scl_prefix}rubygems-devel 
-BuildRequires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}ruby-devel
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel 
+BuildRequires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby-devel
 BuildRequires: libvirt-devel
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Ruby bindings for libvirt.
@@ -30,6 +31,7 @@ Ruby bindings for libvirt.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-ruby2ruby/rubygem-ruby2ruby.spec b/rubygem-ruby2ruby/rubygem-ruby2ruby.spec
index b79359463..c8d351aa9 100644
--- a/rubygem-ruby2ruby/rubygem-ruby2ruby.spec
+++ b/rubygem-ruby2ruby/rubygem-ruby2ruby.spec
@@ -19,26 +19,27 @@ Requires: %{?scl_prefix}rubygem(sexp_processor) >= 4.0
 Requires: %{?scl_prefix}rubygem(sexp_processor) < 5.0
 Requires: %{?scl_prefix}rubygem(ruby_parser) >= 3.1
 Requires: %{?scl_prefix}rubygem(ruby_parser) < 4.0
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 BuildRequires: %{?scl_prefix}rubygem(sexp_processor) >= 4.0
 BuildRequires: %{?scl_prefix}rubygem(sexp_processor) < 5.0
 BuildRequires: %{?scl_prefix}rubygem(ruby_parser) >= 3.1
 BuildRequires: %{?scl_prefix}rubygem(ruby_parser) < 4.0
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 ruby2ruby provides a means of generating pure ruby code easily from
@@ -50,6 +51,7 @@ Summary: Documentation for %{pkg_name}
 Group: Documentation
 
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 This package contains documentation for %{pkg_name}.
diff --git a/rubygem-ruby_parser/rubygem-ruby_parser.spec b/rubygem-ruby_parser/rubygem-ruby_parser.spec
index 8d3d58c70..23c88e77c 100644
--- a/rubygem-ruby_parser/rubygem-ruby_parser.spec
+++ b/rubygem-ruby_parser/rubygem-ruby_parser.spec
@@ -19,23 +19,24 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 Source1: pt_testcase.rb
 Requires: %{?scl_prefix}rubygem(sexp_processor) >= 4.1
 Requires: %{?scl_prefix}rubygem(sexp_processor) < 5.0
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = 1.9.1
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 BuildRequires: %{?scl_prefix}rubygem(sexp_processor) >= 4.1
 BuildRequires: %{?scl_prefix}rubygem(sexp_processor) < 5.0
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 ruby_parser (RP) is a ruby parser written in pure ruby (utilizing
@@ -48,6 +49,7 @@ Summary: Documentation for %{pkg_name}
 Group: Documentation
 
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 This package contains documentation for %{pkg_name}.
diff --git a/rubygem-rubyforge/rubygem-rubyforge.spec b/rubygem-rubyforge/rubygem-rubyforge.spec
index 453080d8a..1a9619623 100644
--- a/rubygem-rubyforge/rubygem-rubyforge.spec
+++ b/rubygem-rubyforge/rubygem-rubyforge.spec
@@ -16,10 +16,10 @@ License:       MIT
 URL:           http://rubyforge.org/projects/codeforpeople
 Source0:       http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 BuildRoot:     %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:      %{?scl_prefix}ruby(abi) = 1.9.1
-Requires:      %{?scl_prefix}rubygems
-Requires:      %{?scl_prefix}rubygem(json) >= 1.1.7
-BuildRequires: %{?scl_prefix}rubygems-devel
+Requires:      %{?scl_prefix_ruby}ruby(abi) = 1.9.1
+Requires:      %{?scl_prefix_ruby}rubygems
+Requires:      %{?scl_prefix_ruby}rubygem(json) >= 1.1.7
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 %if %{enable_test}
 BuildRequires(check): rubygem(rake)
 BuildRequires(check): rubygem(json)
@@ -28,6 +28,7 @@ BuildRequires(check): rubygem(hoe)
 %endif
 BuildArch:     noarch
 Provides:      %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A script which automates a limited set of rubyforge operations.
diff --git a/rubygem-rubyipmi/rubygem-rubyipmi.spec b/rubygem-rubyipmi/rubygem-rubyipmi.spec
index d5d055651..aacf7a444 100644
--- a/rubygem-rubyipmi/rubygem-rubyipmi.spec
+++ b/rubygem-rubyipmi/rubygem-rubyipmi.spec
@@ -12,20 +12,21 @@ License: LGPLv2.1
 URL: http://github.com/logicminds/rubyipmi
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18 || 0%{?rhel} >= 7
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: ipmitool
 %if 0%{?fedora} > 18 || 0%{?rhel} >= 7
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 This gem is a ruby wrapper for the freeipmi and ipmitool command line tools. It
@@ -36,6 +37,7 @@ connect to BMC devices from ruby.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -105,4 +107,3 @@ cp -a .%{gem_dir}/* \
 
 * Wed Jul 03 2013 Dominic Cleal <dcleal@redhat.com> 0.5.1-1
 - new package built with tito
-
diff --git a/rubygem-safemode/rubygem-safemode.spec b/rubygem-safemode/rubygem-safemode.spec
index b7f1b583a..ce1d7bf5b 100644
--- a/rubygem-safemode/rubygem-safemode.spec
+++ b/rubygem-safemode/rubygem-safemode.spec
@@ -13,23 +13,24 @@ License: MIT
 URL: http://github.com/svenfuchs/safemode
 Source0: https://rubygems.org/downloads/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem(ruby2ruby) >= 2.0.6
 Requires: %{?scl_prefix}rubygem(ruby_parser) >= 3.2.0
 Requires: %{?scl_prefix}rubygem(sexp_processor) >= 4.3.0
 
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 #BuildRequires: %{?scl_prefix}rubygem(jeweler) >= 1.8.3
-BuildRequires: %{?scl_prefix}rubygem(rake)
-BuildRequires: %{?scl_prefix}rubygem(rdoc)
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygem(rake)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rdoc)
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(safemode) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A library for safe evaluation of Ruby code based on RubyParser and Ruby2Ruby.
@@ -38,6 +39,7 @@ Provides Rails ActionView template handlers for ERB and Haml.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -135,4 +137,3 @@ rm %{buildroot}%{gem_instdir}/VERSION
 
 * Thu Aug 09 2012 Miroslav Suchý <msuchy@redhat.com> 1.0.1-2
 - new package built with tito
-
diff --git a/rubygem-sass/rubygem-sass.spec b/rubygem-sass/rubygem-sass.spec
index e839d4b58..792cbac83 100644
--- a/rubygem-sass/rubygem-sass.spec
+++ b/rubygem-sass/rubygem-sass.spec
@@ -14,15 +14,16 @@ Group: Development/Languages
 License: MIT
 URL: http://sass-lang.com/
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}rubygem(minitest)
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Sass makes CSS fun again. Sass is an extension of CSS3, adding
@@ -35,6 +36,7 @@ command line tool or a web-framework plugin.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-scaptimony/rubygem-scaptimony.spec b/rubygem-scaptimony/rubygem-scaptimony.spec
index c8702770e..f30f29362 100644
--- a/rubygem-scaptimony/rubygem-scaptimony.spec
+++ b/rubygem-scaptimony/rubygem-scaptimony.spec
@@ -22,24 +22,25 @@ URL: https://github.com/OpenSCAP/scaptimony
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
-Requires: %{?scl_prefix}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
 Requires: %{?scl_prefix}rubygem(openscap) >= 0.4.1
-Requires: %{?scl_prefix}rubygem(rails) >= 3.2.8
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}rubygem(rails) >= 3.2.8
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}rubygems
 Requires: %{?scl_prefix}rubygem-openscap >= 0.4.1
-Requires: %{?scl_prefix}rubygem-rails >= 3.2.8
-Requires: %{?scl_prefix}rubygem-rails < 1:3.3.0
-BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
+Requires: %{?scl_prefix_ruby}rubygem-rails >= 3.2.8
+Requires: %{?scl_prefix_ruby}rubygem-rails < 1:3.3.0
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 SCAPtimony is SCAP storage and database server build on top
@@ -51,6 +52,7 @@ sealed server.
 Summary: Documentation for %{name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-scoped_search/rubygem-scoped_search.spec b/rubygem-scoped_search/rubygem-scoped_search.spec
index 0687fe93d..8d55a75bd 100644
--- a/rubygem-scoped_search/rubygem-scoped_search.spec
+++ b/rubygem-scoped_search/rubygem-scoped_search.spec
@@ -12,25 +12,26 @@ Group: Development/Languages
 License: MIT
 URL: http://github.com/wvanbergen/scoped_search/wiki
 Source0: https://rubygems.org/downloads/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
-Requires: %{?scl_prefix}rubygem-activerecord >= 3.2.0
-BuildRequires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
+Requires: %{?scl_prefix_ruby}rubygem-activerecord >= 3.2.0
+BuildRequires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(scoped_search) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 # for check section
 %if 0%{?fedora} > 21
-BuildRequires: %{?scl_prefix}rubygem(rspec) >= 3.0
-BuildRequires: %{?scl_prefix}rubygem(rspec) < 4.0
-BuildRequires: %{?scl_prefix}rubygem(activerecord)
-BuildRequires: %{?scl_prefix}rubygem(sqlite3)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rspec) >= 3.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(rspec) < 4.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(activerecord)
+BuildRequires: %{?scl_prefix_ruby}rubygem(sqlite3)
 %endif
 
 %description
@@ -49,6 +50,7 @@ or by a large user base.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -233,4 +235,3 @@ popd
 * Thu Aug 09 2012 Miroslav Suchý <msuchy@redhat.com> 2.3.7-1
 - edit rubygem-scoped_search.spec according guidelines (msuchy@redhat.com)
 - import rubygem-scoped_search.spec from foreman-rpms (msuchy@redhat.com)
-
diff --git a/rubygem-secure_headers/rubygem-secure_headers.spec b/rubygem-secure_headers/rubygem-secure_headers.spec
index 1b471cfb6..0452abff4 100644
--- a/rubygem-secure_headers/rubygem-secure_headers.spec
+++ b/rubygem-secure_headers/rubygem-secure_headers.spec
@@ -14,22 +14,23 @@ URL: https://github.com/twitter/secureheaders
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Add easily configured browser headers to responses including content security
@@ -39,6 +40,7 @@ policy, x-frame-options, strict-transport-security and more.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -86,4 +88,3 @@ cp -a .%{gem_dir}/* \
 
 * Mon Oct 13 2014 Dominic Cleal <dcleal@redhat.com> 1.3.3-1
 - new package built with tito
-
diff --git a/rubygem-select2-rails/rubygem-select2-rails.spec b/rubygem-select2-rails/rubygem-select2-rails.spec
index dffac214a..139d6fbdc 100644
--- a/rubygem-select2-rails/rubygem-select2-rails.spec
+++ b/rubygem-select2-rails/rubygem-select2-rails.spec
@@ -12,18 +12,19 @@ Group: Development/Ruby
 License: MIT
 URL: https://github.com/argerim/select2-rails
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
-Requires: %{?scl_prefix}rubygem(thor) >= 0.14
-Requires: %{?scl_prefix}rubygem(thor) < 1
+Requires: %{?scl_prefix_ruby}rubygems
+Requires: %{?scl_prefix_ruby}rubygem(thor) >= 0.14
+Requires: %{?scl_prefix_ruby}rubygem(thor) < 1
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Select2 is a jQuery based replacement for select boxes. It supports
@@ -33,6 +34,7 @@ integrates Select2 with Rails asset pipeline for ease of use.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -71,4 +73,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Tue Jun 23 2015 Dominic Cleal <dcleal@redhat.com> 3.5.9.3-1
 - new package built with tito
-
diff --git a/rubygem-sequel/rubygem-sequel.spec b/rubygem-sequel/rubygem-sequel.spec
index 0b716d660..6e369626e 100644
--- a/rubygem-sequel/rubygem-sequel.spec
+++ b/rubygem-sequel/rubygem-sequel.spec
@@ -12,21 +12,22 @@ License: MIT
 URL: http://sequel.jeremyevans.net
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
-BuildRequires: %{?scl_prefix}ruby-devel
-BuildRequires: %{?scl_prefix}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 The Database Toolkit for Ruby
@@ -36,6 +37,7 @@ Summary: Documentation for %{pkg_name}
 Group: Documentation
 
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 This package contains documentation for %{pkg_name}.
diff --git a/rubygem-sexp_processor/rubygem-sexp_processor.spec b/rubygem-sexp_processor/rubygem-sexp_processor.spec
index 59002529c..f3b83a3aa 100644
--- a/rubygem-sexp_processor/rubygem-sexp_processor.spec
+++ b/rubygem-sexp_processor/rubygem-sexp_processor.spec
@@ -13,20 +13,21 @@ License: MIT
 URL: https://github.com/seattlerb/sexp_processor
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}rubygems
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 sexp_processor branches from ParseTree bringing all the generic sexp
@@ -36,6 +37,7 @@ for your language processing pleasure.
 %package doc
 Summary: Documentation for %{pkg_name}
 Group: Documentation
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
 %description doc
 This package contains documentation for %{pkg_name}.
diff --git a/rubygem-signet/rubygem-signet.spec b/rubygem-signet/rubygem-signet.spec
index 2fde3961f..926905b65 100644
--- a/rubygem-signet/rubygem-signet.spec
+++ b/rubygem-signet/rubygem-signet.spec
@@ -14,12 +14,12 @@ URL: https://github.com/google/signet/
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 Requires: %{?scl_prefix}rubygem(addressable) >= 2.3
 Requires: %{?scl_prefix}rubygem(addressable) < 3.0
 Requires: %{?scl_prefix}rubygem(extlib) >= 0.9
@@ -32,14 +32,15 @@ Requires: %{?scl_prefix}rubygem(multi_json) >= 1.10
 Requires: %{?scl_prefix}rubygem(multi_json) < 2.0
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Signet is an OAuth 1.0 / OAuth 2.0 implementation.
@@ -48,6 +49,7 @@ Signet is an OAuth 1.0 / OAuth 2.0 implementation.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -97,4 +99,3 @@ cp -a .%{gem_dir}/* \
 
 * Sun Nov 10 2013 Dominic Cleal <dcleal@redhat.com> 0.4.5-1
 - new package built with tito
-
diff --git a/rubygem-spice-html5-rails/rubygem-spice-html5-rails.spec b/rubygem-spice-html5-rails/rubygem-spice-html5-rails.spec
index de28ad540..1f7d36d82 100644
--- a/rubygem-spice-html5-rails/rubygem-spice-html5-rails.spec
+++ b/rubygem-spice-html5-rails/rubygem-spice-html5-rails.spec
@@ -14,22 +14,23 @@ License: GPLv2+ or Ruby
 URL: http://www.spice-space.org
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygem(railties) >= 3.1.0
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygem(railties) >= 3.1.0
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Spice HTML5 client packed for Rails application
@@ -39,6 +40,7 @@ Spice HTML5 client packed for Rails application
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-sprockets/rubygem-sprockets.spec b/rubygem-sprockets/rubygem-sprockets.spec
index 33eabb8da..38c948c45 100644
--- a/rubygem-sprockets/rubygem-sprockets.spec
+++ b/rubygem-sprockets/rubygem-sprockets.spec
@@ -26,45 +26,45 @@ Patch2: rubygem-sprockets-2.12.1-assert_raise-assert_raises.patch
 # https://github.com/sstephenson/sprockets/commit/9be057ce5804492c7c5bd1b20ba7da49c5538740
 Patch3: rubygem-sprockets-2.12.1-assert_no_equal-is-gone.patch
 
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}rubygem(hike) => 1.2
-Requires: %{?scl_prefix}rubygem(hike) < 2
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}rubygem(hike) => 1.2
+Requires: %{?scl_prefix_ruby}rubygem(hike) < 2
 Requires: %{?scl_prefix}rubygem(multi_json) => 1.0
 Requires: %{?scl_prefix}rubygem(multi_json) < 2
-Requires: %{?scl_prefix}rubygem(rack) => 1.0
-Requires: %{?scl_prefix}rubygem(rack) < 2
-Requires: %{?scl_prefix}rubygem(tilt) => 1.1
-Requires: %{?scl_prefix}rubygem(tilt) < 2
-Conflicts: %{?scl_prefix}rubygem(tilt) = 1.3.0
+Requires: %{?scl_prefix_ruby}rubygem(rack) => 1.0
+Requires: %{?scl_prefix_ruby}rubygem(rack) < 2
+Requires: %{?scl_prefix_ruby}rubygem(tilt) => 1.1
+Requires: %{?scl_prefix_ruby}rubygem(tilt) < 2
+Conflicts: %{?scl_prefix_ruby}rubygem(tilt) = 1.3.0
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-Requires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %endif
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
-BuildRequires: %{?scl_prefix}rubygem(coffee-script)
-BuildRequires: %{?scl_prefix}rubygem(execjs)
-BuildRequires: %{?scl_prefix}rubygem(hike) => 1.2
-BuildRequires: %{?scl_prefix}rubygem(hike) < 2
-BuildRequires: %{?scl_prefix}rubygem(minitest)
-BuildRequires: %{?scl_prefix}rubygem(uglifier)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygem(coffee-script)
+BuildRequires: %{?scl_prefix_ruby}rubygem(execjs)
+BuildRequires: %{?scl_prefix_ruby}rubygem(hike) => 1.2
+BuildRequires: %{?scl_prefix_ruby}rubygem(hike) < 2
+BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
+BuildRequires: %{?scl_prefix_ruby}rubygem(uglifier)
 BuildRequires: %{?scl_prefix}rubygem(multi_json)
-BuildRequires: %{?scl_prefix}rubygem(json)
-BuildRequires: %{?scl_prefix}rubygem(rack) => 1.0
-BuildRequires: %{?scl_prefix}rubygem(rack) < 2
-BuildRequires: %{?scl_prefix}rubygem(rack-test)
-BuildRequires: %{?scl_prefix}rubygem(rake)
+BuildRequires: %{?scl_prefix_ruby}rubygem(json)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rack) => 1.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(rack) < 2
+BuildRequires: %{?scl_prefix_ruby}rubygem(rack-test)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rake)
 BuildRequires: %{?scl_prefix}rubygem(sass)
-BuildRequires: %{?scl_prefix}rubygem(therubyracer)
-BuildRequires: %{?scl_prefix}rubygem(tilt) => 1.1
-BuildRequires: %{?scl_prefix}rubygem(tilt) < 2
-BuildConflicts: %{?scl_prefix}rubygem(tilt) = 1.3.0
+BuildRequires: %{?scl_prefix_ruby}rubygem(therubyracer)
+BuildRequires: %{?scl_prefix_ruby}rubygem(tilt) => 1.1
+BuildRequires: %{?scl_prefix_ruby}rubygem(tilt) < 2
+BuildConflicts: %{?scl_prefix_ruby}rubygem(tilt) = 1.3.0
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
-BuildRequires: %{?scl_prefix}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
 %if "%{?scl_v8}" != ""
 BuildRequires: %{?scl_v8}
@@ -73,6 +73,7 @@ BuildRequires: %{?scl_v8}-scldevel
 
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Sprockets is a Rack-based asset packaging system that concatenates and serves
@@ -82,6 +83,7 @@ JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.
 Summary:   Documentation for %{name}
 Group:     Documentation
 Requires:  %{name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-sshkey/rubygem-sshkey.spec b/rubygem-sshkey/rubygem-sshkey.spec
index 5cee996d7..a4f3c561d 100644
--- a/rubygem-sshkey/rubygem-sshkey.spec
+++ b/rubygem-sshkey/rubygem-sshkey.spec
@@ -14,22 +14,23 @@ URL: https://github.com/bensie/sshkey
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Generate private and public SSH keys (RSA and DSA supported) using pure Ruby.
@@ -38,6 +39,7 @@ Generate private and public SSH keys (RSA and DSA supported) using pure Ruby.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -82,4 +84,3 @@ cp -a .%{gem_dir}/* \
 
 * Sun Nov 10 2013 Dominic Cleal <dcleal@redhat.com> 1.6.0-1
 - new package built with tito
-
diff --git a/rubygem-syntax/rubygem-syntax.spec b/rubygem-syntax/rubygem-syntax.spec
index 86d63a2f3..6e4afd899 100644
--- a/rubygem-syntax/rubygem-syntax.spec
+++ b/rubygem-syntax/rubygem-syntax.spec
@@ -14,12 +14,13 @@ Source0:        http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 Source1:        %{gem_name}-LICENSE
 Patch0:         rubygem-syntax-fix-yaml-parse-for-ruby-1.9.patch
 BuildRoot:      %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:       %{?scl_prefix}ruby(abi) = 1.9.1
-Requires:       %{?scl_prefix}ruby(rubygems)
-BuildRequires:  %{?scl_prefix}rubygems-devel
-BuildRequires:  %{?scl_prefix}rubygem(minitest)
+Requires:       %{?scl_prefix_ruby}ruby(abi) = 1.9.1
+Requires:       %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires:  %{?scl_prefix_ruby}rubygems-devel
+BuildRequires:  %{?scl_prefix_ruby}rubygem(minitest)
 BuildArch:      noarch
 Provides:       %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Syntax is a lexical analysis framework. It supports pluggable syntax
diff --git a/rubygem-table_print/rubygem-table_print.spec b/rubygem-table_print/rubygem-table_print.spec
index a7d4c3ff5..2c68c2e24 100644
--- a/rubygem-table_print/rubygem-table_print.spec
+++ b/rubygem-table_print/rubygem-table_print.spec
@@ -12,18 +12,19 @@ License: MIT
 URL: https://github.com/arches/table_print
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?scl:1} || (0%{?el6} && 0%{!?scl:1})
-Requires: %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires: %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires: %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby(rubygems)
-BuildRequires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby(rubygems)
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 TablePrint turns objects into nicely formatted columns for easy reading.
@@ -34,6 +35,7 @@ columns, lets you traverse ActiveRecord associations. Simple, powerful.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
diff --git a/rubygem-text/rubygem-text.spec b/rubygem-text/rubygem-text.spec
index bd313149a..f8e3d4ab9 100644
--- a/rubygem-text/rubygem-text.spec
+++ b/rubygem-text/rubygem-text.spec
@@ -18,15 +18,16 @@ License:	MIT
 URL:		http://github.com/threedaymonk/text
 Source0:	https://rubygems.org/gems/%{gem_name}-%{version}.gem
 
-BuildRequires:	%{?scl_prefix}ruby(abi)
-BuildRequires:	%{?scl_prefix}rubygems-devel
+BuildRequires:	%{?scl_prefix_ruby}ruby(abi)
+BuildRequires:	%{?scl_prefix_ruby}rubygems-devel
 # Check
-BuildRequires:	%{?scl_prefix}%gem_minitest
-Requires:	%{?scl_prefix}ruby(abi)
-Requires:	%{?scl_prefix}ruby(rubygems)
+BuildRequires:	%{?scl_prefix_ruby}%gem_minitest
+Requires:	%{?scl_prefix_ruby}ruby(abi)
+Requires:	%{?scl_prefix_ruby}ruby(rubygems)
 
 BuildArch:	noarch
 Provides:	%{?scl_prefix}rubygem(%{gem_name}) = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double
@@ -36,6 +37,7 @@ Metaphone, Figlet, Porter Stemming
 Summary:	Documentation for %{pkg_name}
 Group:	Documentation
 Requires:	%{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch:	noarch
 
 %description doc
diff --git a/rubygem-trollop/rubygem-trollop.spec b/rubygem-trollop/rubygem-trollop.spec
index 653a5d63b..b1931610c 100644
--- a/rubygem-trollop/rubygem-trollop.spec
+++ b/rubygem-trollop/rubygem-trollop.spec
@@ -11,13 +11,14 @@ Group:		Applications/Productivity
 License:	GPLv2
 URL:		http://trollop.rubyforge.org/
 BuildRoot:	%{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:	%{?scl_prefix}ruby(rubygems)
-Requires:	%{?scl_prefix}ruby(abi) = 1.9.1
+Requires:	%{?scl_prefix_ruby}ruby(rubygems)
+Requires:	%{?scl_prefix_ruby}ruby(abi) = 1.9.1
 BuildRequires:	%{?scl_prefix}rubygem(hoe)
-BuildRequires:	%{?scl_prefix}rubygems-devel
-BuildRequires:  %{?scl_prefix}rubygem(minitest)
+BuildRequires:	%{?scl_prefix_ruby}rubygems-devel
+BuildRequires:  %{?scl_prefix_ruby}rubygem(minitest)
 BuildArch:	noarch
 Provides:	%{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 Source0:	http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 
 %description
diff --git a/rubygem-turbolinks/rubygem-turbolinks.spec b/rubygem-turbolinks/rubygem-turbolinks.spec
index 2c014cfb5..9bcdb2c59 100644
--- a/rubygem-turbolinks/rubygem-turbolinks.spec
+++ b/rubygem-turbolinks/rubygem-turbolinks.spec
@@ -13,20 +13,21 @@ License:        MIT
 URL:            http://github.com/rails/turbolinks
 Source0:        http://rubygems.org/gems/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires:       %{?scl_prefix}ruby(release)
+Requires:       %{?scl_prefix_ruby}ruby(release)
 %else
-Requires:       %{?scl_prefix}ruby(abi)
+Requires:       %{?scl_prefix_ruby}ruby(abi)
 %endif
-Requires:       %{?scl_prefix}ruby(rubygems)
-Requires:       %{?scl_prefix}rubygem(coffee-rails)
+Requires:       %{?scl_prefix_ruby}ruby(rubygems)
+Requires:       %{?scl_prefix_ruby}rubygem(coffee-rails)
 %if 0%{?fedora} > 18
-BuildRequires:  %{?scl_prefix}ruby(release)
+BuildRequires:  %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires:  %{?scl_prefix}ruby(abi)
+BuildRequires:  %{?scl_prefix_ruby}ruby(abi)
 %endif
-BuildRequires:  %{?scl_prefix}rubygems-devel
+BuildRequires:  %{?scl_prefix_ruby}rubygems-devel
 BuildArch:      noarch
 Provides:       %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Turbolinks makes following links in your web application faster. Instead of
@@ -39,6 +40,7 @@ Pipeline.)
 Summary:    Documentation for %{pkg_name}
 Group:      Documentation
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch:  noarch
 
 %description doc
diff --git a/rubygem-underscore-rails/rubygem-underscore-rails.spec b/rubygem-underscore-rails/rubygem-underscore-rails.spec
index b91733f73..8554d17be 100644
--- a/rubygem-underscore-rails/rubygem-underscore-rails.spec
+++ b/rubygem-underscore-rails/rubygem-underscore-rails.spec
@@ -12,16 +12,17 @@ Group: Development/Ruby
 License: MIT
 URL: https://github.com/rweng/underscore-rails
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 underscore.js asset pipeline provider/wrapper.
@@ -29,6 +30,7 @@ underscore.js asset pipeline provider/wrapper.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -68,4 +70,3 @@ cp -a .%{gem_dir}/* \
 %changelog
 * Thu Aug 13 2015 Dominic Cleal <dcleal@redhat.com> 1.8.3-1
 - new package built with tito
-
diff --git a/rubygem-unicode-display_width/rubygem-unicode-display_width.spec b/rubygem-unicode-display_width/rubygem-unicode-display_width.spec
index 9116f5559..7f910cc1c 100644
--- a/rubygem-unicode-display_width/rubygem-unicode-display_width.spec
+++ b/rubygem-unicode-display_width/rubygem-unicode-display_width.spec
@@ -13,14 +13,15 @@ License: MIT
 URL: http://github.com/janlelis/unicode-display_width
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(unicode-display_width) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %global gembuilddir %{buildroot}%{gem_dir}
 
@@ -31,6 +32,7 @@ EastAsianWidth.txt.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -76,4 +78,3 @@ rm -rf %{buildroot}%{gem_instdir}/.yardoc
 
 * Mon Sep 10 2012 Miroslav Suchý <msuchy@redhat.com> 0.1.1-2
 - new package built with tito
-
diff --git a/rubygem-uuidtools/rubygem-uuidtools.spec b/rubygem-uuidtools/rubygem-uuidtools.spec
index c579fa550..2f32a5318 100644
--- a/rubygem-uuidtools/rubygem-uuidtools.spec
+++ b/rubygem-uuidtools/rubygem-uuidtools.spec
@@ -14,15 +14,16 @@ Group: Development/Languages
 License: MIT
 URL: http://uuidtools.rubyforge.org/
 Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
-BuildRequires: %{?scl_prefix}rubygem(rspec-core)
-BuildRequires: %{?scl_prefix}rubygem(rspec-mocks)
-BuildRequires: %{?scl_prefix}rubygem(rspec-expectations)
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}rubygem(rspec-core)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rspec-mocks)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rspec-expectations)
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 UUIDTools was designed to be a simple library for generating any of the various
@@ -33,6 +34,7 @@ Summary: Documentation for %{pkg_name}
 Group: Documentation
 
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 
 %description doc
 This package contains documentation for %{pkg_name}.
diff --git a/rubygem-validates_lengths_from_database/rubygem-validates_lengths_from_database.spec b/rubygem-validates_lengths_from_database/rubygem-validates_lengths_from_database.spec
index ae08c75a1..2b6d6039a 100644
--- a/rubygem-validates_lengths_from_database/rubygem-validates_lengths_from_database.spec
+++ b/rubygem-validates_lengths_from_database/rubygem-validates_lengths_from_database.spec
@@ -14,23 +14,24 @@ URL: https://github.com/rubiety/validates_lengths_from_database
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
-Requires: %{?scl_prefix}rubygem(activerecord) >= 2.3.2
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
+Requires: %{?scl_prefix_ruby}rubygem(activerecord) >= 2.3.2
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Few people add length validations to fields in their database, and when saving
@@ -42,6 +43,7 @@ automatically adds length validations to the model.
 Summary: Documentation for %{pkg_name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -87,4 +89,3 @@ cp -a .%{gem_dir}/* \
 
 * Thu Jul 31 2014 Dominic Cleal <dcleal@redhat.com> 0.2.0-1
 - new package built with tito
-
diff --git a/rubygem-wicked/rubygem-wicked.spec b/rubygem-wicked/rubygem-wicked.spec
index 93ae20633..f64c926b0 100644
--- a/rubygem-wicked/rubygem-wicked.spec
+++ b/rubygem-wicked/rubygem-wicked.spec
@@ -21,19 +21,20 @@ Source0:   http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
 BuildArch: noarch
 Provides:  %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && 0%{!?scl:1})
-Requires:  %{?scl_prefix}ruby(abi)
-BuildRequires: %{?scl_prefix}ruby(abi)
+Requires:  %{?scl_prefix_ruby}ruby(abi)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi)
 %else
-Requires:  %{?scl_prefix}ruby(release)
-BuildRequires: %{?scl_prefix}ruby(release)
+Requires:  %{?scl_prefix_ruby}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %endif
-Requires:  %{?scl_prefix}rubygems
-Requires:  %{?scl_prefix}rubygem(rails) >= 3.0.7
+Requires:  %{?scl_prefix_ruby}rubygems
+Requires:  %{?scl_prefix_ruby}rubygem(rails) >= 3.0.7
 
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
 
 %description
 %{desc}
@@ -41,6 +42,7 @@ BuildRequires: %{?scl_prefix}rubygems
 %package   doc
 BuildArch: noarch
 Requires:  %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:   Documentation for %{pkg_name}
 
 %description doc
@@ -110,5 +112,3 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}
 
 * Wed Apr 02 2014 Marek Hulan <mhulan@redhat.com> 1.0.2-1
 - new package built with tito
-
-
diff --git a/rubygem-will_paginate/rubygem-will_paginate.spec b/rubygem-will_paginate/rubygem-will_paginate.spec
index 5584395d2..9dd5b77d8 100644
--- a/rubygem-will_paginate/rubygem-will_paginate.spec
+++ b/rubygem-will_paginate/rubygem-will_paginate.spec
@@ -12,20 +12,21 @@ Group:         Development/Languages
 License:       MIT
 URL:           http://github.com/mislav/will_paginate
 Source0:       http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires:      %{?scl_prefix}ruby(abi) = 1.9.1
-Requires:      %{?scl_prefix}ruby(rubygems)
-Requires:      %{?scl_prefix}rubygem(activerecord)
-BuildRequires: %{?scl_prefix}ruby(abi) = 1.9.1
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygem(activesupport)
-BuildRequires: %{?scl_prefix}rubygem(actionpack)
-BuildRequires: %{?scl_prefix}rubygem(activerecord)
-BuildRequires: %{?scl_prefix}rubygem(mocha)
-BuildRequires: %{?scl_prefix}rubygem(sqlite3)
-BuildRequires: %{?scl_prefix}rubygem(rspec)
+Requires:      %{?scl_prefix_ruby}ruby(abi) = 1.9.1
+Requires:      %{?scl_prefix_ruby}ruby(rubygems)
+Requires:      %{?scl_prefix_ruby}rubygem(activerecord)
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygem(activesupport)
+BuildRequires: %{?scl_prefix_ruby}rubygem(actionpack)
+BuildRequires: %{?scl_prefix_ruby}rubygem(activerecord)
+BuildRequires: %{?scl_prefix_ruby}rubygem(mocha)
+BuildRequires: %{?scl_prefix_ruby}rubygem(sqlite3)
+BuildRequires: %{?scl_prefix_ruby}rubygem(rspec)
 BuildRequires: %{?scl_prefix}rubygem(sequel)
 BuildArch:     noarch
 Provides:      %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 The will_paginate library provides a simple, yet powerful and extensible API
diff --git a/rubygem-wirb/rubygem-wirb.spec b/rubygem-wirb/rubygem-wirb.spec
index a2c0cdde6..180d789dd 100644
--- a/rubygem-wirb/rubygem-wirb.spec
+++ b/rubygem-wirb/rubygem-wirb.spec
@@ -12,17 +12,18 @@ License: MIT
 URL: https://github.com/janlelis/wirb
 Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = 1.9.1
+Requires: %{?scl_prefix_ruby}ruby(abi) = 1.9.1
 %endif
 Requires: %{?scl_prefix}rubygem(paint) >= 0.8
 Requires: %{?scl_prefix}rubygem(paint) < 1.0
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}rubygems
-Requires: %{?scl_prefix}rubygems
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}rubygems
+Requires: %{?scl_prefix_ruby}rubygems
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(wirb) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %define gembuilddir %{buildroot}%{gem_dir}
 
@@ -35,6 +36,7 @@ details.
 %package doc
 BuildArch:  noarch
 Requires:   %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 Summary:    Documentation for rubygem-%{gem_name}
 
 %description doc
@@ -90,4 +92,3 @@ rm -f %{buildroot}%{gem_instdir}/.gemtest
 
 * Thu Sep 06 2012 Miroslav Suchý <msuchy@redhat.com> 0.4.2-1
 - new package built with tito
-
diff --git a/rubygem-zscheduler/rubygem-zscheduler.spec b/rubygem-zscheduler/rubygem-zscheduler.spec
index 31571df11..39be3168e 100644
--- a/rubygem-zscheduler/rubygem-zscheduler.spec
+++ b/rubygem-zscheduler/rubygem-zscheduler.spec
@@ -14,23 +14,24 @@ URL: http://github.com/eranb/zscheduler
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 
 %if 0%{?fedora} > 18
-Requires: %{?scl_prefix}ruby(release)
+Requires: %{?scl_prefix_ruby}ruby(release)
 %else
-Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-Requires: %{?scl_prefix}ruby(rubygems)
-Requires: %{?scl_prefix}ruby
+Requires: %{?scl_prefix_ruby}ruby(rubygems)
+Requires: %{?scl_prefix_ruby}ruby
 Requires: %{?scl_prefix}rubygem(eventmachine)
 
 %if 0%{?fedora} > 18
-BuildRequires: %{?scl_prefix}ruby(release)
+BuildRequires: %{?scl_prefix_ruby}ruby(release)
 %else
-BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
+BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
 %endif
-BuildRequires: %{?scl_prefix}rubygems-devel
-BuildRequires: %{?scl_prefix}ruby
+BuildRequires: %{?scl_prefix_ruby}rubygems-devel
+BuildRequires: %{?scl_prefix_ruby}ruby
 BuildArch: noarch
 Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
 
 %description
 Minimalistic scheduler on top of eventmachine.
@@ -39,6 +40,7 @@ Minimalistic scheduler on top of eventmachine.
 Summary: Documentation for %{name}
 Group: Documentation
 Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
+%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
 BuildArch: noarch
 
 %description doc
@@ -74,4 +76,3 @@ cp -pa .%{gem_dir}/* \
 %changelog
 * Wed Jan 14 2015 Dominic Cleal <dcleal@redhat.com> 0.0.6-1
 - new package built with tito
-
