aports/main/ruby-rake/gemspec.patch
Jakub Jirutka 5e0d9cea9f main/ruby-rake: new aport
This gem was bundled in main/ruby and it's on the list of the "Bundled gems"
(https://stdgems.org/#bundled-gems-ruby-302) for Ruby 3.0.2. I'm moving it
to a separate aport to provide a correct pkgver - to avoid confusion and
future complications if the upstream decide to remove it from the
"Bundled gems" (as they did for some other gems with 3.0.0 release).
2021-10-18 18:44:42 +02:00

13 lines
481 B
Diff

--- a/rake.gemspec
+++ b/rake.gemspec
@@ -30,8 +30,7 @@
"source_code_uri" => "https://github.com/ruby/rake/tree/v#{s.version}",
}
- s.files = %x[git ls-files -z].split("\x0").reject { |f| f.match(%r{^(test|spec|features|\.github)/}) } -
- %w[.rubocop.yml .gitignore .travis.yml appveyor.yml]
+ s.files = Dir["exe/*", "lib/**/*.rb"]
s.bindir = "exe"
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
s.require_paths = ["lib".freeze]