Comment 4 for bug 1004776

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Uploaded.

As you're an uploader in Debian, what's the chance of using dpkg-vendor to generate this at build time so we don't have to keep merging this?

Something like, in debian/rules:

ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
 DEB_DH_GENCONTROL_ARGS_ALL = -- -Vdist:Recommends="qemu-kvm-spice"
else
 DEB_DH_GENCONTROL_ARGS_ALL = -- -Vdist:Recommends="qemu-kvm"
endif

And in debian/control{.in}:

Recommends: ${dist:Recommends}

Thanks!