On Wed, Sep 28, 2016 at 09:05:13PM +0200, Igor Gnatenko wrote:
You do rsplit() by the '-'. Right part is R.A. you remove
arch and get
release.
Ah got it, because the release field can't contain a '-'.
What exactly you want to do? RPM and DNF have proper --queryformat.
I don't have the RPM around. Need the name in order to query koji for
the latest-pkg then download it.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html