-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Roger Leigh <[EMAIL PROTECTED]> writes:
> I believe that post-sarge it's possible to use '~' in version numbers? > > When 5.0.0 comes out, I don't want the -beta and -pre releases to sort > higher than it, and I'd rather not resort to extra ugliness in the > version number. What would you recommend as the correct version > numbers to use in the changelog for a smooth upgrade? Are there any > examples? Thanks for all the ideas and examples, folks. I went with Goswin's suggstion, which I like the most. Unfortunately, lintian doesn't like my packages: [...] dpkg-deb: building package `gimp-print' in `../gimp-print_5.0.0~beta3-1_i386.deb'. dpkg-deb: building package `cupsys-driver-gutenprint' in `../cupsys-driver-gutenprint_5.0.0~beta3-1_i386.deb'. dpkg-deb: building package `libgutenprint-5.0.0-beta3-dev' in `../libgutenprint-5.0.0-beta3-dev_5.0.0~beta3-1_i386.deb'. dpkg-deb: building package `libgutenprint-5.0.0-beta3' in `../libgutenprint-5.0.0-beta3_5.0.0~beta3-1_i386.deb'. dpkg-deb: building package `libgutenprintui2-5.0.0-beta3-dev' in `../libgutenprintui2-5.0.0-beta3-dev_5.0.0~beta3-1_i386.deb'. dpkg-deb: building package `libgutenprintui2-5.0.0-beta3' in `../libgutenprintui2-5.0.0-beta3_5.0.0~beta3-1_i386.deb'. dpkg-deb: building package `escputil' in `../escputil_5.0.0~beta3-1_i386.deb'. dpkg-deb: building package `ijsgutenprint' in `../ijsgutenprint_5.0.0~beta3-1_i386.deb'. dpkg-genchanges -mRoger Leigh <[EMAIL PROTECTED]> dpkg-genchanges: including full source code in upload dpkg-buildpackage: full upload (original source is included) Now running lintian... E: gutenprint source: bad-version-number 5.0.0~beta3-1 E: libgutenprintui2-5.0.0-beta3-dev: bad-version-number 5.0.0~beta3-1 E: libgutenprintui2-5.0.0-beta3-dev: bad-version-in-relation depends: libgutenprintui-5.0.0-beta3 (= 5.0.0~beta3-1) E: libgutenprintui2-5.0.0-beta3-dev: bad-version-in-relation suggests: libgutenprint-5.0.0-beta3-doc (= 5.0.0~beta3-1) E: libgutenprintui2-5.0.0-beta3: bad-version-number 5.0.0~beta3-1 E: libgutenprintui2-5.0.0-beta3: bad-version-in-relation depends: libgutenprint-5.0.0-beta3 (>= 5.0.0~beta3) E: libgutenprintui2-5.0.0-beta3: bad-version-in-relation recommends: gutenprint-locales (>= 5.0.0~beta3-1) E: libgutenprint-5.0.0-beta3-doc: bad-version-number 5.0.0~beta3-1 E: libgutenprint-5.0.0-beta3-doc: bad-version-in-relation suggests: libgutenprint-5.0.0-beta3-dev (= 5.0.0~beta3-1) E: escputil: bad-version-number 5.0.0~beta3-1 E: escputil: bad-version-in-relation depends: libgutenprint-5.0.0-beta3 (>= 5.0.0~beta3) E: escputil: bad-version-in-relation suggests: gutenprint-locales (>= 5.0.0~beta3-1) [...] This is my version number: $ head -n 1 debian/changelog gutenprint (5.0.0~beta3-1) unstable; urgency=low The release was called gutenprint-5.0.0-beta3.tar.gz and unpacks into the same. I unpacked it, renamed to gutenprint-5.0.0~beta3 and repacked as gutenprint_5.0.0~beta3.orig.tar.gz. Is any of this wrong, or is lintian in error? Are there any real examples of '~' in use yet? Many thanks, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ Debian GNU/Linux http://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFCC7zJVcFcaSW/uEgRAgz3AJ9DAqP8hxUvYjBCKMj14qiJOXVoNwCfe0su tfJMeGRzzzwZrMXX5nbUPQc= =jRDz -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]