File: 0001-gemspec-do-not-use-git.patch

package info (click to toggle)
ruby-roadie-rails 3.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,172 kB
  • sloc: ruby: 1,651; sh: 47; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 687 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description:  Do not use git in the gemspec.
From: Lucas Kanashiro <kanashiro@ubuntu.com>,
      Antonio Terceiro <terceiro@debian.org>,
      Soren Stoutner <soren@debian.org>
Forwarded: not-needed
Last-Update: 2025-02-10

--- a/roadie-rails.gemspec
+++ b/roadie-rails.gemspec
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
 
   spec.required_ruby_version = ">= 2.7"
 
-  spec.files = `git ls-files | grep -v ^spec`.split($INPUT_RECORD_SEPARATOR)
+  spec.files = Dir.glob('**/*').reject { |f| f =~ /^debian/ }
   spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
   spec.extra_rdoc_files = %w[README.md Changelog.md LICENSE.txt]
   spec.require_paths = ["lib"]