[DRE-commits] [ruby-mixlib-config] 03/05: Update packaging with a new run of dh-make-ruby

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Jun 13 18:40:55 UTC 2015


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

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

commit 762c6100e50c238c61da3854841a2311fe162ea7
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Jun 12 23:11:13 2015 -0300

    Update packaging with a new run of dh-make-ruby
---
 debian/changelog            |  1 +
 debian/control              | 11 +++++------
 debian/ruby-test-files.yaml |  3 ---
 debian/ruby-tests.rake      |  7 +++++++
 debian/rules                | 13 ++-----------
 debian/source/local-options |  1 -
 6 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b28e839..133ee5b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 ruby-mixlib-config (2.2.1) UNRELEASED; urgency=medium
 
   * New upstream release
+  * Update packaging with a new run of dh-make-ruby
 
  -- Antonio Terceiro <terceiro at debian.org>  Fri, 12 Jun 2015 23:09:04 -0300
 
diff --git a/debian/control b/debian/control
index 3c0d45a..61a97de 100644
--- a/debian/control
+++ b/debian/control
@@ -3,19 +3,18 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Joshua Timberman <joshua at opscode.com>, Paul van Tilburg <paulvt at debian.org>, Praveen Arimbrathodiyil <pravi.a at gmail.com>
-Build-Depends: debhelper (>= 8.1), gem2deb (>= 0.3.0~), ruby-rspec
-Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 8.1), gem2deb, ruby-rspec, rake
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-mixlib-config.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-mixlib-config.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-mixlib-config.git
 Homepage: https://github.com/opscode/mixlib-config
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-mixlib-config
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-Replaces: libmixlib-config-ruby (<< 1.1.2-2~), libmixlib-config-ruby1.8 (<< 1.1.2-2~)
-Breaks: libmixlib-config-ruby (<< 1.1.2-2~), libmixlib-config-ruby1.8 (<< 1.1.2-2~)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, 
 Provides: libmixlib-config-ruby, libmixlib-config-ruby1.8
 Description: Simple class based config mechanism for Ruby
  Mixlib-config provides a class based object to store and manipulate
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 8d68380..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,3 +0,0 @@
---- 
-- spec/mixlib/config_spec.rb
-- spec/spec_helper.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..dcc1601
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
+
+task :default => :spec
diff --git a/debian/rules b/debian/rules
index a5e7dc8..3454d59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,6 @@
 #!/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=ruby1.8 ruby1.9.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
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/source/local-options b/debian/source/local-options
deleted file mode 100644
index 4aceb10..0000000
--- a/debian/source/local-options
+++ /dev/null
@@ -1 +0,0 @@
-unapply-patches

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



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