summaryrefslogtreecommitdiffstats
path: root/rubygem-docile.spec
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2014-06-11 17:29:10 -0600
committerKen Dreyer <ktdreyer@ktdreyer.com>2014-06-11 17:32:09 -0600
commit2c358a8edf9285c09bb6d62ee101f02267adc556 (patch)
treefbd3843419a465674b6f0119e73d530176fe5818 /rubygem-docile.spec
parent15b648344b82ee4905a75078edb298e10925b244 (diff)
downloadrubygem-docile-2c358a8edf9285c09bb6d62ee101f02267adc556.zip
rubygem-docile-2c358a8edf9285c09bb6d62ee101f02267adc556.tar.gz
rubygem-docile-2c358a8edf9285c09bb6d62ee101f02267adc556.tar.xz
Patch to make simplecov/coveralls optional
Diffstat (limited to 'rubygem-docile.spec')
-rw-r--r--rubygem-docile.spec12
1 files changed, 10 insertions, 2 deletions
diff --git a/rubygem-docile.spec b/rubygem-docile.spec
index 5eeee2d..8887434 100644
--- a/rubygem-docile.spec
+++ b/rubygem-docile.spec
@@ -7,17 +7,19 @@
Summary: Docile keeps your Ruby DSLs tame and well-behaved
Name: rubygem-%{gem_name}
Version: 1.1.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: Development/Languages
License: MIT
URL: http://ms-ati.github.com/docile/
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+# Make simplecov/coveralls deps optional
+# https://github.com/ms-ati/docile/pull/15
+Patch0: rubygem-docile-1.1.3-simplecov.patch
Requires: ruby(release)
Requires: ruby(rubygems)
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
%if 0%{?with_tests}
-BuildRequires: rubygem(coveralls)
BuildRequires: rubygem(mime-types)
BuildRequires: rubygem(rake)
BuildRequires: rubygem(redcarpet)
@@ -46,6 +48,9 @@ gem unpack %{SOURCE0}
%setup -q -D -T -n %{gem_name}-%{version}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+# Make simplecov/coveralls dep optional
+%patch0 -p1
+
%build
gem build %{gem_name}.gemspec
%gem_install
@@ -79,5 +84,8 @@ rspec -Ilib spec
%{gem_instdir}/spec
%changelog
+* Wed Jun 11 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.1.3-2
+- Patch to make simplecov/coveralls optional
+
* Wed Apr 02 2014 Troy Dawson <tdawson@redhat.com> - 1.1.3-1
- Initial package