File: remove-git-in-gemspec.patch

package info (click to toggle)
ruby-gemojione 4.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 31,908 kB
  • sloc: ruby: 908; makefile: 10
file content (15 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Avoid git in gemspec
Author: Pirate Praveen <praveen@debian.org>
Last-Update: 2016-03-15
---
--- a/gemojione.gemspec
+++ b/gemojione.gemspec
@@ -13,7 +13,7 @@
   spec.homepage      = "http://github.com/jonathanwiesel/gemojione"
   spec.license       = "MIT"
 
-  spec.files         = `git ls-files`.split($/)
+  spec.files         = ''
   spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
   spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
   spec.require_paths = ["lib"]