GPL-2.0-only licensed and maintained by Jens Petersen
This version can be pinned in stack with:rpm-nvr-0.1.1@sha256:8df7d76429a5c23e23eade0d294bfb412942f64a1481988f2577357501f4069a,3166

Module documentation for 0.1.1

Depends on 3 packages(full list with versions):
Used by 1 package in nightly-2022-01-24(full list with versions):

rpm-nvr

Currently this library provides some types for RPM NVRs: NV, NVR, NVRA, VerRel with read and display functions. There is also an ordering of VerRel based on rpm’s vercmp which is implemented as rpmVerCompare.

See the haddock documentation for more details.

rpm-nvr is distributed under the GPLv2+ license.

The testsuite includes testcases for comparing rpm versions from the main rpm project.

Changes

Revision history for rpm-nvr

0.1.1 (2021-11-02)

  • fix a critical bug in rpmVerCompare numeric comparison
  • reading NVRA now removes any directory prefix
  • NVR and VerRel are now records

0.1.0 (2021-06-06)

  • initial release with NV, NVR, NVRA, VerRel and rpmVerCompare