diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-08 15:35:54 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-08 16:13:11 +0000 |
| commit | 1072b677a1d2d8b06d9db3c5f9240310d844f34d (patch) | |
| tree | 190d9f697301ab055cd124e1a43688b2f11cfe36 /recipes-devtools | |
| parent | f070067a6a2d76af31186f183b24f9f92bea13c7 (diff) | |
| download | meta-cloud-services-1072b677a1d2d8b06d9db3c5f9240310d844f34d.tar.gz | |
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 <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-devtools')
| -rw-r--r-- | recipes-devtools/ruby/sigdump/0001-gemspec-remove-has_rdoc-for-Ruby-4.0.patch | 23 | ||||
| -rw-r--r-- | recipes-devtools/ruby/sigdump_0.2.4.bb | 4 |
2 files changed, 26 insertions, 1 deletions
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 @@ | |||
| 1 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 2 | Subject: [PATCH] gemspec: remove has_rdoc for Ruby 4.0 | ||
| 3 | |||
| 4 | has_rdoc= was removed from Gem::Specification in Ruby 4.0. | ||
| 5 | It was a no-op since RubyGems 2.0. | ||
| 6 | |||
| 7 | Upstream-Status: Pending | ||
| 8 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 9 | --- | ||
| 10 | sigdump.gemspec | 1 - | ||
| 11 | 1 file changed, 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/sigdump.gemspec b/sigdump.gemspec | ||
| 14 | --- a/sigdump.gemspec | ||
| 15 | +++ b/sigdump.gemspec | ||
| 16 | @@ -11,7 +11,6 @@ | ||
| 17 | gem.authors = ["Sadayuki Furuhashi"] | ||
| 18 | gem.email = ["frsyuki@gmail.com"] | ||
| 19 | gem.license = "MIT" | ||
| 20 | - gem.has_rdoc = false | ||
| 21 | gem.files = `git ls-files`.split("\n") | ||
| 22 | gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
| 23 | 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" | |||
| 6 | 6 | ||
| 7 | SRCREV = "57570f04456560512e4efc1c6fa695b76c17dc0d" | 7 | SRCREV = "57570f04456560512e4efc1c6fa695b76c17dc0d" |
| 8 | 8 | ||
| 9 | SRC_URI = "git://github.com/frsyuki/sigdump.git;protocol=https;branch=master" | 9 | SRC_URI = "git://github.com/frsyuki/sigdump.git;protocol=https;branch=master \ |
| 10 | file://0001-gemspec-remove-has_rdoc-for-Ruby-4.0.patch \ | ||
| 11 | " | ||
| 10 | 12 | ||
| 11 | inherit ruby | 13 | inherit ruby |
| 12 | 14 | ||
