aports/community/ruby-xmlrpc/gemspec.patch
Jakub Jirutka 4cb70c5edc community/ruby-xmlrpc: new aport
This gem is unbundled by upstream Ruby from 3.0.0.

When the gem was bundled its pkgver was set to that of the ruby-lang
package, now its pkgver is set to its upstream version which is lower so
users upgrading need to pass `--available` to the `apk upgrade` command.

Co-Authored-By: omni <omni+alpine@hack.org>
2021-10-18 18:44:41 +02:00

14 lines
498 B
Diff

--- a/xmlrpc.gemspec
+++ b/xmlrpc.gemspec
@@ -14,9 +14,7 @@
spec.homepage = "https://github.com/ruby/xmlrpc"
spec.licenses = ["Ruby", "BSD-2-Clause"]
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
- spec.bindir = "exe"
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.files = Dir["lib/**/*.rb"]
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.3"