[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, master, updated. debian/1.6.10-1-203-g1dd0cd5

Stig Sandbeck Mathisen ssm at debian.org
Wed Jan 2 23:53:38 UTC 2013


The following commit has been merged in the master branch:
commit 4b8f12d170d2eb61c68fb24984ef3a091aef7eea
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date:   Thu Jan 3 00:34:33 2013 +0100

    Use upstream install script instead of gem2deb

diff --git a/debian/control b/debian/control
index f9a5fc8..1f73a9f 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,21 @@ Section: admin
 Priority: optional
 Maintainer: Puppet Package Maintainers <pkg-puppet-devel at lists.alioth.debian.org>
 Uploaders: Andrew Pollock <apollock at debian.org>, Nigel Kersten <nigel at explanatorygap.net>, Micah Anderson <micah at debian.org>, Stig Sandbeck Mathisen <ssm at debian.org>
-Build-Depends: debhelper (>= 8), gem2deb (>= 0.2.4~)
+Build-Depends:
+ debhelper (>= 8),
+ ruby | ruby-interpreter,
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/git/pkg-puppet/facter.git
 Vcs-Browser: http://git.debian.org/?p=pkg-puppet/facter.git
 Homepage: http://projects.puppetlabs.com/projects/facter
-XS-Ruby-Versions: all
 
 Package: facter
 Architecture: all
-XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-json, net-tools, bind9-host | host
+Depends: ${misc:Depends},
+ bind9-host | host,
+ net-tools,
+ ruby-json,
+ ruby | ruby-interpreter,
 Recommends: pciutils, dmidecode
 Description: collect and display facts about the system
  A cross-platform Ruby library for retrieving facts from operating systems.
diff --git a/debian/rules b/debian/rules
index 0d75bd6..4ef1ae0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,4 +5,7 @@
 # export DH_RUBY_IGNORE_TESTS=all
 
 %:
-	dh $@ --buildsystem=ruby --with ruby
+	dh $@
+
+override_dh_auto_install:
+	./install.rb --destdir=debian/facter --quick --sitelibdir=/usr/lib/ruby/vendor_ruby --ruby=/usr/bin/ruby

-- 
Packaging of Facter for debian



More information about the Pkg-puppet-devel mailing list