Vitaly Chikunov 785ae7a9a2 Backport: Add support for dpkg-style sorting of tilde in version/release
Original commit message:

- This allows much nicer handling some common scenarios such as
  upstream pre-releases where the pre-release version would normally
  appear newer than final release, eg 1.0-rc1 vs 1.0. Previously this
  required mapping the pre-release tag into the release tag to achieve
  desired sorting, with tilde this becomes simply 1.0~rc1 < 1.0.
- Add a rpmlib() tracking dependency to prevent older rpm versions
  from getting confused with packages relying on the new behavior.

Picked: db28221a4a ("Add support for dpkg-style sorting of tilde in version/release")
Authored-by: Michael Schroeder <mls@suse.de>
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Picked: 8002b3f985 ("Spelling fixes.")
Authored-by: Ville Skyttä <ville.skytta@iki.fi>
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Link: https://bugzilla.altlinux.org/46585
[ vt: Change to parseRCPOT is not applied because no rpmCharCheck call.
  Unsupported RPM tags (ORDERVERSION, SUGGESTSVERSION, ENHANCESVERSION)
  are removed. haveTildeDep is reworked because we don't have headerGet
  API. ]
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
2023-09-10 21:33:18 +03:00
..
2010-08-24 16:59:07 +00:00
2010-08-24 16:59:07 +00:00
2011-01-03 09:52:38 +03:00
2002-03-25 20:16:26 +00:00
2009-03-08 20:12:18 +03:00
2006-05-15 03:26:57 +04:00
2018-12-04 14:52:42 +03:00
2015-05-21 18:08:21 +03:00
2011-06-14 00:00:54 +04:00
2006-05-15 03:26:57 +04:00
2002-03-25 20:16:26 +00:00
2002-03-25 20:16:26 +00:00
2019-02-26 23:19:51 +03:00