ipaddress: fix rubygems integration
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 29 Nov 2016 16:35:42 +0000 (17:35 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 29 Nov 2016 16:35:42 +0000 (17:35 +0100)
ipaddress/debian/patches/git-ls.patch [new file with mode: 0644]
ipaddress/debian/patches/series [new file with mode: 0644]

diff --git a/ipaddress/debian/patches/git-ls.patch b/ipaddress/debian/patches/git-ls.patch
new file mode 100644 (file)
index 0000000..52fca87
--- /dev/null
@@ -0,0 +1,13 @@
+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"]
diff --git a/ipaddress/debian/patches/series b/ipaddress/debian/patches/series
new file mode 100644 (file)
index 0000000..17fc47e
--- /dev/null
@@ -0,0 +1 @@
+git-ls.patch