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

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 (file)
index 0000000..dba759e
--- /dev/null
@@ -0,0 +1,21 @@
+From: Antonio Terceiro <terceiro@debian.org>
+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 (file)
index 52fca87..0000000
+++ /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"]
index 17fc47e..df5ddd2 100644 (file)
@@ -1 +1 @@
-git-ls.patch
+0001-gemspec-remove-git-usage.patch