diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-01 16:23:38 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-01 16:23:38 +0000 |
commit | 2c66cc1be00103c7bd05cbf700d9246afd0a0917 (patch) | |
tree | 01a581a2965f45277d32759467cd23467d083776 | |
parent | 4eb2317f5cb1d8e9f27f7d1161d2fcd54c28d27f (diff) | |
download | rspamd-2c66cc1be00103c7bd05cbf700d9246afd0a0917.tar.gz rspamd-2c66cc1be00103c7bd05cbf700d9246afd0a0917.zip |
Another try to fix debug packages
-rw-r--r-- | debian/control | 9 | ||||
-rwxr-xr-x | debian/rules | 4 |
2 files changed, 5 insertions, 8 deletions
diff --git a/debian/control b/debian/control index 2c04049f5..0c2ac8905 100644 --- a/debian/control +++ b/debian/control @@ -1,6 +1,6 @@ Source: rspamd Section: mail -Priority: optional +Priority: extra Maintainer: Mikhail Gusarov <dottedmag@debian.org> Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), cmake, libevent-dev (>= 1.3), libglib2.0-dev (>= 2.16.0), libgmime-2.6-dev, libluajit-5.1-dev [amd64 armel armhf i386 kfreebsd-i386 mips mipsel powerpc powerpcspe] | liblua5.1-dev, libpcre3-dev, libssl-dev (>= 1.0), libcurl4-openssl-dev, libhiredis-dev (>= 0.11.0-4), libsqlite3-dev, libmagic-dev, perl, dh-systemd Standards-Version: 3.9.6 @@ -16,12 +16,9 @@ Description: Rapid spam filtering system with big amount of mail and can be easily extended with own filters written in lua. -Package: rspamd-debuginfo +Package: rspamd-dbg Architecture: any Section: debug -Priority: extra -Depends: - rspamd (= ${binary:Version}), - ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, rspamd (= ${binary:Version}) Description: debugging symbols for rspamd This package contains the debugging symbols for rspamd. diff --git a/debian/rules b/debian/rules index f96c3edb2..472e869a4 100755 --- a/debian/rules +++ b/debian/rules @@ -16,6 +16,7 @@ override_dh_auto_configure: -DINCLUDEDIR=/usr/include \ -DSYSTEMDDIR=/lib/systemd/system \ -DNO_SHARED=ON \ + -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \ -DDEBIAN_BUILD=1 \ -DINSTALL_EXAMPLES=ON \ -DFORCE_GMIME24=ON \ @@ -26,8 +27,7 @@ override_dh_makeshlibs: dh_makeshlibs -Xrspamd-actrie override_dh_strip: - dh_strip --dbg-package=rspamd-debuginfo - + dh_strip --dbg-package=rspamd-dbg override_dh_auto_clean: dh_auto_clean |