[rubygem-simplecov] Fix to make it build/install on F19+

tdawson tdawson at fedoraproject.org
Wed Mar 13 17:07:01 UTC 2013


commit 2022f0885fbb3e083fccc733fd0c8ff77454c618
Author: Troy Dawson <tdawson at redhat.com>
Date:   Wed Mar 13 12:06:56 2013 -0500

    Fix to make it build/install on F19+

 rubygem-simplecov.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-simplecov.spec b/rubygem-simplecov.spec
index 9cea463..0df83fe 100644
--- a/rubygem-simplecov.spec
+++ b/rubygem-simplecov.spec
@@ -4,12 +4,16 @@
 Summary:       Code coverage analysis tool for Ruby 1.9
 Name:          rubygem-%{gem_name}
 Version:       0.7.1
-Release:       6%{?dist}
+Release:       7%{?dist}
 Group:         Development/Languages
 License:       MIT
 URL:           http://github.com/colszowka/simplecov
 Source0:       http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires:      ruby(abi) = %{rubyabi}
+%if 0%{?fedora} >= 19
+Requires:      ruby(release)
+%else
+Requires:      ruby(abi) >= %{rubyabi}
+%endif
 Requires:      ruby 
 Requires:      rubygems
 Requires:      rubygem(multi_json) => 1.0
@@ -97,6 +101,9 @@ popd
 %{gem_instdir}/CONTRIBUTING.md
 
 %changelog
+* Wed Mar 13 2013 Troy Dawson <tdawson at redhat.com> - 0.7.1-7
+- Fix to make it build/install on F19+
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list