From: Vsevolod Stakhov Date: Sat, 18 Feb 2023 19:19:05 +0000 (+0000) Subject: [Minor] Further debian packages fixes X-Git-Tag: 3.5~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f0d146b19db2d60b512855e8999dc2bcab22734;p=thirdparty%2Frspamd.git [Minor] Further debian packages fixes --- diff --git a/debian/compat b/debian/compat index ec635144f6..f599e28b8a 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -9 +10 diff --git a/debian/rules b/debian/rules index ce3ebf4880..d12924d227 100755 --- a/debian/rules +++ b/debian/rules @@ -68,9 +68,9 @@ build_%: override_dh_strip: $(patsubst %,strip_%,$(FLAVORS)) strip_%: if [ "$*" = "asan" ]; then \ - dh_strip --dbg-package=rspamd-dbg-asan ; \ + dh_strip -prspamd-asan --dbg-package=rspamd-dbg-asan ; \ else \ - dh_strip --dbg-package=rspamd-dbg ; \ + dh_strip -prspamd --dbg-package=rspamd-dbg ; \ fi override_dh_makeshlibs: @@ -80,8 +80,16 @@ override_dh_auto_install: $(patsubst %,install_%,$(FLAVORS)) install_%: if [ "$*" = "asan" ]; then \ cd $(builddir)$* && make install DESTDIR=../../../debian/rspamd-asan ; \ + cd ../../../debian/rspamd-asan && mkdir -p var/lib/rspamd \ + var/log/rspamd \ + etc/rspamd/local.d \ + etc/rspamd/override.d ; \ else \ cd $(builddir)$* && make install DESTDIR=../../../debian/rspamd ; \ + cd ../../../debian/rspamd && mkdir -p var/lib/rspamd \ + var/log/rspamd \ + etc/rspamd/local.d \ + etc/rspamd/override.d ; \ fi override_dh_fixperms: