From c4862fa671fe4d13b55d980fb60a0e600aa7a1ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 29 Nov 2016 17:38:42 +0100 Subject: [PATCH] git II. --- .../patches/0001-gemspec-remove-git-usage.patch | 21 +++++++++++++++++++++ ipaddress/debian/patches/git-ls.patch | 13 ------------- ipaddress/debian/patches/series | 2 +- 3 files changed, 22 insertions(+), 14 deletions(-) create mode 100644 ipaddress/debian/patches/0001-gemspec-remove-git-usage.patch delete mode 100644 ipaddress/debian/patches/git-ls.patch diff --git a/ipaddress/debian/patches/0001-gemspec-remove-git-usage.patch b/ipaddress/debian/patches/0001-gemspec-remove-git-usage.patch new file mode 100644 index 0000000..dba759e --- /dev/null +++ b/ipaddress/debian/patches/0001-gemspec-remove-git-usage.patch @@ -0,0 +1,21 @@ +From: Antonio Terceiro +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"] diff --git a/ipaddress/debian/patches/git-ls.patch b/ipaddress/debian/patches/git-ls.patch deleted file mode 100644 index 52fca87..0000000 --- a/ipaddress/debian/patches/git-ls.patch +++ /dev/null @@ -1,13 +0,0 @@ -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 index 17fc47e..df5ddd2 100644 --- a/ipaddress/debian/patches/series +++ b/ipaddress/debian/patches/series @@ -1 +1 @@ -git-ls.patch +0001-gemspec-remove-git-usage.patch -- 1.8.2.3