[DRE-commits] [ruby-em-spec] 02/02: Add patch to remove git ls-files command from gemspec

Lucas Moura lucasmoura-guest at moszumanska.debian.org
Fri Jul 15 20:04:42 UTC 2016


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

lucasmoura-guest pushed a commit to branch master
in repository ruby-em-spec.

commit a3b2348b56582a663322a01ea0596a634898c24b
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date:   Fri Jul 15 17:00:05 2016 -0300

    Add patch to remove git ls-files command from gemspec
---
 debian/changelog                         |  1 +
 debian/patches/remove_git_ls_files.patch | 22 ++++++++++++++++++++++
 debian/patches/series                    |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 60f9bc4..81e5767 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ ruby-em-spec (0.2.7-1) unstable; urgency=medium
   * New upstream release (Closes: #830090)
   * Update ruby-em-spec.docs
   * Remove unused lintian override
+  * Add patch to remove git ls-files command from gemspec
   * debian/control: Bump standards-version to 3.9.8
   * debian/rules: Add check-dependencies command
 
diff --git a/debian/patches/remove_git_ls_files.patch b/debian/patches/remove_git_ls_files.patch
new file mode 100644
index 0000000..3f4f619
--- /dev/null
+++ b/debian/patches/remove_git_ls_files.patch
@@ -0,0 +1,22 @@
+Description: Remove git ls-files command from gemspec
+Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
+Last-updated: 2016-07-15
+Forwarded: not-needed 
+Bug: not-needed
+
+--- a/em-spec.gemspec
++++ b/em-spec.gemspec
+@@ -10,11 +10,11 @@ Gem::Specification.new do |s|
+   s.summary = "BDD for Ruby/EventMachine"
+   s.description = "Simple BDD API for testing asynchronous Ruby/EventMachine code"
+   s.email = %q{schmurfy at gmail.com}
+-  s.files = `git ls-files`.split("\n")
++  s.files = Dir.glob('**/*')
+   s.homepage = %q{https://github.com/joshbuddy/em-spec}
+   s.require_paths = ["lib"]
+   s.rubygems_version = %q{1.3.7}
+-  s.test_files = `git ls-files`.split("\n").select{|f| f =~ /^test/}
++  s.test_files = Dir.glob('**/*').select{|f| f =~ /^test/}
+   s.rubyforge_project = 'em-spec'
+ 
+   s.add_dependency 'eventmachine'
diff --git a/debian/patches/series b/debian/patches/series
index fb9593d..2b581ac 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+remove_git_ls_files.patch
 remove-rubygems-require.patch
 change-timeout.patch

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



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