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

Module documentation for 0.1.2

Depends on 3 packages(full list with versions):
Used by 1 package in lts-21.7(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.2 (2022-05-10)

  • tighten NVR and NVRA string validation to prevent empty names

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