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

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Sep 5 12:42:46 UTC 2015


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

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

commit b26f7fe5a1378df7e5402c0fb70cbfbc7066b2fc
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Sep 5 09:36:54 2015 -0300

    Update packaging with a new dh-make-ruby run
---
 debian/changelog       |  5 +++++
 debian/compat          |  2 +-
 debian/control         | 19 ++++++++++++++-----
 debian/ruby-magic.docs |  1 -
 debian/rules           | 21 ++-------------------
 5 files changed, 22 insertions(+), 26 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f870e24..e349af9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
 ruby-magic (0.2.9-1) unstable; urgency=medium
 
+  [ Thiago Ribeiro ]
   * Team upload
   * New upstream release
 
+  [ Antonio Terceiro ]
+  * Update packaging with a new dh-make-ruby run
+    - drop documentation from the binary package
+
  -- Thiago Ribeiro <thiagitosouza at gmail.com>  Mon, 17 Aug 2015 13:30:25 -0300
 
 ruby-magic (0.2.8-1) unstable; urgency=medium
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 c90c7ef..b10ecbf 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,26 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Dmitry Borodaenko <angdraug at debian.org>, Antonio Terceiro <terceiro at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.8~), ruby-ffi, libmagic1, ruby-test-declarative
-Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               libmagic1,
+               ruby-ffi (>= 0.6.3),
+               ruby-test-declarative
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-magic.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-magic.git;a=summary
-Homepage: http://jah.pl/projects/magic.html
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-magic.git
+Homepage: https://github.com/qoobaa/magic
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-magic
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-ffi, libmagic1
+Depends: ruby | ruby-interpreter,
+         ruby-ffi (>= 0.6.3),
+         libmagic1,
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: Ruby FFI bindings to libmagic
  This package provides a Ruby FFI wrapper to the "magic" library that
  determines content type and encoding of files and strings. The library does
diff --git a/debian/ruby-magic.docs b/debian/ruby-magic.docs
index 6d29741..e475c53 100644
--- a/debian/ruby-magic.docs
+++ b/debian/ruby-magic.docs
@@ -1,2 +1 @@
 README.rdoc
-rdoc
diff --git a/debian/rules b/debian/rules
index b459aef..3454d59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +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
-
-override_dh_installdocs:
-	rdoc --inline-source --op rdoc --main Magic lib
-	dh_installdocs
-
-override_dh_clean:
-	rm -rf rdoc
-	dh_clean

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



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