eliminating deb/rpm dependency on python-rpm

Matt Domsch Matt_Domsch at dell.com
Wed Dec 5 16:59:32 CST 2007


firmware-tools depends on python-rpm because the rpm.versionCompare()
function is called.  This function is provided under the LGPL v2.1 
by the rpm package in lib/rpmvercmp.c.  We _could_ either duplicate
the C code and add our own python binding to it, or could rewrite it
from scratch in python.  Either way, it would eliminate pulling in
python-rpm and its dependent packages (another few) for what is really
only ~100 lines of C code.

-Matt

-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux


More information about the firmware-tools-devel mailing list