summaryrefslogtreecommitdiffstats
path: root/rubygem-docile.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rubygem-docile.spec')
-rw-r--r--rubygem-docile.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/rubygem-docile.spec b/rubygem-docile.spec
index 9e9e802..7bc7679 100644
--- a/rubygem-docile.spec
+++ b/rubygem-docile.spec
@@ -3,7 +3,7 @@
Summary: Docile keeps your Ruby DSLs tame and well-behaved
Name: rubygem-%{gem_name}
Version: 1.1.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Group: Development/Languages
License: MIT
URL: http://ms-ati.github.com/docile/
@@ -11,8 +11,10 @@ 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
+%if 0%{?fc19} || 0%{?fc20} || 0%{?el7}
Requires: ruby(release)
Requires: ruby(rubygems)
+%endif
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: rubygem(mime-types)
@@ -21,7 +23,9 @@ BuildRequires: rubygem(redcarpet)
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(yard)
BuildArch: noarch
+%if 0%{?fc19} || 0%{?fc20} || 0%{?el7}
Provides: rubygem(%{gem_name}) = %{version}
+%endif
%description
Docile turns any Ruby object into a DSL.
@@ -78,6 +82,9 @@ rspec -Ilib spec
%{gem_instdir}/spec
%changelog
+* Wed Jun 11 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.1.3-4
+- Adjustments for https://fedoraproject.org/wiki/Changes/Ruby_2.1
+
* Wed Jun 11 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.1.3-3
- Unconditionally run tests