[DRE-commits] [ruby-responders] 04/05: Use geminstall
Sruthi Chandran
srud-guest at moszumanska.debian.org
Fri Sep 15 16:49:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
srud-guest pushed a commit to branch master
in repository ruby-responders.
commit a2853f63a8e3df008194abc8954713ec24298df0
Author: Sruthi Chandran <srud at disroot.org>
Date: Fri Sep 15 21:55:47 2017 +0530
Use geminstall
---
debian/rules | 24 ++++--------------------
1 file changed, 4 insertions(+), 20 deletions(-)
diff --git a/debian/rules b/debian/rules
index 48a77da..7ce5cdd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,26 +1,10 @@
#!/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
+export DH_RUBY = --gem-install
%:
dh $@ --buildsystem=ruby --with ruby
+
override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.md
-
-upstream_version = $(shell dpkg-parsechangelog -SVersion | cut -d - -f 1)
-generators_libdir = debian/ruby-responders/usr/share/rubygems-integration/all/gems/responders-$(upstream_version)/lib
-
-override_dh_auto_install:
- dh_auto_install
- mkdir -p $(generators_libdir)
- mv debian/ruby-responders/usr/lib/ruby/vendor_ruby/* $(generators_libdir)
- rm -rf debian/ruby-responders/usr/lib
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-responders.git
More information about the Pkg-ruby-extras-commits
mailing list