From 746685e50aee865e4541be625ba6567ffdde8cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Mon, 27 Nov 2023 18:04:43 +0100 Subject: [PATCH] Remove the sctrict io-console version requirement. The strict require currently causes issue with io-console developemnt versions such as `0.6.1.dev.1`. However: 1) upstream does not seems to be bothered with required version, 2) the use case for RDoc is currently pretty basic and the required `IO.console_size` is available since Ruby 1.9 \[[1]\]. Therefore dropping version should be fine. [1]: https://github.com/ruby/rdoc/commit/ce969b7817a6a643adb8113e316e85a1ab6483cb --- ruby.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruby.spec b/ruby.spec index eadb6d3..b2b3d79 100644 --- a/ruby.spec +++ b/ruby.spec @@ -339,7 +339,7 @@ License: (Ruby OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Ruby) AND MIT Requires: ruby(release) Recommends: rubygem(bundler) >= %{bundler_version} Recommends: rubygem(rdoc) >= %{rdoc_version} -Recommends: rubygem(io-console) >= %{io_console_version} +Recommends: rubygem(io-console) Requires: rubygem(psych) >= %{psych_version} Provides: gem = %{version}-%{release} Provides: ruby(rubygems) = %{version}-%{release} @@ -415,7 +415,7 @@ Version: %{rdoc_version} # Luckily, this should have no license impact: # https://github.com/ruby/racc/blob/5eb07b28bfb3e193a1cac07798fe7be7e1e246c4/lib/racc/parser.rb#L8-L10 License: GPL-2.0-only AND Ruby AND BSD-3-Clause AND CC-BY-2.5 AND OFL-1.1-RFN -Requires: rubygem(io-console) >= %{io_console_version} +Requires: rubygem(io-console) Requires: rubygem(json) >= %{json_version} Provides: rdoc = %{version}-%{release} Provides: ri = %{version}-%{release}