From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil@debian.org>
Date: Sat, 2 Dec 2017 23:01:57 +0100
Subject: No git in gemspecs

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869042
Forwarded: not-needed
---
 js-routes.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js-routes.gemspec b/js-routes.gemspec
index a91dfb4..2023255 100644
--- a/js-routes.gemspec
+++ b/js-routes.gemspec
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
   s.extra_rdoc_files = [
     "LICENSE.txt"
   ]
-  s.files = `git ls-files`.split("\n")
+  s.files = Dir["**/*"].select {|v| v !~ /^debian/}
   s.homepage = %q{http://github.com/railsware/js-routes}
   s.licenses = ["MIT"]
   s.require_paths = ["lib"]
