[rubygem-dynect_rest] Update for Ruby 2.0 in F19+
Russell Harrison
rharrison at fedoraproject.org
Thu Mar 14 21:40:03 UTC 2013
commit dfca114e12d1a3b494af2a9539b0b16eb57246e3
Author: Russell Harrison <rharrison at fedoraproject.org>
Date: Thu Mar 14 17:40:00 2013 -0400
Update for Ruby 2.0 in F19+
rubygem-dynect_rest.spec | 30 +++++++++++++++++++-----------
1 files changed, 19 insertions(+), 11 deletions(-)
---
diff --git a/rubygem-dynect_rest.spec b/rubygem-dynect_rest.spec
index 9d01828..de71dab 100644
--- a/rubygem-dynect_rest.spec
+++ b/rubygem-dynect_rest.spec
@@ -4,7 +4,7 @@
Name: rubygem-%{gem_name}
Version: 0.4.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Dynect REST API library
Group: Development/Languages
@@ -14,16 +14,21 @@ URL: http://github.com/adamhjk/dynect_rest
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildArch: noarch
-BuildRequires: ruby(abi) = %{rubyabi}
-BuildRequires: rubygems-devel
-BuildRequires: ruby
-Requires: ruby(abi) = %{rubyabi}
-Requires: ruby(rubygems)
-Requires: ruby
-Requires: rubygem(rest-client)
-Requires: rubygem(json)
-Requires: rubygem(json)
-Requires: rubygem(rest-client)
+%if 0%{?fedora} >= 19
+Requires: ruby(release)
+BuildRequires: ruby(release)
+%else
+Requires: ruby(abi) >= %{rubyabi}
+BuildRequires: ruby(abi) >= %{rubyabi}
+%endif
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+Requires: ruby(rubygems)
+Requires: ruby
+Requires: rubygem(rest-client)
+Requires: rubygem(json)
+Requires: rubygem(json)
+Requires: rubygem(rest-client)
Provides: rubygem(%{gem_name}) = %{version}
%description
@@ -86,6 +91,9 @@ rm -f %{buildroot}%{gem_instdir}/.rspec
%doc %{gem_instdir}/VERSION
%changelog
+* Thu Mar 14 2013 Russell Harrison <rharrison at fedoraproject.org> 0.4.3-5
+- Update for Ruby 2.0 in F19+
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list