rpm-nvr

The library provides types related to RPM package name-version-releases. There are modules for reading and showing: NV (name-version) NVR (name-version-release) NVRA (name-version-release.arch) VerRel (version-release) VerCmp for comparing RPM versions or releases (used to order VerRel).


Keywords
gpl, Propose Tags , Skip to Readme, , Index, Quick Jump, Data.RPM, Data.RPM.NV, Data.RPM.NVR, Data.RPM.NVRA, Data.RPM.VerCmp, Data.RPM.VerRel, rpm-nvr-0.1.2.tar.gz, browse, Package description, package maintainers, edit package information , 0.1.0, 0.1.1, 0.1.2
License
GPL-2.0-only
Install
cabal install rpm-nvr-0.1.2

Documentation

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.