[DRE-commits] [ruby-fog-libvirt] 04/05: add patch to drop git usage from gemspec

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Oct 15 14:20:54 UTC 2016


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

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

commit 65a07f46f3e2dcdb708270d08df13f270c9251a1
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Oct 14 20:14:49 2016 -0300

    add patch to drop git usage from gemspec
---
 debian/changelog                                   |  2 ++
 debian/patches/0002-gemspec-remove-git-usage.patch | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7d59c49..9d66699 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 ruby-fog-libvirt (0.3.0-1) unstable; urgency=medium
 
   * New upstream version 0.3.0
+    - refresh patches
+    - add patch to drop git usage from gemspec
   * refresh packaging with a new run of `dh-make-ruby -w`
     * Updated versioned depedency on ruby-libvirt
     * Bump Standards-Version to 3.9.8; no changes needed
diff --git a/debian/patches/0002-gemspec-remove-git-usage.patch b/debian/patches/0002-gemspec-remove-git-usage.patch
new file mode 100644
index 0000000..95c9935
--- /dev/null
+++ b/debian/patches/0002-gemspec-remove-git-usage.patch
@@ -0,0 +1,22 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Fri, 14 Oct 2016 20:13:48 -0300
+Subject: gemspec: remove git usage
+
+---
+ fog-libvirt.gemspec | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/fog-libvirt.gemspec b/fog-libvirt.gemspec
+index 65649ad..0a819fe 100644
+--- a/fog-libvirt.gemspec
++++ b/fog-libvirt.gemspec
+@@ -52,7 +52,7 @@ Gem::Specification.new do |s|
+   s.add_development_dependency("mocha", "~> 1.1.0")
+ 
+   # Let's not ship dot files and gemfiles
+-  git_files = `git ls-files`.split("\n")
++  git_files = Dir.glob('**/*') - Dir.glob('debian/**/*')
+   s.files = git_files.delete_if{ |f| f =~ /^\..*/ || f =~ /^gemfiles\/*/ }
+-  s.test_files = `git ls-files -- {spec,tests}/*`.split("\n")
++  s.test_files = Dir.glob('{spec,tests}/**/*')
+ end
diff --git a/debian/patches/series b/debian/patches/series
index b9f209e..1d81974 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 Add-missing-require-s.patch
+0002-gemspec-remove-git-usage.patch

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



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