Fix to make it build/install on F19+

epel9
Troy Dawson 12 years ago
parent 928ea8482e
commit c680a2a309

@ -15,12 +15,16 @@
Summary: HTTP Client interface for ruby Summary: HTTP Client interface for ruby
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 2.3.2 Version: 2.3.2
Release: 5%{?dist} Release: 6%{?dist}
Group: Development/Languages Group: Development/Languages
License: (Ruby or BSD) and Public Domain License: (Ruby or BSD) and Public Domain
URL: https://github.com/nahi/httpclient URL: https://github.com/nahi/httpclient
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
%if 0%{?fedora} >= 19
Requires: ruby(release)
%else
Requires: ruby(abi) >= %{rubyabi} Requires: ruby(abi) >= %{rubyabi}
%endif
Requires: rubygems Requires: rubygems
%if 0%{?rhel} <= 6 && 0%{?fedora} <= 16 %if 0%{?rhel} <= 6 && 0%{?fedora} <= 16
BuildRequires: rubygems BuildRequires: rubygems
@ -109,6 +113,9 @@ popd
%changelog %changelog
* Wed Mar 13 2013 Troy Dawson <tdawson@redhat.com> - 2.3.2-6
- Fix to make it build/install on F19+
* Thu Feb 28 2013 Troy Dawson <tdawson@redhat.com> - 2.3.2-5 * Thu Feb 28 2013 Troy Dawson <tdawson@redhat.com> - 2.3.2-5
- Fix check to work on EPEL6 - Fix check to work on EPEL6

Loading…
Cancel
Save