[DRE-commits] [ruby-expression-parser] 01/02: remove git usage in gemspec

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Oct 5 08:34:38 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-expression-parser.

commit 7f6c88a0376a93d1c1178c4300578fbe1c386a0b
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Oct 5 13:52:53 2015 +0530

    remove git usage in gemspec
---
 debian/changelog                           |  6 ++++++
 debian/patches/remove-git-in-gemspec.patch | 15 +++++++++++++++
 debian/patches/series                      |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e8457c0..db25457 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-expression-parser (0.9.1-4) unstable; urgency=medium
+
+  * Remove git usage to generate gemspecs in clean builds 
+
+ -- Pirate Praveen <praveen at debian.org>  Mon, 05 Oct 2015 13:52:23 +0530
+
 ruby-expression-parser (0.9.1-3) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/remove-git-in-gemspec.patch b/debian/patches/remove-git-in-gemspec.patch
new file mode 100644
index 0000000..e6bf0b1
--- /dev/null
+++ b/debian/patches/remove-git-in-gemspec.patch
@@ -0,0 +1,15 @@
+Index: ruby-expression-parser/expression_parser.gemspec
+===================================================================
+--- ruby-expression-parser.orig/expression_parser.gemspec
++++ ruby-expression-parser/expression_parser.gemspec
+@@ -12,8 +12,8 @@ spec = Gem::Specification.new do |s|
+   s.homepage = "http://github.com/nricciar/expression_parser"
+   s.platform = Gem::Platform::RUBY
+   s.summary = "Math parser based on Lukasz Wrobel's blog post"
+-  s.files = `git ls-files`.split("\n")
+-  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
++  s.files = ''
++  s.test_files = ''
+   s.require_path = "lib"
+   s.description = File.read("README")
+   s.has_rdoc = false
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0a1e876
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove-git-in-gemspec.patch

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



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