[DRE-commits] [ruby-omniauth-ldap] 01/07: refresh packaging

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Oct 5 07:48:32 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-omniauth-ldap.

commit 51aa9fef163e45e35c0029b8bdf9b426441360ce
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Oct 5 11:02:39 2015 +0530

    refresh packaging
---
 debian/changelog       |  7 +++++++
 debian/compat          |  2 +-
 debian/control         | 32 +++++++++++++++++---------------
 debian/ruby-tests.rake |  8 +++-----
 debian/rules           |  8 ++++++--
 5 files changed, 34 insertions(+), 23 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6130ac9..40604d4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-omniauth-ldap (1.0.4-2) UNRELEASED; urgency=medium
+
+  * Refresh packaging with dh-make-ruby -w
+  * Check gemspec dependencies during build
+
+ -- Pirate Praveen <praveen at debian.org>  Mon, 05 Oct 2015 11:01:35 +0530
+
 ruby-omniauth-ldap (1.0.4-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 4cba6d5..d8bd4c1 100644
--- a/debian/control
+++ b/debian/control
@@ -3,29 +3,31 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Pirate Praveen <praveen at debian.org>
-Build-Depends: debhelper (>= 7.0.50~),
-	       gem2deb (>= 0.3.0~),
-	       ruby-omniauth (>= 1.0),
-	       ruby-net-ldap (>= 0.2.2),
-	       ruby-sasl (>= 0.0.3.1),
-	       ruby-ntlm (>= 0.1.1),
-	       ruby-rspec,
-	       ruby-rack-test
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake,
+               ruby-net-ldap (>= 0.3.1),
+               ruby-omniauth (>= 1.0),
+               ruby-pyu-ruby-sasl (>= 0.0.3.1),
+               ruby-rspec,
+               ruby-rubyntlm (>= 0.1.1)
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-omniauth-ldap.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-omniauth-ldap.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-omniauth-ldap.git
 Homepage: https://github.com/intridea/omniauth-ldap
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-omniauth-ldap
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends},
-	 ruby | ruby-interpreter,
-	 ruby-omniauth (>= 1.0),
-	 ruby-net-ldap (>= 0.2.2),
-	 ruby-sasl (>= 0.0.3.1),
-	 ruby-ntlm (>= 0.1.1)
+Depends: ruby | ruby-interpreter,
+         ruby-net-ldap (>= 0.3.1),
+         ruby-omniauth (>= 1.0),
+         ruby-pyu-ruby-sasl (>= 0.0.3.1),
+         ruby-rubyntlm (>= 0.1.1),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: LDAP strategy for Ruby OmniAuth library
  OmniAuth is a Ruby library that standardizes multi-provider
  authentication for web applications. It was created to be powerful,
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 89a753d..cf1591e 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/**/*_spec.rb'
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
 end
-
-task :default => :spec
diff --git a/debian/rules b/debian/rules
index 13e6fdf..b5052b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,13 +2,17 @@
 #export DH_VERBOSE=1
 #
 # Uncomment to ignore all test failures (but the tests will run anyway)
-export DH_RUBY_IGNORE_TESTS=ruby1.8
+#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
+#export DH_RUBY_IGNORE_TESTS=ruby2.1 ruby2.2
 #
 # If you need to specify the .gemspec (eg there is more than one)
 #export DH_RUBY_GEMSPEC=gem.gemspec
+#
+# Uncomment to check dependencies during build:
+export GEM2DEB_TEST_RUNNER = --check-dependencies
 
 %:
 	dh $@ --buildsystem=ruby --with ruby

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



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