[DRE-commits] [ruby-mail] 03/04: Update packaging with a new dh-make-ruby run

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Jul 15 01:50:57 UTC 2016


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

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

commit 76e5fe03c636c05721fbd525d9e5ff08bb21fee2
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Jul 14 22:37:21 2016 -0300

    Update packaging with a new dh-make-ruby run
---
 debian/changelog       | 1 +
 debian/control         | 7 ++++---
 debian/ruby-tests.rake | 5 +++++
 debian/ruby-tests.rb   | 8 --------
 4 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3ff5dd2..305eaf4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ ruby-mail (2.6.4+dfsg1-1) UNRELEASED; urgency=medium
 
   [ Antonio Terceiro ]
   * Imported Upstream version 2.6.4+dfsg1
+  * Update packaging with a new dh-make-ruby run
 
  -- Cédric Boutillier <boutil at moszumanska.debian.org>  Thu, 14 Jul 2016 22:35:53 -0300
 
diff --git a/debian/control b/debian/control
index e90c219..cc5da42 100644
--- a/debian/control
+++ b/debian/control
@@ -6,10 +6,11 @@ Uploaders: Carl Worth <cworth at debian.org>,
            Caitlin Matos <caitlin.matos at zoho.com>
 Build-Depends: debhelper (>= 9~),
                gem2deb,
-               ruby-mime-types (<< 3),
+               rake,
+               ruby-mime-types (<< 4),
                ruby-mime-types (>= 1.16),
                ruby-rspec
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-mail.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-mail.git
 Homepage: https://github.com/mikel/mail
@@ -20,7 +21,7 @@ Package: ruby-mail
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
-         ruby-mime-types (<< 3),
+         ruby-mime-types (<< 4),
          ruby-mime-types (>= 1.16),
          ${misc:Depends},
          ${shlibs:Depends}
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..cf1591e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/spectask'
+
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 419c131..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-if RUBY_VERSION =~ /1.9/
-  Encoding.default_external = Encoding::UTF_8
-end
-
-$LOAD_PATH << 'spec'
-
-require 'rspec/autorun'
-Dir['{spec}/**/*.rb'].each { |f| require f }

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



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