Ticket #56 (new enhancement)

Opened 11 months ago

Last modified 4 months ago

RFE: Handle '~' in version/release to lower priority in rpmVersionCompare()

Reported by: ensc Assigned to: pmatilai
Priority: major Milestone:
Component: rpm Version: RPM Development
Keywords: Cc: stick

Description

It would be nice when a special handling of '~' would be introduced to mark "negative" version tokens. E.g. so that

| foo-1.0~beta < foo-1.0

holds. This would simplify complicated rulesets which deal with such naming schemes by abusing %release for it.

Attachments

0001.diff (1.7 kB) - added by jengelh on 09/25/09 09:17:36.
patch to rpm 4.7-git
rpm-tilde-support.diff (1.7 kB) - added by jengelh on 11/09/09 14:52:46.
4.7 rpm tilde patch for vercmp
rpmbuild-tilde-support.diff (1.1 kB) - added by jengelh on 11/09/09 14:53:04.
4.7 patch for rpmbuild

Change History

09/18/09 12:19:26 changed by stick

  • cc set to stick.

09/25/09 09:17:36 changed by jengelh

  • attachment 0001.diff added.

patch to rpm 4.7-git

09/25/09 09:21:00 changed by jengelh

Also pullable via

git://dev.medozas.de/rpm master

11/09/09 14:16:03 changed by jengelh

The patch 0001.diff was actually for 4.4.2, because someone had the bright idea of making the master branch 4.4.2 instead of 4.7. Adding new ones.

11/09/09 14:52:46 changed by jengelh

  • attachment rpm-tilde-support.diff added.

4.7 rpm tilde patch for vercmp

11/09/09 14:53:04 changed by jengelh

  • attachment rpmbuild-tilde-support.diff added.

4.7 patch for rpmbuild