I'm building debian and ubuntu packages on build.opensuse.org, and I have a problem.

The thing is, if the source tarball contains a "debian" directory, the build fails with
dh_testdir: debian/control has a duplicate entry for gsmartcontrol
make: *** [clean] Error 1

If there's no "debian" directory in the source tarball, everything builds just fine.
There are no duplicate entries in any of the control files.

You can check my OBS project at
(Novell login required).

The files in question are - gsmartcontrol-0.8.1.tar.bz2 (no debian directory), gsmartcontrol-0.8.2.tar.bz2 (contains debian directory).