Ah, I've been waiting to get rid of this hackery for years ...
WHEREAS:
RPMTAG_NVRA is now a proper index containing a (configurable, which will
break if used, getting there ..) package N-V-R.A identifier ...
AND FURTHERMORE:
... since the RPMDBI_LABEL iterator iterates over
RPMTAG_NVRA with patterns for all access including --query/--verify/--erase ...
THEREFORE:
... there is no further need to support "rpm -q N.A".
INSTEAD:
rpm -q '^N.*.A$'
R.I.P. Wotta hack ... there's another sick hack that's
gonna hit the bit bucket in the next 48 hours too...
Yippie!
73 de Jeff
Received on Mon Dec 7 18:09:30 2009