I have a program that needs to be recompiled for every ubuntu version.
Currently I am packaging it using Ubuntu's PPA just for the current distribution.
Eventually, I have to provide packages for the previous ubuntu version.
I am not sure how to accomplish this.
How does the Ubuntu PPA build server works – does it just look at the distribution field in the most current changelog entry (in the debian/changelog file) to determine for what distribution the package should be build?
The debian specification allows to add multiple distributions into the distribution field. But this does not seam to help me.
Some ubuntu documents talk about encoding the distribution name into the version number (in the debian changelog file).
But how does this work in practice? A new version of the program is available, then what? Do I add for each distribution a new changelog entry and the PPA buildserver builds automatically for each distribution new packages after dput'ing it up? Or does the PPA buildserver just looks at the first changelog entry?