File: remove-git-in-gemspec.patch

package info (click to toggle)
ruby-cvss-suite 4.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,596 kB
  • sloc: ruby: 2,829; makefile: 4; sh: 3
file content (16 lines) | stat: -rw-r--r-- 600 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Remove git from gemspec
Author: Vinay Keshave <vinaykeshava@disroot.org>
Forwarded: yes
Last-Update: 2022-11-01

--- a/cvss_suite.gemspec
+++ b/cvss_suite.gemspec
@@ -31,7 +31,7 @@ in version 4.0, 3.1, 3.0 and 2.'
   }
 
   spec.required_ruby_version = '>= 2.6.0'
-  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+  spec.files         = Dir['lib/**/*.rb']
   spec.bindir        = 'exe'
   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
   spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})