On Tue, Apr 14, 2020 at 03:14:59PM +0200, Miro Hrončok wrote: > On 14. 04. 20 15:04, Nils Philippsen wrote: > > > Or even running `rpmdev-vercmp` and `rpm --eval` with subprocess: > > I'd rather not pull in rpmdevtools -- which depends on Perl and a > > couple 3rd party Perl packages.;) > > Out of the frying pan and into the fire. Sorry, I forgot that rpmdev-vercmp > is not part of rpm. > I don't know what specific features of rpmdev-vercmp tool you need, but version comparison is implemented in rpmvercmp() function of rpm library. I even have a tiny Perl wrapper, perl-RPM-VersionCompare, for that :) -- Petr
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx