[DRE-commits] [SCM] ruby-dbus.git branch, master, updated. upstream/0.7.0-6-g2d06a77

Paul van Tilburg paulvt at debian.org
Sun Sep 25 11:24:42 UTC 2011


The following commit has been merged in the master branch:
commit 2d06a772c26d5c2d1273eb0e463531ab7bd63824
Author: Paul van Tilburg <paulvt at debian.org>
Date:   Sun Sep 25 13:20:03 2011 +0200

    Invoke the test suite (not working in pbuilder).

diff --git a/debian/changelog b/debian/changelog
index 3997b19..a91e791 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,11 +15,12 @@ ruby-dbus (0.7.0-1) UNRELEASED; urgency=low
     - Switched the maintainer with the uploaders field as per new
       convention the team is the default maintainer.
     - Added libdbus-ruby and libdbus-ruby1.8 as transitional packages.
+    - Added a build-depend on dbus for the test suite.
     - Drop the build-depend-indep on webgen0.5 and libtextile-ruby, the
       tutorial is no longer a webgen site.
   * debian/copyright: reworked to fit the DEP5 format.
 
- -- Paul van Tilburg <paulvt at debian.org>  Sun, 25 Sep 2011 12:29:27 +0200
+ -- Paul van Tilburg <paulvt at debian.org>  Sun, 25 Sep 2011 13:19:37 +0200
 
 libdbus-ruby (0.3.0-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 4bf93d9..0eea696 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Paul van Tilburg <paulvt at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.9~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.9~), dbus
 Build-Depends-Indep: rake, ruby-bluecloth
 Standards-Version: 3.9.2
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-dbus.git
@@ -18,7 +18,7 @@ XB-Ruby-Versions: ${ruby:Versions}
 Replaces: libdbus-ruby (<< 0.7.0-1~), libdbus-ruby1.8 (<< 0.7.0-1~)
 Breaks: libdbus-ruby (<< 0.7.0-1~), libdbus-ruby1.8 (<< 0.7.0-1~)
 Provides: libdbus-ruby, libdbus-ruby1.8
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ${misc:Depends}, ruby | ruby-interpreter
 Recommends: ruby-glib2
 Description: Ruby binding for D-Bus
  This module allows Ruby programs to interface with the D-Bus message
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..aaf8ff3 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1,2 @@
-# FIXME
-# there's a spec/ or a test/ directory in the upstream source, but
-# no test suite was defined in the Gem specification. It would be
-# a good idea to define it here so the package gets tested at build time.
-# Examples:
-# $: << 'lib' << '.'
-# Dir['{spec,test}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
+# Run the tests via rake.
+system("rake test")

-- 
ruby-dbus.git



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