RPM package name-version-release data types


Version on this page:0.1.1
LTS Haskell 22.23:0.1.2
Stackage Nightly 2024-05-29:0.1.2
Latest on Hackage:0.1.2

See all snapshots rpm-nvr appears in

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):


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.


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