[DRE-commits] [ruby-xmlhash] 02/03: Added -dbg package.
Andrew Lee
ajqlee at moszumanska.debian.org
Tue Dec 29 16:40:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
ajqlee pushed a commit to branch master
in repository ruby-xmlhash.
commit 70eab2fb854caa0b9666e8465615d3a4e0d2c4b8
Author: Andrew Lee (李健秋) <andrew.lee at collabora.co.uk>
Date: Wed Dec 30 00:35:41 2015 +0800
Added -dbg package.
---
debian/control | 15 ++++++++++++---
debian/rules | 2 ++
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index ab70487..75ab2fa 100644
--- a/debian/control
+++ b/debian/control
@@ -14,8 +14,17 @@ XS-Ruby-Versions: all
Package: ruby-xmlhash
Architecture: any
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter,
ruby-pkg-config, rake-compiler, ruby-hoe
Description: parse a XML string into a ruby hash
- A small C module that wraps libxml2's xmlreader to parse a XML
- string into a ruby hash.
+ Ruby-xmlhash is a small C module that wraps libxml2's xmlreader to
+ parse a XML string into a ruby hash.
+
+Package: ruby-xmlhash-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ruby-xmlhash (= ${binary:Version}), ${misc:Depends}
+Description: parse a XML string into a ruby hash (debug symbols)
+ Ruby-xmlhash is a small C module that wraps libxml2's xmlreader to
+ parse a XML string into a ruby hash.
diff --git a/debian/rules b/debian/rules
index 06a2df5..0fd6162 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,5 @@
override_dh_installchangelogs:
dh_installchangelogs History.txt -O--buildsystem=ruby
+override_dh_strip:
+ dh_strip --dbg-package=ruby-xmlhash-dbg
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-xmlhash.git
More information about the Pkg-ruby-extras-commits
mailing list