[DRE-commits] [vagrant-lxc] 12/17: Migrate to using dh_vagrant_plugin

Antonio Terceiro terceiro at moszumanska.debian.org
Thu May 28 10:46:25 UTC 2015


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

terceiro pushed a commit to branch master
in repository vagrant-lxc.

commit cb9e1ca24755a8c5f2936b256e387df2b1206262
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Wed May 27 13:42:19 2015 -0300

    Migrate to using dh_vagrant_plugin
---
 debian/rules | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/debian/rules b/debian/rules
index cb75993..fec1f71 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,17 +1,8 @@
 #!/usr/bin/make -f
 
-export HOME=/invalid
-
 %:
 	dh $@ --buildsystem=ruby --with ruby
 
-version = $(shell dpkg-parsechangelog -SVersion | cut -d - -f 1)
-ruby_version = $(shell ruby -e 'puts RUBY_VERSION')
-vagrant_version = $(shell cat /usr/share/vagrant/version.txt)
-pluginjsondir = debian/vagrant-lxc/usr/share/vagrant-plugins/plugins.d
-
 override_dh_auto_install:
-	mkdir -p $(pluginjsondir)
-	sed -e 's/@@RUBY_VERSION@@/$(ruby_version)/g; s/@@VAGRANT_VERSION@@/$(vagrant_version)/g' \
-		debian/vagrant-lxc.json.in > $(pluginjsondir)/vagrant-lxc.json
 	dh_auto_install
+	dh_vagrant_plugin

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



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