[DRE-commits] [ruby-js-routes] 04/05: fix gemspec

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Mar 13 10:25:34 UTC 2016


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

praveen pushed a commit to branch master
in repository ruby-js-routes.

commit 3f908af10ee0613625e8a6e7964419ab8e60e3b6
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Mar 13 15:19:08 2016 +0530

    fix gemspec
---
 debian/changelog                 |  7 +++++++
 debian/patches/fix-gemspec.patch | 13 +++++++++++++
 debian/patches/series            |  1 +
 debian/rules                     | 13 ++-----------
 4 files changed, 23 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2c3f7e4..a8a9fcc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-js-routes (1.2.4-2) unstable; urgency=medium
+
+  * Check gemspec dependencies during build
+  * Fix gemspec (remove git usage)
+
+ -- Pirate Praveen <praveen at debian.org>  Sun, 13 Mar 2016 15:18:59 +0530
+
 ruby-js-routes (1.2.4-1) unstable; urgency=medium
 
   * New upstream minor release
diff --git a/debian/patches/fix-gemspec.patch b/debian/patches/fix-gemspec.patch
new file mode 100644
index 0000000..0e77ba1
--- /dev/null
+++ b/debian/patches/fix-gemspec.patch
@@ -0,0 +1,13 @@
+Index: ruby-js-routes/js-routes.gemspec
+===================================================================
+--- ruby-js-routes.orig/js-routes.gemspec
++++ ruby-js-routes/js-routes.gemspec
+@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
+   s.extra_rdoc_files = [
+     "LICENSE.txt"
+   ]
+-  s.files = `git ls-files`.split("\n")
++  s.files = ''
+   s.homepage = %q{http://github.com/railsware/js-routes}
+   s.licenses = ["MIT"]
+   s.require_paths = ["lib"]
diff --git a/debian/patches/series b/debian/patches/series
index d77d941..f9cd0bf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 engine-root.patch
+fix-gemspec.patch
diff --git a/debian/rules b/debian/rules
index d81794d..3454d59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,6 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby2.1 require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
 
 %:
 	dh $@ --buildsystem=ruby --with ruby

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



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