Package: qmail
Version: 1.03-48
Severity: normal
Package FTBFS due to root usage in debian/rules
patch to fix the issue is attached
--- qmail-1.03/debian/rules
+++ qmail-1.03/debian/rules
@@ -7,7 +7,7 @@
PKG_UPVER = $(shell perl -e 'print <> =~ /\((.*)-[^-]*\)/' debian/changelog)
INSTALL = '/usr/bin/install'
-build: binary-src
+build:
touch build
buildbinary: checkdir
@@ -34,8 +34,7 @@
-rm -rf debian/tmp debian/tmp-src
find . \( -name '#*#' -o -name '*~' -o -name DEADJOE -o -name '*.orig'
-o -name '*.rej' -o -name '*.bak' -o -name '.*.orig' -o -name '.*.rej' -o -name
.SUMS -o -name TAGS -o -name core \) -exec rm -f {} \;
-binary-indep: checkroot build
- #nothing to be done
+binary-indep: checkroot build binary-src
binary-arch: checkroot buildbinary
-rm -rf debian/substvars debian/tmp