From: František Dvořák Date: Tue, 29 Nov 2016 16:35:42 +0000 (+0100) Subject: ipaddress: fix rubygems integration X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=430baf7b647238320d04444713c404cdce465691;p=packaging-deb-NOW.git ipaddress: fix rubygems integration --- diff --git a/ipaddress/debian/patches/git-ls.patch b/ipaddress/debian/patches/git-ls.patch new file mode 100644 index 0000000..52fca87 --- /dev/null +++ b/ipaddress/debian/patches/git-ls.patch @@ -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 index 0000000..17fc47e --- /dev/null +++ b/ipaddress/debian/patches/series @@ -0,0 +1 @@ +git-ls.patch