[DRE-commits] [ruby-responders] 01/05: install generators to a package-specific location

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Nov 11 17:38:40 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-responders.

commit e13a25861365861acc54c0297cc61bccc55ae943
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Nov 11 11:49:14 2015 -0200

    install generators to a package-specific location
    
    Closes: #770251
---
 debian/changelog | 8 ++++++++
 debian/rules     | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ced55f7..4011843 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-responders (2.1.0-4) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * debian/rules: install generators to a package-specific location
+    (Closes: #770251)
+
+ -- Antonio Terceiro <terceiro at debian.org>  Wed, 11 Nov 2015 11:48:26 -0200
+
 ruby-responders (2.1.0-3) experimental; urgency=medium
 
   * Team upload
diff --git a/debian/rules b/debian/rules
index 3bda4fe..d484485 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,11 @@
 	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 $(generators_libdir)

-- 
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