rpm-build/rpmdb
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
..
.lclintrc re-added .lclintrc and .cvsignore files from CVS 2002-03-25 20:27:37 +00:00
db3.c db3.c (db3close): removed dobule close code (rpm5.org, RH#138589) 2009-04-23 16:48:19 +04:00
dbconfig.c further removed RPMDBI_DEPENDS 2010-07-12 10:02:00 +04:00
fprint.c fprint.h: turned entry.dirName into flexible array 2009-06-13 08:56:04 +04:00
fprint.h fprint.h: turned entry.dirName into flexible array 2009-06-13 08:56:04 +04:00
hdrinline.h relocated hdrinline.h and header.c from lib to rpmdb 2005-10-15 14:12:36 +00:00
hdrNVR.c Introduce headerNVRD() 2019-01-10 23:20:03 +00:00
header.c header.c: changed RPM_INT32_TYPE fmt %d -> %u 2018-06-26 12:42:44 +03:00
jhash.h jhash.h, rpmhash.c: switch to Jenkins One-at-a-time hash 2009-03-26 11:19:01 +03:00
legacy.c Generate strict intersubpackage dependencies in [E:]V-R[:D] format 2019-01-10 23:20:03 +00:00
Makefile.am Disable build and install of unpackaged files 2017-01-14 13:42:53 +00:00
merge.c updated code to snapshot 2002-04-04 2002-04-05 08:04:32 +00:00
poptDB.c removed _noDirTokens (producing legacy filelist format) 2009-06-17 06:32:18 +04:00
rpmdb.c remark: we don't print the disttag 2019-02-26 23:19:51 +03:00
rpmdb.h Remove ancient, unused code to filter duplicates on rpmdb rebuild 2009-10-01 04:38:10 +04:00
rpmhash.c rpmhash.c (hashEqualityString): bare strcmp call 2009-03-26 11:20:50 +03:00
rpmhash.h jhash.h, rpmhash.c: switch to Jenkins One-at-a-time hash 2009-03-26 11:19:01 +03:00
rpmvercmp.c Backport: Add support for dpkg-style sorting of tilde in version/release 2023-09-10 21:33:18 +03:00
tagname.c further removed RPMDBI_DEPENDS 2010-07-12 10:02:00 +04:00