]> source.dussan.org Git - rspamd.git/commitdiff
Another try to fix debug packages
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 1 Jan 2016 16:23:38 +0000 (16:23 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 1 Jan 2016 16:23:38 +0000 (16:23 +0000)
debian/control
debian/rules

index 2c04049f5837ee731483421c39ee33ad01eb5769..0c2ac8905529f3a282571e68285ec3307bb89728 100644 (file)
@@ -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.
index f96c3edb2da175ef75d3f2f74b3accfca7e8d2d3..472e869a4b4e2aed39f722dd74ffa72414611b30 100755 (executable)
@@ -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