From 430baf7b647238320d04444713c404cdce465691 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 29 Nov 2016 17:35:42 +0100 Subject: [PATCH] ipaddress: fix rubygems integration --- ipaddress/debian/patches/git-ls.patch | 13 +++++++++++++ ipaddress/debian/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 ipaddress/debian/patches/git-ls.patch create mode 100644 ipaddress/debian/patches/series 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 -- 1.8.2.3