From c680a2a30964e53473b88389a3762e2c3ec2cda6 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 13 Mar 2013 10:57:00 -0500 Subject: [PATCH] Fix to make it build/install on F19+ --- rubygem-httpclient.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rubygem-httpclient.spec b/rubygem-httpclient.spec index b8f449f..22d5a73 100644 --- a/rubygem-httpclient.spec +++ b/rubygem-httpclient.spec @@ -15,12 +15,16 @@ Summary: HTTP Client interface for ruby Name: rubygem-%{gem_name} Version: 2.3.2 -Release: 5%{?dist} +Release: 6%{?dist} Group: Development/Languages License: (Ruby or BSD) and Public Domain URL: https://github.com/nahi/httpclient Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem +%if 0%{?fedora} >= 19 +Requires: ruby(release) +%else Requires: ruby(abi) >= %{rubyabi} +%endif Requires: rubygems %if 0%{?rhel} <= 6 && 0%{?fedora} <= 16 BuildRequires: rubygems @@ -109,6 +113,9 @@ popd %changelog +* Wed Mar 13 2013 Troy Dawson - 2.3.2-6 +- Fix to make it build/install on F19+ + * Thu Feb 28 2013 Troy Dawson - 2.3.2-5 - Fix check to work on EPEL6