Dimitri Fontaine [2009-12-28 16:22 +0100]: > I proposed a solution and I'm willing to spend effort on it, as soon as > Martin Pitt says it's something he wants to see happen. > > > http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/2009-December/000490.html
I think what you have in mind is already there. Calling /usr/share/postgresql-common/supported-versions will print out a list of major versions which are supported on the current release (Debian/Ubuntu). I maintain that to provide correct debconf obsoletion messages on upgrades, but it will work just as well as a build dependency and in debian/rules. Then you don't need to change debian/rules any more, and just need to change the build dependencies and binary package names in debian/control if the set of supported versions changes. Please note that there is deliberately not a versionless p-server-dev package (similar to the "postgresql" and "postgresql-client" metapackages). If that would just change from 8.3 to 8.4 silently, this would break buildability of all extension packages, since often they need to be adapted to work with the new version (if nothing else, then you at least need to update the package names from e. g. -8.3 to -8.4). Does that provide what you need? Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

