From 2dff8bb1e704a344a4e5bec8c14dbd8b06b851c6 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 30 May 2011 20:12:57 -0400 Subject: [PATCH] Add libyaml-0-2-dbg package with debugging symbols --- debian/changelog | 2 ++ debian/control | 17 ++++++++++++++++- debian/control.in | 12 ++++++++++++ debian/rules | 1 + 4 files changed, 31 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 0720883..0f65ffd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ libyaml (0.1.4-1) UNRELEASED; urgency=low simple key. + Added pkg-config support. (Closes: #537834) * Remove unneded libyaml.la file. (Closes: #622452) + * Add libyaml-0-2-dbg package with debugging symbols. + (Closes: #592747) -- Anders Kaseorg Mon, 30 May 2011 19:52:27 -0400 diff --git a/debian/control b/debian/control index 0201214..5f0deab 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,10 @@ Source: libyaml Section: libs Priority: optional Maintainer: Anders Kaseorg -Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 5) +Build-Depends: cdbs, + autotools-dev, + debhelper, + dh-buildinfo Standards-Version: 3.8.3 Homepage: http://pyyaml.org/wiki/LibYAML Vcs-Git: git://andersk.mit.edu/libyaml.git @@ -15,6 +18,18 @@ Description: Fast YAML 1.1 parser and emitter library LibYAML is a C library for parsing and emitting data in YAML 1.1, a human-readable data serialization format. +Package: libyaml-0-2-dbg +Section: debug +Priority: extra +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libyaml-0-2 (= ${binary:Version}) +Description: Fast YAML 1.1 parser and emitter library (debugging symbols) + LibYAML is a C library for parsing and emitting data in YAML 1.1, a + human-readable data serialization format. + . + This package contains detached debuging symbols for the library found + in libyaml-0-2. + Package: libyaml-dev Section: libdevel Architecture: any diff --git a/debian/control.in b/debian/control.in index dbc730b..b9dee19 100644 --- a/debian/control.in +++ b/debian/control.in @@ -15,6 +15,18 @@ Description: Fast YAML 1.1 parser and emitter library LibYAML is a C library for parsing and emitting data in YAML 1.1, a human-readable data serialization format. +Package: libyaml-0-2-dbg +Section: debug +Priority: extra +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libyaml-0-2 (= ${binary:Version}) +Description: Fast YAML 1.1 parser and emitter library (debugging symbols) + LibYAML is a C library for parsing and emitting data in YAML 1.1, a + human-readable data serialization format. + . + This package contains detached debuging symbols for the library found + in libyaml-0-2. + Package: libyaml-dev Section: libdevel Architecture: any diff --git a/debian/rules b/debian/rules index 8bc7da7..372ea37 100755 --- a/debian/rules +++ b/debian/rules @@ -4,3 +4,4 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk DEB_DH_INSTALL_SOURCEDIR = $(DEB_DESTDIR) +DEB_DH_STRIP_ARGS = --dbg-package=libyaml-0-2-dbg -- 2.45.1