[DRE-commits] [ruby-ipaddress] 02/02: fix rubygems integration (should fix chef autopkgtest tests)

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Mar 9 05:29:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ruby-ipaddress.

commit beab16799c51b304da3cadae684592279edd9ecd
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Mar 9 12:22:13 2016 +0700

    fix rubygems integration (should fix chef autopkgtest tests)
---
 debian/changelog                                   |  2 ++
 debian/patches/0001-gemspec-remove-git-usage.patch | 21 +++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e7ee9df..6a5dfd9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ ruby-ipaddress (0.8.3-2) unstable; urgency=medium
       - cleanup; remove comments generated by an old dh-make-ruby
       - check dependency resolution during build; makes sure we will notice
         broken rubygems-integration early on.
+  * debian/patches/0001-gemspec-remove-git-usage.patch: fix rubygems
+    integration (should fix chef autopkgtest tests)
 
  -- Antonio Terceiro <terceiro at debian.org>  Wed, 09 Mar 2016 11:57:42 +0700
 
diff --git a/debian/patches/0001-gemspec-remove-git-usage.patch b/debian/patches/0001-gemspec-remove-git-usage.patch
new file mode 100644
index 0000000..dba759e
--- /dev/null
+++ b/debian/patches/0001-gemspec-remove-git-usage.patch
@@ -0,0 +1,21 @@
+From: Antonio Terceiro <terceiro at 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/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..df5ddd2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-gemspec-remove-git-usage.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ipaddress.git



More information about the Pkg-ruby-extras-commits mailing list