From 4eb2317f5cb1d8e9f27f7d1161d2fcd54c28d27f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 31 Dec 2015 18:04:17 +0000 Subject: [PATCH] Add debuginfo package --- debian/control | 10 ++++++++++ debian/rules | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/debian/control b/debian/control index 87ecde50a..2c04049f5 100644 --- a/debian/control +++ b/debian/control @@ -15,3 +15,13 @@ Description: Rapid spam filtering system Rspamd is a rapid, modular and lightweight spam filter. It is designed to work with big amount of mail and can be easily extended with own filters written in lua. + +Package: rspamd-debuginfo +Architecture: any +Section: debug +Priority: extra +Depends: + rspamd (= ${binary:Version}), + ${misc:Depends} +Description: debugging symbols for rspamd + This package contains the debugging symbols for rspamd. diff --git a/debian/rules b/debian/rules index 9205b5a55..f96c3edb2 100755 --- a/debian/rules +++ b/debian/rules @@ -25,6 +25,10 @@ override_dh_auto_configure: override_dh_makeshlibs: dh_makeshlibs -Xrspamd-actrie +override_dh_strip: + dh_strip --dbg-package=rspamd-debuginfo + + override_dh_auto_clean: dh_auto_clean rm -f src/modules.c -- 2.39.5