I know I can use a distro-specific SPEC file by putting the repository name in the file name (e.g. myproject-1.0.0-openSUSE_11.2.spec). How can I do the same thing for Debian builds? Specifically, I want to have different changelog and DSC files for different Ubuntu versions. I tried the file name trick (e.g. myproject-xUbuntu_10.04.dsc), but it doesn’t seem to work for DEB builds.
Alternatively, is there a way to embed the distro name in the package version string (e.g. 1.0.0-lucid1)? That’s really the only difference between my various changelog and dsc files, anyway.
Thanks for the reply. It’s not clear to me how this can be used to replace the version strings in Debian changelogs and DSC files, though. Is there an example you can point me to?