The alternative for --queryformat is "--qf" - not "-qf" as stated in the man page.
ALready fixed in recent 4.0.3 packages.
I updated now to the rpm packages from rawhide but my system crashed on the first try :-(( - "rpm --version" shows "RPM Version 4.0.3" but i get the man page from january (instead april) - "rpm -V rpm" only shows "missing /etc/rpm/macros.db1" How can i repair this without manually copying files?