[rubygem-transaction-simple] Fix wrong condition.

Vít Ondruch vondruch at fedoraproject.org
Mon Mar 11 14:59:55 UTC 2013


commit 8bbf3c35ba7a995d1757be309ac4013067b2d431
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon Mar 11 15:59:43 2013 +0100

    Fix wrong condition.

 rubygem-transaction-simple.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/rubygem-transaction-simple.spec b/rubygem-transaction-simple.spec
index 30fedd0..f01ad4e 100644
--- a/rubygem-transaction-simple.spec
+++ b/rubygem-transaction-simple.spec
@@ -18,11 +18,13 @@ Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 Requires: rubygems
 %if 0%{?rhel} == 6 || 0%{?fedora} < 17
 Requires: ruby(abi) = 1.8
-%elseif 0%{?fedora} >= 19
+%else
+%if 0%{?fedora} >= 19
 Requires: ruby(release)
 %else
 Requires: ruby(abi) = 1.9.1
 %endif
+%endif
 %if 0%{?fedora}
 BuildRequires: rubygems-devel
 %endif


More information about the scm-commits mailing list