[DRE-commits] [ruby-fog-core] 01/03: avoid git in gemspec
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Nov 22 23:38:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-fog-core.
commit ce0e27cd2b909979264e85ad62a1c3d336f7dedc
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sun Nov 23 04:55:00 2014 +0530
avoid git in gemspec
---
debian/patches/2001_avoid_git_in_gemspec.patch | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 27 insertions(+)
diff --git a/debian/patches/2001_avoid_git_in_gemspec.patch b/debian/patches/2001_avoid_git_in_gemspec.patch
new file mode 100644
index 0000000..9859f92
--- /dev/null
+++ b/debian/patches/2001_avoid_git_in_gemspec.patch
@@ -0,0 +1,26 @@
+Index: ruby-fog-core/fog-core.gemspec
+===================================================================
+--- ruby-fog-core.orig/fog-core.gemspec
++++ ruby-fog-core/fog-core.gemspec
+@@ -13,7 +13,20 @@ Gem::Specification.new do |spec|
+ spec.homepage = "https://github.com/fog/fog-core"
+ spec.license = "MIT"
+
+- spec.files = `git ls-files`.split($/)
++ spec.files = %w(
++ changelog.md
++ Gemfile.1.8.7
++ Rakefile
++ CONTRIBUTING.md
++ fog-core.gemspec
++ README.md
++ CONTRIBUTORS.md
++ Gemfile
++ LICENSE.md
++ )
++ spec.files += Dir.glob("lib/**/*")
++ spec.files += Dir.glob("tests/**/*_tests.rb")
++ spec.files += Dir.glob("spec/**/*_spec.rb")
+ 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
index 1abae57..ce6a008 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
add-fog-core-require.patch
+2001_avoid_git_in_gemspec.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-fog-core.git
More information about the Pkg-ruby-extras-commits
mailing list