rpm-build/lib
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
al.c add disttag to struct availablePackage (like buildtime; affects rpm -U & interdep.c) 2019-02-26 23:19:50 +03:00
al.h al.c: removed extra arguments in alAllSatisfiesDepend 2009-10-04 12:44:38 +04:00
closeall.c build: Unconditionally nullify stdin for build scripts 2023-05-24 15:08:28 +03:00
cpio.c cpio.c: fixed the integer conversion involving cpio file size 2018-06-30 15:36:24 +03:00
cpio.h Added SELinux support 2010-08-24 16:59:07 +00:00
depends.c lib/depends.c: remark: There is no psp->problems->byDisttag. (TODO?) 2019-02-26 23:19:51 +03:00
depends.h add disttag to struct availablePackage (like buildtime; affects rpm -U & interdep.c) 2019-02-26 23:19:50 +03:00
formats.c headerNVR() replaced by the new header{NVRD,Name{,Version}}() in trivial cases 2019-02-26 23:16:13 +03:00
fs.c lib/fs.c (getFilesystemList): Drop "/mnt" support 2007-03-27 15:41:38 +00:00
fsm.c changed a few more vars int -> uint32_t/size_t 2018-06-26 12:42:44 +03:00
fsm.h Added SELinux support 2010-08-24 16:59:07 +00:00
header_internal.c lib/header_internal.c (headerGetLangs): Fix stupid X<=Y<=Z comparison 2009-09-24 11:36:29 +04:00
header_internal.h header.c: backported headerSetInstance() and headerGetInstance() from rpm.org 2010-08-22 02:16:02 +04:00
header.h header.h: shut up -Wextra warning 2011-01-03 09:52:38 +03:00
Makefile.am Disable build and install of unpackaged files 2017-01-14 13:42:53 +00:00
manifest.c rpmReadPackageManifest: Fix comments handling 2008-04-08 15:28:53 +00:00
manifest.h Initial revision 2002-03-25 20:16:26 +00:00
misc.c Change default %_tmppath value to %_tmpdir 2012-12-22 17:07:17 +00:00
misc.h transaction.c: revamped decideFileFate() akin to filecmp() 2009-03-09 20:11:22 +03:00
order.c removed ancient dependency loop whiteout mechanism (rpm.org) 2011-01-23 02:30:59 +03:00
package.c package.c (readPackageHeaders): use posix_fadvise(2) to disable readahead 2009-05-10 23:32:48 +04:00
poptI.c removed support for repackaging and rollbacks (rpm.org) 2011-09-23 02:47:36 +04:00
poptK.c sync with rpm4 branch: include local headers 2002-03-25 22:02:39 +00:00
poptQV.c removed --fileid query selector and Filemd5s rpmdb index (rpm.org) 2011-01-22 17:35:13 +03:00
problems.c s/relocateable/relocatable/ (jbj) 2009-03-08 20:12:18 +03:00
psm.c lib/psm.c: make runScript() print the disttag on errors 2019-02-26 23:19:51 +03:00
psm.h removed support for repackaging and rollbacks (rpm.org) 2011-09-23 02:47:36 +04:00
query.c headerNVR() replaced by the new header{NVRD,Name{,Version}}() in trivial cases 2019-02-26 23:16:13 +03:00
rpmchecksig.c sync with rpm4 branch: include local headers 2002-03-25 22:02:39 +00:00
rpmcli.h removed support for repackaging and rollbacks (rpm.org) 2011-09-23 02:47:36 +04:00
rpminstall.c headerNVR() replaced by the new header{NVRD,Name{,Version}}() in trivial cases 2019-02-26 23:16:13 +03:00
rpmlead.c sync with rpm4 branch: include local headers 2002-03-25 22:02:39 +00:00
rpmlead.h Include local headers. 2006-05-15 03:26:57 +04:00
rpmlib.h Backport packaging '%pretrans' Lua scriptlets 2022-10-11 08:05:12 +03:00
rpmlibprov.c Backport: Add support for dpkg-style sorting of tilde in version/release 2023-09-10 21:33:18 +03:00
rpmrc.c Add ppc64le support 2018-12-04 14:52:42 +03:00
set.c set.c: rewrite without nested functions 2015-05-21 18:08:21 +03:00
set.h set.c: minor cleanup and English fixes 2011-06-14 00:00:54 +04:00
signature.c signature.c: change file size fmt %d -> %zu 2018-06-26 12:42:44 +03:00
signature.h Include local headers. 2006-05-15 03:26:57 +04:00
stringbuf.c Initial revision 2002-03-25 20:16:26 +00:00
stringbuf.h Initial revision 2002-03-25 20:16:26 +00:00
transaction.c add disttag to struct availablePackage (like buildtime; affects rpm -U & interdep.c) 2019-02-26 23:19:50 +03:00
verify.c remark: we don't print the disttag 2019-02-26 23:19:51 +03:00