From cad4c2ab270483dc0846adf830bf63529387dff6 Mon Sep 17 00:00:00 2001 From: Vít Ondruch Date: May 23 2016 12:02:23 +0000 Subject: Requires rubygem(json) for rubygem-rdoc (rhbz#1325022). This makes it compatible with rubygem-rdoc package built from rdoc gem. --- diff --git a/ruby.spec b/ruby.spec index da5411b..0744039 100644 --- a/ruby.spec +++ b/ruby.spec @@ -21,7 +21,7 @@ %endif -%global release 55 +%global release 56 %{!?release_string:%global release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}} # The RubyGems library has to stay out of Ruby directory three, since the @@ -261,7 +261,9 @@ License: GPLv2 and Ruby and MIT and SIL Requires: ruby(release) Requires: ruby(rubygems) >= %{rubygems_version} Requires: ruby(irb) = %{irb_version} -Recommends: rubygem(json) >= %{json_version} +# Hardcode the dependency to keep it compatible with dependencies of the +# official rubygem-rdoc gem. +Requires: rubygem(json) >= %{json_version} Provides: rdoc = %{version}-%{release} Provides: ri = %{version}-%{release} Provides: rubygem(rdoc) = %{version}-%{release} @@ -951,6 +953,9 @@ make check TESTS="-v $DISABLE_TESTS" %{ruby_libdir}/tkextlib %changelog +* Mon May 23 2016 Vít Ondruch - 2.3.1-56 +- Requires rubygem(json) for rubygem-rdoc (rhbz#1325022). + * Fri Apr 29 2016 Vít Ondruch - 2.3.1-55 - Update to Ruby 2.3.1.