[DRE-commits] [ruby-rmagick] 02/03: use dpkg-dev to export build flags

Cédric Boutillier boutil at moszumanska.debian.org
Fri Apr 18 12:54:32 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-rmagick.

commit e23f9b83c6486cfda49451d9ecb4ba6d8d62da83
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Jan 31 08:07:32 2014 +0100

    use dpkg-dev to export build flags
---
 debian/changelog | 6 +++++-
 debian/compat    | 2 +-
 debian/control   | 4 ++--
 debian/rules     | 3 +++
 4 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f5ccb89..1619c9a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,11 @@ ruby-rmagick (2.13.2-3) unstable; urgency=medium
   * Team upload
   * deactivate temporarily fail-on-doc-failure.patch, to allow as much errors
     as upstream when building the documentation and let the package build
-    on i386 (Closes: #733723).   
+    on i386 (Closes: #733723).
+  * use dpkg-dev to export buildflags
+    + bump dh compatibility to 9
+    + build-depend on dpkg-dev
+    + export flags in debian/rules
 
  -- Cédric Boutillier <boutil at debian.org>  Fri, 31 Jan 2014 07:16:52 +0100
 
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 1b888ba..4a41021 100644
--- a/debian/control
+++ b/debian/control
@@ -3,9 +3,9 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Antonio Terceiro <terceiro at softwarelivre.org>, Gunnar Wolf <gwolf at debian.org>, Vincent Fourmond <fourmond at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), 
+Build-Depends: debhelper (>= 9~), gem2deb (>= 0.3.0~), 
                libmagickcore-dev (>= 7:6.6.0.4-2~), libwmf-bin, 
-               ghostscript, gsfonts, libmagickwand-dev
+               ghostscript, gsfonts, libmagickwand-dev, dpkg-dev (>= 1.16.1~)
 Standards-Version: 3.9.5
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rmagick.git
 Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-rmagick.git;a=summary
diff --git a/debian/rules b/debian/rules
index 38f1f63..5d5f444 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,9 @@
 # If you need to specify the .gemspec (eg there is more than one)
 #export DH_RUBY_GEMSPEC=gem.gemspec
 
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 %:
 	dh $@ --buildsystem=rubysetuprb --with ruby
 

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



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