summaryrefslogtreecommitdiffstats
path: root/rubygem-docile.spec
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2014-06-11 17:33:34 -0600
committerKen Dreyer <ktdreyer@ktdreyer.com>2014-06-11 17:33:34 -0600
commit05db768b3997cc600c029882827b3a7550fe4ccd (patch)
treeeed3cbf9cb4164639c3446bd35ebd226815414cc /rubygem-docile.spec
parent068e12ec8f16dd9c91022c1d667fab05a1a6ac11 (diff)
downloadrubygem-docile-05db768b3997cc600c029882827b3a7550fe4ccd.zip
rubygem-docile-05db768b3997cc600c029882827b3a7550fe4ccd.tar.gz
rubygem-docile-05db768b3997cc600c029882827b3a7550fe4ccd.tar.xz
Adjustments for https://fedoraproject.org/wiki/Changes/Ruby_2.1
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