[DRE-commits] [ruby-spring] 06/09: fix gemspec to no expect to be in a git repo

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Aug 3 02:19:34 UTC 2014


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

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

commit 15767b9071d1f3198031413812107094323b0b57
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Sat Jul 26 17:18:28 2014 -0300

    fix gemspec to no expect to be in a git repo
---
 debian/patches/gemspec.patch | 14 ++++++++++++++
 debian/patches/series        |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/gemspec.patch b/debian/patches/gemspec.patch
new file mode 100644
index 0000000..ba88c6f
--- /dev/null
+++ b/debian/patches/gemspec.patch
@@ -0,0 +1,14 @@
+Description: don't relly on git for manifest
+Author: Antonio Terceiro <terceiro at debian.org>
+
+--- ruby-spring-1.1.3.orig/spring.gemspec
++++ ruby-spring-1.1.3/spring.gemspec
+@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
+   gem.homepage      = "http://github.com/rails/spring"
+   gem.license       = "MIT"
+ 
+-  gem.files         = `git ls-files`.split($/)
++  gem.files         = %w[CHANGELOG.md CONTRIBUTING.md Gemfile LICENSE.txt README.md Rakefile] + Dir.glob('{bin,lib,test}/**/*')
+   gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+   gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
+   gem.require_paths = ["lib"]
diff --git a/debian/patches/series b/debian/patches/series
index 26657cd..2e8b69b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 dont-test-against-listen.patch
+gemspec.patch

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



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