--- /dev/null
+From: Antonio Terceiro <terceiro@debian.org>
+Date: Wed, 9 Mar 2016 12:21:17 +0700
+Subject: gemspec: remove git usage
+
+---
+ ipaddress.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ipaddress.gemspec b/ipaddress.gemspec
+index 2f66ccf..2f558de 100644
+--- a/ipaddress.gemspec
++++ b/ipaddress.gemspec
+@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
+ spec.homepage = "https://github.com/bluemonk/ipaddress"
+ spec.license = "MIT"
+
+- spec.files = `git ls-files -z`.split("\x0")
++ spec.files = Dir['**/*'] - Dir['debian/**/*']
+ 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"]
+++ /dev/null
-Index: ipaddress-0.8.3/ipaddress.gemspec
-===================================================================
---- ipaddress-0.8.3.orig/ipaddress.gemspec 2016-03-05 22:25:14.000000000 +0100
-+++ ipaddress-0.8.3/ipaddress.gemspec 2016-11-29 17:16:51.000000000 +0100
-@@ -16,7 +16,7 @@
- spec.homepage = "https://github.com/bluemonk/ipaddress"
- spec.license = "MIT"
-
-- spec.files = `git ls-files -z`.split("\x0")
-+ spec.files = Dir.glob("{{lib,test}/**,*}")
- 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"]