[DRE-commits] [ruby-rspec-rails] 02/08: Update packaging with a new dh-make-ruby run

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Nov 3 17:01:26 UTC 2015


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

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

commit b0a169f93f36f16998feded2e29d5b00f5cb07ca
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Nov 3 14:42:04 2015 -0200

    Update packaging with a new dh-make-ruby run
---
 debian/changelog       |  3 ++-
 debian/control         | 41 +++++++++++++++++++++++++++++++++--------
 debian/ruby-tests.rake |  8 +++-----
 debian/rules           | 13 ++-----------
 debian/watch           |  3 +--
 5 files changed, 41 insertions(+), 27 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 66c4e7f..e829c3a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
-ruby-rspec-rails (3.2.1-2) unstable; urgency=medium
+ruby-rspec-rails (3.2.1-2) UNRELEASED; urgency=medium
 
   * Team upload
   * Upload to unstable (Closes: #799821)
+  * Update packaging with a new dh-make-ruby run
 
  -- Antonio Terceiro <terceiro at debian.org>  Tue, 03 Nov 2015 14:36:25 -0200
 
diff --git a/debian/control b/debian/control
index 6f911ec..a7099c4 100644
--- a/debian/control
+++ b/debian/control
@@ -2,22 +2,47 @@ Source: ruby-rspec-rails
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders: Praveen Arimbrathodiyil <praveen at debian.org>, Caitlin Matos <caitlin.matos at zoho.com>
-Build-Depends: debhelper (>= 9), gem2deb (>= 0.7.6),
- ruby-rspec (>= 3.2~), rake, rails (>= 2:3.0), ruby-sqlite3
+Uploaders: Praveen Arimbrathodiyil <praveen at debian.org>,
+           Caitlin Matos <caitlin.matos at zoho.com>,
+           Antonio Terceiro <terceiro at debian.org>,
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake,
+               ruby-actionpack (<< 2:4.3),
+               ruby-actionpack (>= 2:3.0),
+               ruby-activesupport (<< 2:4.3),
+               ruby-activesupport (>= 2:3.0),
+               ruby-railties (<< 2:4.3),
+               ruby-railties (>= 2:3.0),
+               ruby-rspec,
+               ruby-rspec-core (>= 3.2.0),
+               ruby-rspec-expectations (>= 3.2.0),
+               ruby-rspec-mocks (>= 3.2.0),
+               ruby-rspec-support (>= 3.2.0)
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rspec-rails.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-rspec-rails.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-rspec-rails.git
 Homepage: http://github.com/rspec/rspec-rails
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-rspec-rails
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, 
- ruby-rspec (>= 3.2~), ruby-activesupport (>= 2:3.0), ruby-actionpack (>= 2:3.0),
- ruby-railties (>= 2:3.0)
+Depends: ruby | ruby-interpreter,
+         ruby-actionpack (<< 2:4.3),
+         ruby-actionpack (>= 2:3.0),
+         ruby-activesupport (<< 2:4.3),
+         ruby-activesupport (>= 2:3.0),
+         ruby-railties (<< 2:4.3),
+         ruby-railties (>= 2:3.0),
+         ruby-rspec-core (>= 3.2.0),
+         ruby-rspec-expectations (>= 3.2.0),
+         ruby-rspec-mocks (>= 3.2.0),
+         ruby-rspec-support (>= 3.2.0),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: RSpec for Rails 3+
  This package provides an extension of RSpec, a behaviour driven development
  framework for Ruby, to work with Ruby on Rails, the famous MVC Ruby bases
- framework geared for web application development.
+ framework geared for web application development.
\ No newline at end of file
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 44758ea..816321f 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,5 @@
-require 'rspec/core/rake_task'
+require 'gem2deb/rake/spectask'
 
-RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern      = './spec/rspec/**/*_spec.rb'
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/rspec/**/*_spec.rb'
 end
-
-task :default => :spec
diff --git a/debian/rules b/debian/rules
index ff5d952..12c988d 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/watch b/debian/watch
index fed72f8..dd80b5d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
 version=3
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/rspec-rails-$1\.tar\.gz/ \
-  https://github.com/rspec/rspec-rails/tags .*/v?(\d\S*)\.tar\.gz
+https://github.com/rspec/rspec-rails/tags .*/v(.*).tar.gz

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



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