Displaying 1 result from an estimated 1 matches for "ch16s05".
2009 Jun 26
0
RPM python subroutine for (epoch, version, release) comparation?
Hi, all,
?
?On Centos 5 I am programming RPM with python recently. ?When I read the online RPM python programming guide at http://docs.fedoraproject.org/drafts/rpm-guide-en/ch16s05.html, I got confused at the EVR() function as the function returns the (epoch, version, release) as a string ?%epoch-%version-%release?, and so the RPM ?comparing process is simplified as string comparing ? which doesn?t look correct, am I wrong? See the code from the page:
?
----------------------...