File: remove-git-usage-in-gemspec.patch

package info (click to toggle)
ruby-webauthn 2.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 384 kB
  • sloc: ruby: 2,138; sh: 4; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 452 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Debian build environment is not a git repo

--- a/webauthn.gemspec
+++ b/webauthn.gemspec
@@ -22,10 +22,7 @@
     "source_code_uri" => "https://github.com/cedarcode/webauthn-ruby"
   }
 
-  spec.files =
-    `git ls-files -z`.split("\x0").reject do |f|
-      f.match(%r{^(test|spec|features|assets)/})
-    end
+  spec.files = Dir['lib/**/*']
 
   spec.bindir        = "exe"
   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }