while packaging I encountered following error
dh_builddeb
dpkg-deb: building package `remotedevicecontroller' in `../remotedevicecontroller_1.0-1_i386.deb'.
dpkg-source -b remotedevicecontroller-1.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: error: unwanted binary file: debian/remotedevicecontroller/usr/share/doc/remotedevicecontroller/changelog.Debian.gz
dpkg-source: error: detected 1 unwanted binary file (add it in debian/source/include-binaries to allow its inclusion).
dpkg-buildpackage: error: dpkg-source -b remotedevicecontroller-1.0 gave error exit status 29
why is the file being created by debian-helper and why is it again asking to include it in some other directory?
Seems that the build wasn't clean, or you included more options that weren't by default. The changelog.Debian.gz is a gzip compressed list of the change made to the source package done by the Debian maintainer. You can either delete/prevent the generation of the file, or add the path to
debian/source/include-binaries
: