[rubygem-coveralls] Spec file tweaks to accomodate different releases (#1121107)
tdawson
tdawson at fedoraproject.org
Fri Jul 18 20:11:29 UTC 2014
commit da5706545a0e1d4ed9327f71468e9fa74e814552
Author: Troy Dawson <tdawson at redhat.com>
Date: Fri Jul 18 15:11:51 2014 -0500
Spec file tweaks to accomodate different releases (#1121107)
rubygem-coveralls.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/rubygem-coveralls.spec b/rubygem-coveralls.spec
index 3004a40..1f7495e 100644
--- a/rubygem-coveralls.spec
+++ b/rubygem-coveralls.spec
@@ -3,11 +3,12 @@
Summary: A Ruby implementation of the Coveralls API
Name: rubygem-%{gem_name}
Version: 0.7.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Group: Development/Languages
License: MIT
URL: https://coveralls.io
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+%if 0%{?fc19} || 0%{?fc20} || 0%{?el7}
Requires: ruby(release)
Requires: ruby(rubygems)
Requires: rubygem(multi_json)
@@ -15,6 +16,7 @@ Requires: rubygem(rest-client)
Requires: rubygem(simplecov)
Requires: rubygem(term-ansicolor)
Requires: rubygem(thor)
+%endif
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: rubygem(multi_json)
@@ -28,6 +30,9 @@ BuildRequires: rubygem(vcr)
BuildRequires: rubygem(webmock)
BuildRequires: txt2man
BuildArch: noarch
+%if 0%{?fc19} || 0%{?fc20} || 0%{?el7} || 0%{?el6}
+Provides: rubygem(%{gem_name}) = %{version}
+%endif
%description
Coveralls works with your continuous integration
@@ -97,6 +102,9 @@ popd
%{gem_instdir}/spec
%changelog
+* Fri Jul 18 2014 Troy Dawson <tdawson at redhat.com> - 0.7.0-4
+- Spec file tweaks to accomodate different releases (#1121107)
+
* Mon Jul 07 2014 Troy Dawson <tdawson at redhat.com> - 0.7.0-3
- Spec file tweaks
More information about the scm-commits
mailing list