rpm-nvr-0.1.2: RPM package name-version-release data types
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.RPM.VerCmp

Description

Compare versions or releases using rpm's vercmp algorithm

Synopsis

Documentation

rpmVerCompare :: String -> String -> Ordering Source #

Compare two version numbers and return an Ordering.

Native implementation of rpm's C vercmp