File: avoid-git.patch

package info (click to toggle)
ruby-mechanize 2.8.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,408 kB
  • sloc: ruby: 11,544; makefile: 7; sh: 4
file content (19 lines) | stat: -rw-r--r-- 616 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Remove usage of `git` during build.
Author: Unit 193 <unit193@debian.org>
Forwarded: no

---
 mechanize.gemspec |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mechanize.gemspec	2022-09-13 04:17:47.331540964 -0400
+++ b/mechanize.gemspec	2022-09-13 04:17:47.327540940 -0400
@@ -45,7 +45,7 @@
   spec.license = "MIT"
 
   spec.require_paths = ["lib"]
-  spec.files = %x(git ls-files).split($/)
+  spec.files = Dir['*.md', '*.rdoc', '{examples,lib,test}/**/*', 'LICENSE.txt', 'Rakefile']
   spec.test_files = spec.files.grep(%r{^test/})
 
   spec.extra_rdoc_files += Dir['*.rdoc', '*.md']