---
rubygem-virt-p2v.spec.PL | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/rubygem-virt-p2v.spec.PL b/rubygem-virt-p2v.spec.PL
index 81157c7..65d0486 100644
--- a/rubygem-virt-p2v.spec.PL
+++ b/rubygem-virt-p2v.spec.PL
@@ -89,7 +89,12 @@ BuildRequires: ruby-devel
# rblibssh2 dependencies
BuildRequires: libssh2-devel
-Requires: ruby(abi) = %{rubyabi}
+%if %{?fedora:0%{fedora} >= 17}%{?rhel:0%{rhel} >= 7}
+Requires: ruby(release) >= %{rubyabi}
+%else
+Requires: ruby(abi) >= %{rubyabi}
+%endif
+
Requires: rubygems
Requires: rubygem(gtk2)
Requires: ruby(dbus)
--
1.8.3.1