From 1072b677a1d2d8b06d9db3c5f9240310d844f34d Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 8 Apr 2026 15:35:54 +0000 Subject: sigdump: fix gemspec for Ruby 4.0 has_rdoc= was removed from Gem::Specification in Ruby 4.0. It was a no-op since RubyGems 2.0. Signed-off-by: Bruce Ashfield --- ...0001-gemspec-remove-has_rdoc-for-Ruby-4.0.patch | 23 ++++++++++++++++++++++ recipes-devtools/ruby/sigdump_0.2.4.bb | 4 +++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 recipes-devtools/ruby/sigdump/0001-gemspec-remove-has_rdoc-for-Ruby-4.0.patch (limited to 'recipes-devtools') diff --git a/recipes-devtools/ruby/sigdump/0001-gemspec-remove-has_rdoc-for-Ruby-4.0.patch b/recipes-devtools/ruby/sigdump/0001-gemspec-remove-has_rdoc-for-Ruby-4.0.patch new file mode 100644 index 0000000..1e5922d --- /dev/null +++ b/recipes-devtools/ruby/sigdump/0001-gemspec-remove-has_rdoc-for-Ruby-4.0.patch @@ -0,0 +1,23 @@ +From: Bruce Ashfield +Subject: [PATCH] gemspec: remove has_rdoc for Ruby 4.0 + +has_rdoc= was removed from Gem::Specification in Ruby 4.0. +It was a no-op since RubyGems 2.0. + +Upstream-Status: Pending +Signed-off-by: Bruce Ashfield +--- + sigdump.gemspec | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/sigdump.gemspec b/sigdump.gemspec +--- a/sigdump.gemspec ++++ b/sigdump.gemspec +@@ -11,7 +11,6 @@ + gem.authors = ["Sadayuki Furuhashi"] + gem.email = ["frsyuki@gmail.com"] + gem.license = "MIT" +- gem.has_rdoc = false + gem.files = `git ls-files`.split("\n") + gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } diff --git a/recipes-devtools/ruby/sigdump_0.2.4.bb b/recipes-devtools/ruby/sigdump_0.2.4.bb index b4c1354..fbc63e3 100644 --- a/recipes-devtools/ruby/sigdump_0.2.4.bb +++ b/recipes-devtools/ruby/sigdump_0.2.4.bb @@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=07d6218b18fb6826f04fd32b4918f085" SRCREV = "57570f04456560512e4efc1c6fa695b76c17dc0d" -SRC_URI = "git://github.com/frsyuki/sigdump.git;protocol=https;branch=master" +SRC_URI = "git://github.com/frsyuki/sigdump.git;protocol=https;branch=master \ + file://0001-gemspec-remove-has_rdoc-for-Ruby-4.0.patch \ + " inherit ruby -- cgit v1.2.3-54-g00ecf