unspecified

python2-rpmUtils - python rpmUtils

Website: none
License: GPLv2+
Vendor: Koozali.org <http://www.koozali.org>
Description:
taken from yum with slightly adaptions in Makefile
Needed for eg. repoview, or for checking rpm-versions (taken from
https://stackoverflow.com/questions/3206319/how-do-i-compare-rpm-versions-in-python):

import rpmUtils.miscutils
>>> rpmUtils.miscutils.compareEVR(("foo", "3.7.4", "1"), ("foo", "3.7.4", "1"))
0
>>> rpmUtils.miscutils.compareEVR(("foo", "3.7.4", "1"), ("foo", "3.7.4a", "1"))
-1
>>> rpmUtils.miscutils.compareEVR(("foo", "3.7.4a", "1"), ("foo", "3.7.4", "1"))
1

Packages

python2-rpmUtils-0.1-2.el8.sme.noarch [44 KiB] Changelog by Jean-Philippe Pialasse (2024-12-05):
- SME 11 import

Listing created by Repoview-0.6.6-16.el8.sme