[DRE-commits] [ruby-handlebars-assets] 04/05: remove git from gemspec

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Mar 7 09:01:50 UTC 2016


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

praveen pushed a commit to branch master
in repository ruby-handlebars-assets.

commit 1152a2d58d08f01f43dd8c5581a39a1636c517a4
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Mar 7 14:05:38 2016 +0530

    remove git from gemspec
---
 debian/changelog                                  |  1 +
 debian/patches/0005-remove-git-from-gemspec.patch | 19 +++++++++++++++++++
 debian/patches/series                             |  1 +
 3 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8eff623..62b4d0b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-handlebars-assets (2:0.23.0-1) UNRELEASED; urgency=medium
   * New upstream release
   * Drop libjs-* binaries
   * Refresh patches
+  * Add patch: 0005-remove-git-from-gemspec.patch
 
  -- Pirate Praveen <praveen at debian.org>  Mon, 07 Mar 2016 13:38:49 +0530
 
diff --git a/debian/patches/0005-remove-git-from-gemspec.patch b/debian/patches/0005-remove-git-from-gemspec.patch
new file mode 100644
index 0000000..b4770c9
--- /dev/null
+++ b/debian/patches/0005-remove-git-from-gemspec.patch
@@ -0,0 +1,19 @@
+git commands don't work
+
+Index: ruby-handlebars-assets/handlebars_assets.gemspec
+===================================================================
+--- ruby-handlebars-assets.orig/handlebars_assets.gemspec
++++ ruby-handlebars-assets/handlebars_assets.gemspec
+@@ -14,9 +14,9 @@ Gem::Specification.new do |s|
+ 
+   s.rubyforge_project = "handlebars_assets"
+ 
+-  s.files         = `git ls-files`.split("\n")
+-  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
+-  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
++  s.files         = ''
++  s.test_files    = ''
++  s.executables   = ''
+   s.require_paths = ["lib"]
+ 
+   s.add_runtime_dependency "execjs", "~> 2.0"
diff --git a/debian/patches/series b/debian/patches/series
index b1d538e..456945a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ engine-root.patch
 0002-Fix-slimbars-test.patch
 0003-Reset-path-before-each-test-to-fix-the-first-one.patch
 0004-require-slim-haml.patch
+0005-remove-git-from-gemspec.patch

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



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