[openbabel/epel7] fix ruby dependency on RHEL7

Dominik Mierzejewski rathann at fedoraproject.org
Wed Apr 23 21:00:18 UTC 2014


commit 68a10fbdbdf50bac44887ee9097c3e7c2eea5661
Author: Dominik 'Rathann' Mierzejewski <dominik at greysector.net>
Date:   Wed Apr 23 23:00:02 2014 +0200

    fix ruby dependency on RHEL7

 openbabel.spec |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/openbabel.spec b/openbabel.spec
index 7dd3e38..70eda39 100644
--- a/openbabel.spec
+++ b/openbabel.spec
@@ -10,7 +10,7 @@
 
 Name: openbabel
 Version: 2.3.2
-Release: 1%{beta_ver}%{?dist}
+Release: 2%{beta_ver}%{?dist}
 Summary: Chemistry software file format converter
 License: GPLv2
 Group: Applications/File
@@ -127,11 +127,7 @@ Python wrapper for the Open Babel library.
 %package -n ruby-%{name}
 Summary: Ruby wrapper for the Open Babel library
 Group: Development/Libraries
-%if 0%{?fedora} >= 19
 Requires: ruby(release)
-%else
-Requires: ruby(abi) = 1.9.1
-%endif
 Requires: %{name}-libs%{?_isa} = %{version}-%{release}
 
 %description -n ruby-%{name}
@@ -251,6 +247,9 @@ make test
 %{ruby_vendorarchdir}/openbabel.so
 
 %changelog
+* Wed Apr 23 2014 Dominik Mierzejewski <rpm at greysector.net> 2.3.2-2
+- fix ruby dependency on RHEL7
+
 * Thu Jul 18 2013 Susi Lehtola <jussilehtola at fedoraproject.org> - 2.3.2-1
 - Turned off versioned formats.
 - Filter out private provides.


More information about the scm-commits mailing list