File: remove-git-in-gemspec.patch

package info (click to toggle)
ruby-cbor 0.5.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 428 kB
  • sloc: ansic: 3,464; ruby: 1,732; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Debian build environment is not a git repo

--- a/cbor.gemspec
+++ b/cbor.gemspec
@@ -11,8 +11,8 @@
   s.license = "Apache-2.0"
   s.homepage = "http://cbor.io/"
 #  s.has_rdoc = false
-  s.files = `git ls-files`.split("\n")
-  s.test_files = `git ls-files -- {test,spec}/*`.split("\n")
+  s.files = Dir['lib/**/*','doclib/**/*','ext/**/*']
+  s.test_files = Dir['spec/**/*']
   s.require_paths = ["lib"]
   s.extensions = ["ext/cbor/extconf.rb"]