From: František Dvořák Date: Tue, 29 Nov 2016 16:38:42 +0000 (+0100) Subject: git II. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=c4862fa671fe4d13b55d980fb60a0e600aa7a1ed;p=packaging-deb-NOW.git git II. --- 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