File: remove-git-in-gemspec.patch

package info (click to toggle)
ruby-regexp-property-values 1.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 176 kB
  • sloc: ruby: 254; ansic: 76; makefile: 6; sh: 4
file content (13 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (2)
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://github.com/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]