Ticket #56 (new enhancement)

Opened 1 year ago

Last modified 1 month 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

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
0001.diff (1.7 kB) - added by jengelh on 07/27/10 11:28:54.
patch for rpm-4.8
0002.diff (1.1 kB) - added by jengelh on 07/27/10 11:29:10.
patch for rpmbuild-4.8

Change History

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

  • cc set to stick.

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

07/27/10 11:28:54 changed by jengelh

  • attachment 0001.diff added.

patch for rpm-4.8

07/27/10 11:29:10 changed by jengelh

  • attachment 0002.diff added.

patch for rpmbuild-4.8

07/27/10 11:29:30 changed by jengelh

git location rebased.