[rubygem-net-http-persistent] Fix EL compatibility.

Vít Ondruch vondruch at fedoraproject.org
Thu Mar 21 15:07:57 UTC 2013


commit 1b4e5ad09bb89b2e393699b5df393bcdf886d338
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Thu Mar 21 13:38:52 2013 +0100

    Fix EL compatibility.

 rubygem-net-http-persistent.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-net-http-persistent.spec b/rubygem-net-http-persistent.spec
index ea26fe6..1dd1ce1 100644
--- a/rubygem-net-http-persistent.spec
+++ b/rubygem-net-http-persistent.spec
@@ -11,7 +11,7 @@
 Summary:	Persistent connections using Net::HTTP plus a speed fix
 Name:		rubygem-%{gem_name}
 Version:	2.8
-Release:	3%{?dist}
+Release:	4%{?dist}
 Group:		Development/Languages
 License:	MIT
 
@@ -19,7 +19,7 @@ URL:		http://seattlerb.rubyforge.org/net-http-persistent
 Source0:	http://rubygems.org/gems/%{gem_name}-%{version}.gem
 Patch0:		rubygem-net-http-persistent-2.1-no-net-test.patch
 
-%if 0%{?fedora} >= 19
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
 Requires:	ruby(release)
 BuildRequires:	ruby(release)
 %else
@@ -101,6 +101,9 @@ testrb -Ilib test || echo "Please investigate test failure"
 %{gem_docdir}/
 
 %changelog
+* Thu Mar 21 2013 Vít Ondruch <vondruch at redhat.com> - 2.8-4
+- Fix EL compatibility.
+
 * Thu Feb 28 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 2.8-3
 - F-19: Rebuild for ruby 2.0.0
 


More information about the scm-commits mailing list